public class SetPropertyActionListenerTag
extends jakarta.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
created
This 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(jakarta.el.ValueExpression target)
Setter for the target attribute
|
void |
setValue(jakarta.el.ValueExpression value) |
public void setTarget(jakarta.el.ValueExpression target)
Setter for the target attribute
target - The new class namepublic void setValue(jakarta.el.ValueExpression value)
public int doStartTag()
throws jakarta.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 jakarta.servlet.jsp.tagext.TagdoStartTag in class jakarta.servlet.jsp.tagext.TagSupportjakarta.servlet.jsp.JspException - if a JSP error occurspublic void release()
Release references to any acquired resources.
release in interface jakarta.servlet.jsp.tagext.Tagrelease in class jakarta.servlet.jsp.tagext.TagSupportCopyright © 2010–2022 JBoss by Red Hat. All rights reserved.