|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponent
org.apache.myfaces.trinidad.component.UIXComponent
org.apache.myfaces.trinidad.component.UIXComponentBase
org.apache.myfaces.trinidad.component.UIXValue
org.apache.myfaces.trinidad.component.UIXEditableValue
org.apache.myfaces.trinidad.component.UIXSelectMany
public class UIXSelectMany
UIXSelectMany is a base abstraction for components that allow selection of multiple of a series of selectItem controls, where order is not relevant. selectOne controls may contain any number of <f:selectItem>, <f:selectItems>, or <tr:selectItem> components.
Type | Phases | Description |
---|---|---|
javax.faces.event.ValueChangeEvent |
Process Validations Apply Request Values |
The valueChange event is delivered when the value attribute is changed. |
org.apache.myfaces.trinidad.event.AttributeChangeEvent |
Invoke Application Apply Request Values |
Event delivered to describe an attribute change. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change event might include the width of a column that supported client-side resizing. |
Field Summary | |
---|---|
static String |
COMPONENT_FAMILY
|
static String |
COMPONENT_TYPE
|
static String |
REQUIRED_MESSAGE_ID
|
static FacesBean.Type |
TYPE
|
static String |
UNSUPPORTED_MODEL_TYPE_MESSAGE_ID
|
Fields inherited from class org.apache.myfaces.trinidad.component.UIXEditableValue |
---|
CONVERSION_MESSAGE_ID, IMMEDIATE_KEY, LOCAL_VALUE_SET_KEY, REQUIRED_KEY, REQUIRED_MESSAGE_DETAIL_KEY, SUBMITTED_VALUE_KEY, TRINIDAD_BEAN_VALIDATION_AVAILABLE, TRINIDAD_EMPTY_VALUES_AS_NULL_PARAM_NAME, VALID_KEY, VALIDATE_EMPTY_FIELDS_PARAM_NAME, VALIDATOR_KEY, VALIDATORS_KEY, VALUE_CHANGE_LISTENER_KEY |
Fields inherited from class org.apache.myfaces.trinidad.component.UIXValue |
---|
CONVERTER_KEY, VALUE_KEY |
Fields inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase |
---|
BINDING_KEY, ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY |
Fields inherited from class javax.faces.component.UIComponent |
---|
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY |
Constructor Summary | |
---|---|
|
UIXSelectMany()
Construct an instance of the UIXSelectMany. |
protected |
UIXSelectMany(String rendererType)
Construct an instance of the UIXSelectMany. |
Method Summary | |
---|---|
protected boolean |
compareValues(Object previous,
Object value)
Return true if the new value is different from the
previous value. |
protected FacesBean.Type |
getBeanType()
|
String |
getFamily()
|
protected String |
getRequiredMessageKey()
|
protected boolean |
isEmpty(Object value)
Return true if the value is empty. |
protected void |
validateValue(javax.faces.context.FacesContext context,
Object newValue)
Compares two values, disregarding the order of the elements. |
Methods inherited from class org.apache.myfaces.trinidad.component.UIXValue |
---|
getConverter, getLocalValue, getValue, setConverter, setValue |
Methods inherited from class javax.faces.component.UIComponent |
---|
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, isCompositeComponent, isInView, popComponentFromEL, processEvent, pushComponentToEL, setInView |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.faces.component.ValueHolder |
---|
getConverter, getLocalValue, getValue, setConverter, setValue |
Field Detail |
---|
public static final FacesBean.Type TYPE
public static final String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
public static final String REQUIRED_MESSAGE_ID
public static final String UNSUPPORTED_MODEL_TYPE_MESSAGE_ID
Constructor Detail |
---|
public UIXSelectMany()
protected UIXSelectMany(String rendererType)
Method Detail |
---|
protected void validateValue(javax.faces.context.FacesContext context, Object newValue)
validateValue
in class UIXEditableValue
protected boolean isEmpty(Object value)
UIXEditableValue
Return true
if the value is empty.
isEmpty
in class UIXEditableValue
protected String getRequiredMessageKey()
getRequiredMessageKey
in class UIXEditableValue
protected boolean compareValues(Object previous, Object value)
UIXEditableValue
Return true
if the new value is different from the
previous value.
compareValues
in class UIXEditableValue
previous
- old value of this component (if any)value
- new value of this component (if any)
public String getFamily()
getFamily
in class UIXEditableValue
protected FacesBean.Type getBeanType()
getBeanType
in class UIXEditableValue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |