org.jboss.seam.international.examples.timeanddate.locale
Class LocaleBean

java.lang.Object
  extended by org.jboss.seam.international.examples.timeanddate.locale.LocaleBean

@Model
public class LocaleBean
extends Object

LocaleBean demonstrating injection of the current and available locales and changing the client locale.

Author:
Marek Schmidt

Constructor Summary
LocaleBean()
           
 
Method Summary
 List<Locale> getAvailableLocales()
           
 Locale getUserLocale()
           
 void setUserLocale(Locale locale)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocaleBean

public LocaleBean()
Method Detail

getUserLocale

public Locale getUserLocale()

setUserLocale

public void setUserLocale(Locale locale)

getAvailableLocales

public List<Locale> getAvailableLocales()


Copyright © 2011 Seam Framework. All Rights Reserved.