org.apache.myfaces.trinidad.event
Class SetActionListener
java.lang.Object
org.apache.myfaces.trinidad.event.SetActionListener
- All Implemented Interfaces:
- EventListener, javax.faces.component.StateHolder, javax.faces.event.ActionListener, javax.faces.event.FacesListener
public class SetActionListener
- extends Object
- implements javax.faces.event.ActionListener, javax.faces.component.StateHolder
ActionListener that supports getting a value from
one binding and setting it on another.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SetActionListener
public SetActionListener()
- Creates a SetActionListener.
processAction
public void processAction(javax.faces.event.ActionEvent event)
- Gets the value from the "from" property and sets it on
the ValueBinding for the "to" property
- Specified by:
processAction
in interface javax.faces.event.ActionListener
getValueExpression
public javax.el.ValueExpression getValueExpression(String name)
setValueExpression
public void setValueExpression(String name,
javax.el.ValueExpression binding)
getFrom
public Object getFrom()
setFrom
public void setFrom(Object from)
saveState
public Object saveState(javax.faces.context.FacesContext context)
- Specified by:
saveState
in interface javax.faces.component.StateHolder
restoreState
public void restoreState(javax.faces.context.FacesContext context,
Object state)
- Specified by:
restoreState
in interface javax.faces.component.StateHolder
isTransient
public boolean isTransient()
- Specified by:
isTransient
in interface javax.faces.component.StateHolder
setTransient
public void setTransient(boolean newTransientValue)
- Specified by:
setTransient
in interface javax.faces.component.StateHolder
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.