Ce contenu n'est pas disponible dans la langue sélectionnée.

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

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance. Découvrez nos récentes mises à jour.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Theme

© 2026 Red Hat
Retour au début