org.apache.myfaces.custom.selectOneCountry

Class SelectOneCountry

Implemented Interfaces:
DisplayValueOnlyCapable, UserRoleAware

public class SelectOneCountry
extends HtmlSelectOneMenu

Version:
$Revision: 278656 $ $Date: 2005-09-05 02:48:55 +0200 (Mon, 05 Sep 2005) $
Author:
Sylvain Vieujot (latest modification by $Author: svieujot $)

Field Summary

static String
COMPONENT_TYPE

Fields inherited from class org.apache.myfaces.component.html.ext.HtmlSelectOneMenu

COMPONENT_TYPE

Fields inherited from interface org.apache.myfaces.component.DisplayValueOnlyCapable

DISPLAY_VALUE_ONLY_ATTR, DISPLAY_VALUE_ONLY_STYLE_ATTR, DISPLAY_VALUE_ONLY_STYLE_CLASS_ATTR

Fields inherited from interface org.apache.myfaces.component.UserRoleAware

ENABLED_ON_USER_ROLE_ATTR, VISIBLE_ON_USER_ROLE_ATTR

Constructor Summary

SelectOneCountry()

Method Summary

protected List
getCountriesChoicesAsSelectItemList()
Integer
getMaxLength()
void
restoreState(FacesContext context, Object state)
Object
saveState(FacesContext context)
void
setMaxLength(Integer maxLength)
protected void
validateValue(FacesContext context, Object value)

Methods inherited from class org.apache.myfaces.component.html.ext.HtmlSelectOneMenu

getClientId, getDisplayValueOnlyStyle, getDisplayValueOnlyStyleClass, getEnabledOnUserRole, getVisibleOnUserRole, isDisplayValueOnly, isRendered, isSetDisplayValueOnly, restoreState, saveState, setDisplayValueOnly, setDisplayValueOnlyStyle, setDisplayValueOnlyStyleClass, setEnabledOnUserRole, setVisibleOnUserRole

Field Details

COMPONENT_TYPE

public static final String COMPONENT_TYPE

Constructor Details

SelectOneCountry

public SelectOneCountry()

Method Details

getCountriesChoicesAsSelectItemList

protected List getCountriesChoicesAsSelectItemList()

getMaxLength

public Integer getMaxLength()

restoreState

public void restoreState(FacesContext context,
                         Object state)
Overrides:
restoreState in interface HtmlSelectOneMenu

saveState

public Object saveState(FacesContext context)
Overrides:
saveState in interface HtmlSelectOneMenu

setMaxLength

public void setMaxLength(Integer maxLength)

validateValue

protected void validateValue(FacesContext context,
                             Object value)