SeamFramework.orgCommunity Documentation

Seam International Module

Reference Guide

3.1.0.Beta1


Introduction
1. Installation
2. Timezones
2.1. Joda Time
2.2. Application TimeZone
2.3. User TimeZone
2.4. Available TimeZones
3. Locales
3.1. Application Locale
3.2. User Locale
3.3. Available Locales
4. Messages
4.1. Message Creation
4.2. Properties Files

The goal of Seam International is to provide a unified approach to configuring locale, timezone and language. With features such as Status message propagation to UI, multiple property storage implementations and more.

Most features of Seam International are installed automatically by including seam-international.jar in the web application library folder. If you are using Maven as your build tool, you can add the following dependency to your pom.xml file:


<dependency>
    <groupId>org.jboss.seam.international</groupId>
    <artifactId>seam-international</artifactId>
    <version>${seam-international-version}</version>
</dependency>

Tip

Replace ${seam-international-version} with the most recent or appropriate version of Seam International.

To support a more developer friendly way of handling TimeZones, in addition to supporting JDK TimeZone, we have added support for using Joda-Time through their DateTimeZone class. Don't worry, it provides convenience methods for converting to JDK TimeZone.