Project Documentation
Foundation

Description

A localized input control for ISO 3166 country codes (same as for for java.util.Locale.getCountry()).

Screen Shot

TODO

API

component-family javax.faces.SelectOne
renderer-type org.apache.myfaces.SelectOneCountryRenderer
component-class org.apache.myfaces.custom.selectOneCountry.SelectOneCountry
renderer-class org.apache.myfaces.custom.selectOneCountry.SelectOneCountryRenderer
tag-class org.apache.myfaces.custom.selectOneCountry.SelectOneCountryTag

Usage

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

Syntax

<t:inputDate>

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

Instructions

You can restrict the countries list by adding <f:selectItem*/> tags with the country codes.
Example : <f:selectItem itemValue="DE"/> <f:selectItem itemValue="DO"/> <f:selectItem itemValue="FR"/> ...