com.sun.faces.taglib.jsf_core
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.
Modifier and Type | Field and Description |
---|---|
(package private) static long |
serialVersionUID |
private javax.el.ValueExpression |
target
The target of the value attribute.
|
private javax.el.ValueExpression |
value
The value that is set into the target attribute.
|
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) |
static final long serialVersionUID
private javax.el.ValueExpression target
The target of the value attribute.
private javax.el.ValueExpression value
The value that is set into the target attribute.
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
Copyright © 2002-2010 Oracle America, Inc. All Rights Reserved.