Package org.apache.myfaces.taglib.core
Class DelegateActionListener
- java.lang.Object
-
- org.apache.myfaces.taglib.core.DelegateActionListener
-
- All Implemented Interfaces:
EventListener
,StateHolder
,ActionListener
,FacesListener
public class DelegateActionListener extends Object implements ActionListener, StateHolder
This class is used in conjunction with ActionListenerTag. When a tag like this is in a jsp page:<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.- Version:
- $Revision$ $Date$
- Author:
- Leonardo Uribe (latest modification by $Author$)
-
-
Field Summary
-
Fields inherited from interface javax.faces.event.ActionListener
TO_FLOW_DOCUMENT_ID_ATTR_NAME
-
-
Constructor Summary
Constructors Constructor Description DelegateActionListener()
DelegateActionListener(javax.el.ValueExpression type, javax.el.ValueExpression binding)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isTransient()
void
processAction(ActionEvent event)
void
restoreState(FacesContext facesContext, Object state)
Object
saveState(FacesContext facesContext)
void
setTransient(boolean arg0)
-
-
-
Method Detail
-
isTransient
public boolean isTransient()
- Specified by:
isTransient
in interfaceStateHolder
-
restoreState
public void restoreState(FacesContext facesContext, Object state)
- Specified by:
restoreState
in interfaceStateHolder
-
saveState
public Object saveState(FacesContext facesContext)
- Specified by:
saveState
in interfaceStateHolder
-
setTransient
public void setTransient(boolean arg0)
- Specified by:
setTransient
in interfaceStateHolder
-
processAction
public void processAction(ActionEvent event) throws AbortProcessingException
- Specified by:
processAction
in interfaceActionListener
- Throws:
AbortProcessingException
-
-