此内容没有您所选择的语言版本。

30.4. Components for internationalization and themes


These components make it easy to build internationalized user interfaces using Seam.
org.jboss.seam.core.locale
The Seam locale.
org.jboss.seam.international.timezone
The Seam timezone. The timezone is session-scoped.
org.jboss.seam.core.resourceBundle
The Seam resource bundle. The resource bundle is stateless. The Seam resource bundle performs a depth-first search for keys in a list of Java resource bundles.
org.jboss.seam.core.resourceLoader
The resource loader provides access to application resources and resource bundles.
  • resourceLoader.bundleNames — the names of the Java resource bundles to search when the Seam resource bundle is used. Default to messages.
org.jboss.seam.international.localeSelector
Supports selection of the locale either at configuration time, or by the user at runtime.
  • select() — selects the specified locale.
  • localeSelector.locale — the actual java.util.Locale.
  • localeSelector.localeString — the string representation of the locale.
  • localeSelector.language — the language for the specified locale.
  • localeSelector.country — the country for the specified locale.
  • localeSelector.variant — the variant for the specified locale.
  • localeSelector.supportedLocales — a list of SelectItems representing the supported locales listed in jsf-config.xml.
  • localeSelector.cookieEnabled — specifies that the locale selection should be persisted via a cookie.
org.jboss.seam.international.timezoneSelector
Supports selection of the timezone either at configuration time, or by the user at runtime.
  • select() — selects the specified locale.
  • timezoneSelector.timezone — the actual java.util.TimeZone.
  • timezoneSelector.timeZoneId — the string representation of the timezone.
  • timezoneSelector.cookieEnabled — specifies that the timezone selection should be persisted via a cookie.
org.jboss.seam.international.messages
A map containing internationalized messages rendered from message templates defined in the Seam resource bundle.
org.jboss.seam.theme.themeSelector
Supports selection of the theme either at configuration time, or by the user at runtime.
  • select() — select the specified theme.
  • theme.availableThemes — the list of defined themes.
  • themeSelector.theme — the selected theme.
  • themeSelector.themes — a list of SelectItems representing the defined themes.
  • themeSelector.cookieEnabled — specifies that the theme selection should be persisted via a cookie.
org.jboss.seam.theme.theme
A map containing theme entries.
All of these components are always installed.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat