|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
com.sun.faces.taglib.jsf_core.SetPropertyActionListenerTag
public class SetPropertyActionListenerTag
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.
Field Summary |
---|
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
---|
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
SetPropertyActionListenerTag()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SetPropertyActionListenerTag()
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |