| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UIInput
javax.faces.component.UISelectOne
javax.faces.component.html.HtmlSelectOneMenu
org.apache.myfaces.component.html.ext.AbstractHtmlSelectOneMenu
org.apache.myfaces.component.html.ext.HtmlSelectOneMenu
org.apache.myfaces.custom.selectOneCountry.AbstractSelectOneCountry
public abstract class AbstractSelectOneCountry
A localized list of countries choose box. The value binds to the country ISO 3166 code. This is the same code as for java.util.Locale.getCountry(). The official codes list is available here : http://www.iso.ch/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html Unless otherwise specified, all attributes accept static values or EL expressions.
| Field Summary | |
|---|---|
| static String | COMPONENT_TYPE | 
| Fields inherited from class org.apache.myfaces.component.html.ext.HtmlSelectOneMenu | 
|---|
| COMPONENT_FAMILY | 
| Fields inherited from class javax.faces.component.UISelectOne | 
|---|
| INVALID_MESSAGE_ID | 
| Fields inherited from class javax.faces.component.UIInput | 
|---|
| CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID | 
| Fields inherited from class javax.faces.component.UIComponent | 
|---|
| bindings | 
| Fields inherited from interface org.apache.myfaces.component.UserRoleAware | 
|---|
| ENABLED_ON_USER_ROLE_ATTR, VISIBLE_ON_USER_ROLE_ATTR | 
| Fields inherited from interface org.apache.myfaces.shared_tomahawk.component.DisplayValueOnlyCapable | 
|---|
| DISPLAY_VALUE_ONLY_ATTR, DISPLAY_VALUE_ONLY_STYLE_ATTR, DISPLAY_VALUE_ONLY_STYLE_CLASS_ATTR | 
| Constructor Summary | |
|---|---|
| AbstractSelectOneCountry() | |
| Method Summary | |
|---|---|
| protected  List | getCountriesChoicesAsSelectItemList() | 
| abstract  String | getEmptySelection()Integer equals to the maximum number of characters in the country name. | 
| abstract  Integer | getMaxLength()Integer equals to the maximum number of characters in the country name. | 
| protected  void | validateValue(javax.faces.context.FacesContext context,
              Object value) | 
| Methods inherited from class org.apache.myfaces.component.html.ext.HtmlSelectOneMenu | 
|---|
| getDatafld, getDataformatas, getDatasrc, getDisplayValueOnly, getDisplayValueOnlyStyle, getDisplayValueOnlyStyleClass, getEnabledOnUserRole, getFamily, getVisibleOnUserRole, isEscape, isForceId, isForceIdIndex, restoreState, saveState, setDatafld, setDataformatas, setDatasrc, setDisplayValueOnly, setDisplayValueOnlyStyle, setDisplayValueOnlyStyleClass, setEnabledOnUserRole, setEscape, setForceId, setForceIdIndex, setVisibleOnUserRole | 
| Methods inherited from class org.apache.myfaces.component.html.ext.AbstractHtmlSelectOneMenu | 
|---|
| getClientId, isDisplayValueOnly, isRendered, isSetDisplayValueOnly, setDisplayValueOnly | 
| Methods inherited from class javax.faces.component.html.HtmlSelectOneMenu | 
|---|
| getAccesskey, getDir, getDisabledClass, getEnabledClass, getLabel, getLang, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getStyle, getStyleClass, getTabindex, getTitle, isDisabled, isReadonly, setAccesskey, setDir, setDisabled, setDisabledClass, setEnabledClass, setLabel, setLang, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setStyle, setStyleClass, setTabindex, setTitle | 
| Methods inherited from class javax.faces.component.UIInput | 
|---|
| addValidator, addValueChangeListener, broadcast, compareValues, decode, getConvertedValue, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate | 
| Methods inherited from class javax.faces.component.UIOutput | 
|---|
| getConverter, getLocalValue, setConverter | 
| Methods inherited from class javax.faces.component.UIComponentBase | 
|---|
| addFacesListener, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding | 
| Methods inherited from class javax.faces.component.UIComponent | 
|---|
| encodeAll, getContainerClientId, getValueExpression, setValueExpression | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface javax.faces.component.ValueHolder | 
|---|
| getConverter, getLocalValue, setConverter | 
| Field Detail | 
|---|
public static final String COMPONENT_TYPE
| Constructor Detail | 
|---|
public AbstractSelectOneCountry()
| Method Detail | 
|---|
public abstract Integer getMaxLength()
public abstract String getEmptySelection()
protected List getCountriesChoicesAsSelectItemList()
protected void validateValue(javax.faces.context.FacesContext context,
                             Object value)
validateValue in class javax.faces.component.UISelectOne| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||