Package org.apache.myfaces.taglib.core
Class ActionListenerTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- org.apache.myfaces.taglib.core.GenericListenerTag<ActionSource,ActionListener>
-
- org.apache.myfaces.taglib.core.ActionListenerTag
-
- All Implemented Interfaces:
Serializable
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
@JSFJspTag(name="f:actionListener", bodyContent="empty") public class ActionListenerTag extends GenericListenerTag<ActionSource,ActionListener>
This tag creates an instance of the specified ActionListener, and associates it with the nearest parent UIComponent.Unless otherwise specified, all attributes accept static values or EL expressions.
- Version:
- $Revision$ $Date$
- Author:
- Manfred Geiler (latest modification by $Author$)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActionListenerTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addListener(ActionSource actionSource, ActionListener actionListener)
protected ActionListener
createDelegateListener(javax.el.ValueExpression type, javax.el.ValueExpression binding)
void
setBinding(javax.el.ValueExpression binding)
Value binding expression that evaluates to an object that implements javax.faces.event.ActionListener.void
setType(javax.el.ValueExpression type)
The fully qualified class name of the ActionListener class.-
Methods inherited from class org.apache.myfaces.taglib.core.GenericListenerTag
createListener, doStartTag, release
-
-
-
-
Method Detail
-
addListener
protected void addListener(ActionSource actionSource, ActionListener actionListener)
- Specified by:
addListener
in classGenericListenerTag<ActionSource,ActionListener>
-
createDelegateListener
protected ActionListener createDelegateListener(javax.el.ValueExpression type, javax.el.ValueExpression binding)
- Specified by:
createDelegateListener
in classGenericListenerTag<ActionSource,ActionListener>
-
setType
@JSFJspAttribute(className="javax.el.ValueExpression", deferredValueType="java.lang.String") public void setType(javax.el.ValueExpression type)
The fully qualified class name of the ActionListener class.- Overrides:
setType
in classGenericListenerTag<ActionSource,ActionListener>
-
setBinding
@JSFJspAttribute(className="javax.el.ValueExpression", deferredValueType="javax.faces.event.ActionListener") public void setBinding(javax.el.ValueExpression binding)
Value binding expression that evaluates to an object that implements javax.faces.event.ActionListener.- Overrides:
setBinding
in classGenericListenerTag<ActionSource,ActionListener>
-
-