Class LocaleController
- java.lang.Object
-
- org.apache.myfaces.tobago.example.demo.LocaleController
-
- All Implemented Interfaces:
Serializable
@Named @SessionScoped public class LocaleController extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LocaleController()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LocaleControllergetCurrentInstance(javax.faces.context.FacesContext facesContext, String beanName)StringgetImageCountryName()LocalegetLocale()List<javax.faces.model.SelectItem>getLocaleItems()StringgetLocalizedLocale()voidsetLocale(Locale locale)Stringsubmit()
-
-
-
Method Detail
-
submit
public String submit()
-
getLocaleItems
public List<javax.faces.model.SelectItem> getLocaleItems()
-
getCurrentInstance
public static LocaleController getCurrentInstance(javax.faces.context.FacesContext facesContext, String beanName)
-
getLocale
public Locale getLocale()
-
getLocalizedLocale
public String getLocalizedLocale()
-
getImageCountryName
public String getImageCountryName()
-
setLocale
public void setLocale(Locale locale)
-
-