public class DelegateActionListener extends Object implements ActionListener, StateHolder
<f:actionListener binding="#{mybean}"/>
or
<f:actionListener type="#{'anyid'}" binding="#{mybean}"/>
The value of mybean could be already on the context, so this
converter avoid creating a new variable and use the previous one.TO_FLOW_DOCUMENT_ID_ATTR_NAME| Constructor and Description |
|---|
DelegateActionListener() |
DelegateActionListener(javax.el.ValueExpression type,
javax.el.ValueExpression binding) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isTransient() |
void |
processAction(ActionEvent event) |
void |
restoreState(FacesContext facesContext,
Object state) |
Object |
saveState(FacesContext facesContext) |
void |
setTransient(boolean arg0) |
public DelegateActionListener()
public DelegateActionListener(javax.el.ValueExpression type,
javax.el.ValueExpression binding)
public boolean isTransient()
isTransient in interface StateHolderpublic void restoreState(FacesContext facesContext, Object state)
restoreState in interface StateHolderpublic Object saveState(FacesContext facesContext)
saveState in interface StateHolderpublic void setTransient(boolean arg0)
setTransient in interface StateHolderpublic void processAction(ActionEvent event) throws AbortProcessingException
processAction in interface ActionListenerAbortProcessingExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.