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 voidaddListener(ActionSource actionSource, ActionListener actionListener)protected ActionListenercreateDelegateListener(javax.el.ValueExpression type, javax.el.ValueExpression binding)voidsetBinding(javax.el.ValueExpression binding)Value binding expression that evaluates to an object that implements javax.faces.event.ActionListener.voidsetType(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:
addListenerin classGenericListenerTag<ActionSource,ActionListener>
-
createDelegateListener
protected ActionListener createDelegateListener(javax.el.ValueExpression type, javax.el.ValueExpression binding)
- Specified by:
createDelegateListenerin 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:
setTypein 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:
setBindingin classGenericListenerTag<ActionSource,ActionListener>
-
-