| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectjavax.faces.component.UIComponentjavax.faces.component.UIComponentBasejavax.faces.component.UIOutputjavax.faces.component.UIInputjavax.faces.component.UISelectManypublic class UISelectManyextends UIInputField Summary | |
static String | |
static String | |
static String | |
Fields inherited from class javax.faces.component.UIInput | |
COMPONENT_FAMILY, COMPONENT_TYPE, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID | |
Fields inherited from class javax.faces.component.UIOutput | |
COMPONENT_FAMILY, COMPONENT_TYPE | |
Constructor Summary | |
Method Summary | |
protected boolean |
|
protected Object |
|
String | |
Object[] | |
ValueBinding |
|
void |
|
void |
|
void |
|
protected void |
|
Methods inherited from class javax.faces.component.UIOutput | |
getConverter, getFamily, getLocalValue, getValue, restoreState, saveState, setConverter, setValue | |
Methods inherited from class javax.faces.component.UIComponent | |
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getFamily, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, setId, setParent, setRendered, setRendererType, setValueBinding | |
public static final String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
public static final String INVALID_MESSAGE_ID
protected boolean compareValues(Object previous,
Object value)
- Overrides:
- compareValues in interface UIInput
- Returns:
- true if Objects are different (!)
protected Object getConvertedValue(FacesContext context, Object submittedValue)
- Overrides:
- getConvertedValue in interface UIInput
public Object[] getSelectedValues()
public ValueBinding getValueBinding(String name)
- Overrides:
- getValueBinding in interface UIComponentBase
public void setSelectedValues(Object[] selectedValues)
public void setValueBinding(String name,
ValueBinding binding)
- Overrides:
- setValueBinding in interface UIComponentBase
public void validate(FacesContext context)
First part is identical to super.validate except the empty condition. Second part: iterate through UISelectItem and UISelectItems and check current values against these items
protected void validateValue(FacesContext context, Object convertedValue)
- Overrides:
- validateValue in interface UIInput