public abstract class AbstractParameter
extends javax.faces.component.UIParameter
implements javax.faces.event.ActionListener, org.ajax4jsf.component.JavaScriptParameter
The <a4j:param> behavior combines the functionality of the JavaServer Faces (JSF) components <f:param> and <f:actionListener>.
| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
| Constructor and Description |
|---|
AbstractParameter() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearInitialState() |
javax.el.ValueExpression |
getAssignToExpression() |
javax.faces.convert.Converter |
getConverter()
The converter attribute can be used to specify how to convert the value before it is submitted to the data model.
|
String |
getName() |
Object |
getValue() |
abstract boolean |
isNoEscape()
If set to true, the value will not enclosed within single quotes and there will be no escaping of characters.
|
void |
markInitialState() |
void |
processAction(javax.faces.event.ActionEvent actionEvent) |
void |
restoreState(javax.faces.context.FacesContext context,
Object state) |
Object |
saveState(javax.faces.context.FacesContext context) |
void |
setAssignToExpression(javax.el.ValueExpression ve) |
void |
setConverter(javax.faces.convert.Converter converter) |
abstract void |
setNoEscape(boolean noEscape) |
getFamily, isDisable, setDisable, setName, setValueaddClientBehavior, addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTreepublic static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public abstract boolean isNoEscape()
isNoEscape in interface org.ajax4jsf.component.JavaScriptParameterpublic abstract void setNoEscape(boolean noEscape)
setNoEscape in interface org.ajax4jsf.component.JavaScriptParameterpublic void setAssignToExpression(javax.el.ValueExpression ve)
public javax.el.ValueExpression getAssignToExpression()
public void setConverter(javax.faces.convert.Converter converter)
public javax.faces.convert.Converter getConverter()
public void processAction(javax.faces.event.ActionEvent actionEvent)
throws javax.faces.event.AbortProcessingException
processAction in interface javax.faces.event.ActionListenerjavax.faces.event.AbortProcessingExceptionpublic String getName()
getName in class javax.faces.component.UIParameterpublic Object getValue()
getValue in class javax.faces.component.UIParameterpublic void markInitialState()
markInitialState in interface javax.faces.component.PartialStateHoldermarkInitialState in class javax.faces.component.UIComponentBasepublic void clearInitialState()
clearInitialState in interface javax.faces.component.PartialStateHolderclearInitialState in class javax.faces.component.UIComponentBasepublic Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHoldersaveState in class javax.faces.component.UIComponentBasepublic void restoreState(javax.faces.context.FacesContext context,
Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class javax.faces.component.UIComponentBaseCopyright © 2012 JBoss by Red Hat. All Rights Reserved.