public class SetPropertyActionListenerTag
extends javax.servlet.jsp.tagext.TagSupport
Tag implementation that creates a special ActionListener
instance
and registers it on the ActionSource
associated with our most
immediate surrounding instance of a tag whose implementation class
is a subclass of UIComponentClassicTagBase
. This tag creates no output to
the page currently being created.
The ActionListener instance created and installed by this tag has the following behavior and contract.
ActionListener
instance
the first time the component for this tag is createdThis tag creates no output to the page currently being created. It
is used solely for the side effect of ActionListener
creation.
Constructor and Description |
---|
SetPropertyActionListenerTag() |
Modifier and Type | Method and Description |
---|---|
int |
doStartTag()
Create a new instance of the
ActionListener
class, and register it with the UIComponent instance associated
with our most immediately surrounding UIComponentClassicTagBase
instance. |
void |
release()
Release references to any acquired resources.
|
void |
setTarget(javax.el.ValueExpression target)
Setter for the target attribute
|
void |
setValue(javax.el.ValueExpression value) |
public void setTarget(javax.el.ValueExpression target)
Setter for the target attribute
target
- The new class namepublic void setValue(javax.el.ValueExpression value)
public int doStartTag() throws javax.servlet.jsp.JspException
Create a new instance of the ActionListener
class, and register it with the UIComponent
instance associated
with our most immediately surrounding UIComponentClassicTagBase
instance. The behavior of the ActionListener
must conform
to the class description.
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
- if a JSP error occurspublic void release()
Release references to any acquired resources.
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.TagSupport
Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.