Project Documentation
Foundation

Description

A localized input control for ISO 639 language codes (same as for for java.util.Locale.getLanguage()).

Screen Shot

TODO

API

component-family javax.faces.SelectOne
renderer-type org.apache.myfaces.SelectOneLanguageRenderer
component-class org.apache.myfaces.custom.selectOneLanguage.SelectOneLanguage
renderer-class org.apache.myfaces.custom.selectOneLanguage.SelectOneLanguageRenderer
tag-class org.apache.myfaces.custom.selectOneLanguage.SelectOneLanguageTag

Usage

<t:selectOneLanguage maxLength="int">
	...(optional f:select* filters)...
<t:selectOneCountry/>
            

Syntax

<t:inputDate>

maxLength - Integer equals to the maximum number of characters in the language name.

Instructions

You can restrict the languages list by adding <f:selectItem*/> tags with the language codes.
Example : <f:selectItem itemValue="de"/> <f:selectItem itemValue="es"/> <f:selectItem itemValue="fr"/> ...