public class RichDynamicComponent extends PartialRichDynamicComponent implements javax.faces.component.ActionSource, javax.faces.component.ActionSource2
| Modifier and Type | Field and Description |
|---|---|
static org.apache.myfaces.trinidad.bean.PropertyKey |
ACTION_EXPRESSION_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
ACTION_LISTENER_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
COMPONENT_TYPE_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CONVERTER_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CONVERTERS_KEY |
static String |
REQUIRED_MESSAGE_ID |
static org.apache.myfaces.trinidad.bean.PropertyKey |
RETURN_LISTENER_KEY |
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE |
static String |
UNSUPPORTED_MODEL_TYPE_MESSAGE_ID |
static org.apache.myfaces.trinidad.bean.PropertyKey |
VALIDATOR_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
VALIDATORS_KEY |
ACCESS_KEY_KEY, ATTRIBUTE_MODEL_KEY, AUTO_COMPLETE_KEY, AUTO_COMPLETE_OFF, AUTO_COMPLETE_ON, AUTO_SUBMIT_KEY, AUTO_TAB_KEY, CHANGED_DESC_KEY, CHANGED_KEY, CHOOSE_ID_KEY, CLIENT_ATTRIBUTES_KEY, CLIENT_COMPONENT_KEY, CLIENT_LISTENERS_KEY, COLUMNS_KEY, COMPONENT_FAMILY, COMPONENT_TYPE, CONTENT_DELIVERY_IMMEDIATE, CONTENT_DELIVERY_KEY, CONTENT_DELIVERY_LAZY, CONTENT_STYLE_KEY, CONTEXT_FACET, CUSTOM_ACTIONS_FACET, CUSTOMIZATION_ID_KEY, DIMENSIONS_FROM_AUTO, DIMENSIONS_FROM_CONTENT, DIMENSIONS_FROM_KEY, DIMENSIONS_FROM_PARENT, DISABLED_DAYS_KEY, DISABLED_DAYS_OF_WEEK_KEY, DISABLED_KEY, DISABLED_MONTHS_KEY, EDITABLE_ALWAYS, EDITABLE_INHERIT, EDITABLE_KEY, EDITABLE_ON_ACCESS, GROUP_KEY, HELP_FACET, HELP_TOPIC_ID_KEY, INLINE_STYLE_KEY, ITEMS_KEY, LABEL_KEY, LABEL_STYLE_KEY, LAYOUT_HORIZONTAL, LAYOUT_KEY, LAYOUT_VERTICAL, LAZY_SELECTED_LABELS_KEY, MAX_VALUE_KEY, MAXIMUM_LENGTH_KEY, MIN_VALUE_KEY, MODE_COMPACT, MODE_DEFAULT, MODE_KEY, NULL_VALUE_MEANS_KEY, NULL_VALUE_MEANS_MIXED, NULL_VALUE_MEANS_NULL, PARTIAL_TRIGGERS_KEY, PLACEHOLDER_KEY, POPUP_TITLE_KEY, READ_ONLY_KEY, RECENT_ITEMS_KEY, RESULTS_TABLE_FACET, ROWS_KEY, SEARCH_CONTENT_FACET, SEARCH_DESC_KEY, SEARCH_DIALOG_DEFAULT, SEARCH_DIALOG_KEY, SEARCH_DIALOG_NONE, SECRET_KEY, SELECT_ALL_VISIBLE_KEY, SHORT_DESC_KEY, SHOW_REQUIRED_KEY, SIMPLE_KEY, SIZE_KEY, SPELL_CHECK_DEFAULT, SPELL_CHECK_KEY, SPELL_CHECK_OFF, SPELL_CHECK_ON, STYLE_CLASS_KEY, TEXT_KEY, TIME_ZONE_LIST_KEY, UNSECURE_KEY, UNSELECTED_LABEL_KEY, USAGE_AUTO, USAGE_KEY, USAGE_SEARCH, USAGE_TEXT, VALUE_PASS_THRU_KEY, VAR_KEY, VISIBLE_KEY, WRAP_HARD, WRAP_KEY, WRAP_OFF, WRAP_SOFTCREATE_POPUP_ID_KEY, EDIT_MODE_INPUT, EDIT_MODE_KEY, EDIT_MODE_SELECT, LAUNCH_POPUP_LISTENER_KEY, MODEL_KEY, RESULTS_TABLE_COLUMN_STRETCHING_BLANK, RESULTS_TABLE_COLUMN_STRETCHING_KEY, RESULTS_TABLE_COLUMN_STRETCHING_LAST, RESULTS_TABLE_COLUMN_STRETCHING_NONE, RETURN_POPUP_DATA_LISTENER_KEY, RETURN_POPUP_DATA_VALUE_KEY, RETURN_POPUP_LISTENER_KEYCONVERSION_MESSAGE_ID, IMMEDIATE_KEY, LOCAL_VALUE_SET_KEY, PROTECTION_KEY_KEY, REQUIRED_KEY, REQUIRED_MESSAGE_DETAIL_KEY, SUBMITTED_VALUE_KEY, TOKENIZE_MAP_KEY, TRINIDAD_BEAN_VALIDATION_AVAILABLE, TRINIDAD_EMPTY_VALUES_AS_NULL_PARAM_NAME, VALID_KEY, VALIDATE_EMPTY_FIELDS_PARAM_NAME, VALUE_CHANGE_LISTENER_KEY| Modifier | Constructor and Description |
|---|---|
|
RichDynamicComponent()
Construct an instance of the RichDynamicComponent.
|
protected |
RichDynamicComponent(String rendererType)
Construct an instance of the RichDynamicComponent.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addActionListener(javax.faces.event.ActionListener listener)
Adds a action listener.
|
void |
addConverter(javax.faces.convert.Converter converter) |
void |
addReturnListener(org.apache.myfaces.trinidad.event.ReturnListener listener)
Adds a return listener.
|
void |
broadcast(javax.faces.event.FacesEvent event) |
protected boolean |
compareCollectionValues(Object previous, Object value) |
protected boolean |
compareValues(Object previous, Object value) |
protected org.apache.myfaces.trinidad.bean.FacesBean |
createFacesBean(String rendererType) |
javax.faces.el.MethodBinding |
getAction()
Deprecated.
|
javax.el.MethodExpression |
getActionExpression()
Gets a reference to an action method sent by the commandButton, or the static outcome of an action
|
javax.faces.el.MethodBinding |
getActionListener()
Deprecated.
|
javax.faces.event.ActionListener[] |
getActionListeners()
Returns an array of attached action listeners.
|
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType() |
List |
getChildren() |
AttributeDescriptor.ComponentType |
getComponentType() |
javax.faces.convert.Converter[] |
getConverters() |
javax.el.MethodExpression |
getReturnListener()
Gets a method reference to an return listener
|
org.apache.myfaces.trinidad.event.ReturnListener[] |
getReturnListeners()
Returns an array of attached listeners.
|
protected javax.faces.component.UISelectItems |
getSelectItems() |
protected boolean |
isEmpty(Object value) |
void |
queueEvent(javax.faces.event.FacesEvent e)
Intercept
queueEvent and mark the phaseId for ActionEvent that originated from this component to be PhaseId.ANY_PHASE. |
void |
removeActionListener(javax.faces.event.ActionListener listener)
Removes a action listener.
|
void |
removeConverter(javax.faces.convert.Converter converter) |
void |
removeReturnListener(org.apache.myfaces.trinidad.event.ReturnListener listener)
Removes a return listener.
|
void |
setAction(javax.faces.el.MethodBinding binding)
Deprecated.
|
void |
setActionExpression(javax.el.MethodExpression actionExpression)
Sets a reference to an action method sent by the commandButton, or the static outcome of an action
|
void |
setActionListener(javax.faces.el.MethodBinding actionListener)
Deprecated.
|
void |
setReturnListener(javax.faces.el.MethodBinding binding)
Deprecated.
|
void |
setReturnListener(javax.el.MethodExpression returnListener)
Sets a method reference to an return listener
|
addClientBehavior, getAccessKey, getAttributeModel, getAutoComplete, getChangedDesc, getChooseId, getClientAttributes, getClientBehaviors, getClientListeners, getColumns, getContentDelivery, getContentStyle, getContext, getCustomActions, getCustomizationId, getDefaultEventName, getDimensionsFrom, getDisabledDays, getDisabledDaysOfWeek, getDisabledMonths, getEditable, getEventNames, getFamily, getGroup, getHelp, getHelpTopicId, getInlineStyle, getItems, getLabel, getLabelStyle, getLayout, getLazySelectedLabels, getMaximumLength, getMaxValue, getMinValue, getMode, getNullValueMeans, getPartialTriggers, getPlaceholder, getPopupTitle, getRecentItems, getResultsTable, getRows, getSearchContent, getSearchDesc, getSearchDialog, getShortDesc, getSize, getSpellCheck, getStyleClass, getText, getTimeZoneList, getUnsecure, getUnselectedLabel, getUsage, getVar, getWrap, isAutoSubmit, isAutoTab, isChanged, isClientComponent, isDisabled, isReadOnly, isSecret, isSelectAllVisible, isShowRequired, isSimple, isValuePassThru, isVisible, setAccessKey, setAttributeModel, setAutoComplete, setAutoSubmit, setAutoTab, setChanged, setChangedDesc, setChooseId, setClientAttributes, setClientComponent, setClientListeners, setColumns, setContentDelivery, setContentStyle, setContext, setCustomActions, setCustomizationId, setDimensionsFrom, setDisabled, setDisabledDays, setDisabledDaysOfWeek, setDisabledMonths, setEditable, setGroup, setHelp, setHelpTopicId, setInlineStyle, setItems, setLabel, setLabelStyle, setLayout, setLazySelectedLabels, setMaximumLength, setMaxValue, setMinValue, setMode, setNullValueMeans, setPartialTriggers, setPlaceholder, setPopupTitle, setReadOnly, setRecentItems, setResultsTable, setRows, setSearchContent, setSearchDesc, setSearchDialog, setSecret, setSelectAllVisible, setShortDesc, setShowRequired, setSimple, setSize, setSpellCheck, setStyleClass, setText, setTimeZoneList, setUnsecure, setUnselectedLabel, setUsage, setValuePassThru, setVar, setVisible, setWrapdecode, decodeChildrenImpl, encodeBegin, getRenderedFacetsAndChildren, invokeOnComponent, satisfiesPartialTrigger, setLaunchPopupListener, setReturnPopupDataListener, setReturnPopupListener, validateValueaddLaunchPopupListener, addReturnPopupDataListener, addReturnPopupListener, getCreatePopupId, getEditMode, getLaunchPopupListener, getLaunchPopupListeners, getModel, getResultsTableColumnStretching, getReturnPopupDataListener, getReturnPopupDataListeners, getReturnPopupDataValue, getReturnPopupListener, getReturnPopupListeners, removeLaunchPopupListener, removeReturnPopupDataListener, removeReturnPopupListener, setCreatePopupId, setEditMode, setLaunchPopupListener, setModel, setResultsTableColumnStretching, setReturnPopupDataListener, setReturnPopupDataValue, setReturnPopupListeneraddValidator, addValueChangeListener, addValueUpdatedListener, getConvertedValue, getProtectionKey, getRequiredMessageDetail, getRequiredMessageKey, getSubmittedValue, getValidator, getValidators, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, removeValueUpdatedListener, resetValue, setImmediate, setLocalValueSet, setProtectionKey, setRequired, setRequiredMessageDetail, setSubmittedValue, setValid, setValidator, setValueChangeListener, shouldInterpretEmptyStringSubmittedValuesAsNull, shouldValidateEmptyFields, updateModel, validategetConverter, getLocalValue, getValue, setConverter, setValueadaptMethodBinding, addAttributeChange, addAttributeChangeListener, addComponentChange, addComponentChange, addComponentChangeFilter, addFacesListener, broadcastToMethodBinding, broadcastToMethodExpression, clearCachedClientIds, clearInitialState, decodeChildren, encodeChildren, encodeEnd, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getClientId, getComponentChangeFilters, getContainerClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getListenersForEventClass, getParent, getProperty, getPropertyKey, getRenderer, getRendererType, getRendersChildren, getValueBinding, getValueExpression, initialStateMarked, invokeOnChildrenComponents, invokeOnNamingContainerComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, removeAttributeChangeListener, removeComponentChangeFilter, removeFacesListener, restoreState, saveState, setAttributeChangeListener, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setupFlattenedChildrenContext, setupFlattenedContext, setValueBinding, setValueExpression, subscribeToEvent, tearDownFlattenedChildrenContext, tearDownFlattenedContext, toString, unsubscribeFromEvent, updateChildren, updateChildrenImpl, validateChildren, validateChildrenImpladdPartialTarget, broadcastInContext, clearCachedClientIds, defaultGetRenderedFacetsAndChildren, encodeFlattenedChild, encodeFlattenedChildren, getLogicalParent, getLogicalParent, getStateHelper, getStateHelper, isVisitable, partialEncodeVisit, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, setPartialTarget, setupChildrenEncodingContext, setupChildrenVisitingContext, setupEncodingContext, setUpEncodingContext, setupVisitingContext, tearDownChildrenEncodingContext, tearDownChildrenVisitingContext, tearDownEncodingContext, tearDownVisitingContext, visitAllChildren, visitChildren, visitChildren, visitTree, visitTreeencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getPassThroughAttributes, getResourceBundleMap, getTransientStateHelper, getTransientStateHelper, isCompositeComponent, isInView, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInViewpublic static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
public static final org.apache.myfaces.trinidad.bean.PropertyKey CONVERTERS_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CONVERTER_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey VALIDATORS_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey VALIDATOR_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey COMPONENT_TYPE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey ACTION_EXPRESSION_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey ACTION_LISTENER_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey RETURN_LISTENER_KEY
public static final String REQUIRED_MESSAGE_ID
public static final String UNSUPPORTED_MODEL_TYPE_MESSAGE_ID
public RichDynamicComponent()
protected RichDynamicComponent(String rendererType)
protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType in class PartialRichDynamicComponentprotected boolean isEmpty(Object value)
isEmpty in class org.apache.myfaces.trinidad.component.UIXEditableValueprotected boolean compareValues(Object previous, Object value)
compareValues in class org.apache.myfaces.trinidad.component.UIXEditableValuepublic final javax.el.MethodExpression getReturnListener()
public final void setReturnListener(javax.el.MethodExpression returnListener)
returnListener - the new returnListener value@Deprecated public void setReturnListener(javax.faces.el.MethodBinding binding)
@Deprecated public javax.faces.el.MethodBinding getAction()
getAction in interface javax.faces.component.ActionSource@Deprecated public void setAction(javax.faces.el.MethodBinding binding)
setAction in interface javax.faces.component.ActionSourcepublic final javax.el.MethodExpression getActionExpression()
getActionExpression in interface javax.faces.component.ActionSource2public final void setActionExpression(javax.el.MethodExpression actionExpression)
setActionExpression in interface javax.faces.component.ActionSource2actionExpression - the new actionExpression value@Deprecated public final javax.faces.el.MethodBinding getActionListener()
getActionListener in interface javax.faces.component.ActionSource@Deprecated public final void setActionListener(javax.faces.el.MethodBinding actionListener)
setActionListener in interface javax.faces.component.ActionSourceactionListener - the new actionListener valuepublic final void addActionListener(javax.faces.event.ActionListener listener)
addActionListener in interface javax.faces.component.ActionSourcelistener - the action listener to addpublic final void removeActionListener(javax.faces.event.ActionListener listener)
removeActionListener in interface javax.faces.component.ActionSourcelistener - the action listener to removepublic final javax.faces.event.ActionListener[] getActionListeners()
getActionListeners in interface javax.faces.component.ActionSourcepublic final void addReturnListener(org.apache.myfaces.trinidad.event.ReturnListener listener)
listener - the return listener to addpublic final void removeReturnListener(org.apache.myfaces.trinidad.event.ReturnListener listener)
listener - the return listener to removepublic final org.apache.myfaces.trinidad.event.ReturnListener[] getReturnListeners()
public void queueEvent(javax.faces.event.FacesEvent e)
Intercept queueEvent and mark the phaseId for ActionEvent that originated from this component to be PhaseId.ANY_PHASE.
queueEvent in class UIXInputPopup
public void broadcast(javax.faces.event.FacesEvent event)
throws javax.faces.event.AbortProcessingException
broadcast in class UIXInputPopupjavax.faces.event.AbortProcessingExceptionprotected org.apache.myfaces.trinidad.bean.FacesBean createFacesBean(String rendererType)
createFacesBean in class org.apache.myfaces.trinidad.component.UIXComponentBasepublic AttributeDescriptor.ComponentType getComponentType()
public void addConverter(javax.faces.convert.Converter converter)
public javax.faces.convert.Converter[] getConverters()
public void removeConverter(javax.faces.convert.Converter converter)
public List getChildren()
getChildren in class org.apache.myfaces.trinidad.component.UIXComponentBaseprotected javax.faces.component.UISelectItems getSelectItems()