org.apache.myfaces.custom.updateactionlistener
Class UpdateActionListenerTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.apache.myfaces.custom.updateactionlistener.UpdateActionListenerTag
- All Implemented Interfaces:
- Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
public class UpdateActionListenerTag
- extends javax.servlet.jsp.tagext.TagSupport
Registers an org.apache.myfaces.custom.updateactionlistener.UpdateActionListener
at the parent component (which must be an ActionSource).
When the parent's action fires the specified value is evaluated,
then written into the specified property.
Unless otherwise specified, all attributes accept static values or EL expressions.
JSF 1.2 introduces a "setPropertyActionListener" with the same functionality like this.
- Version:
- $Revision: 673833 $ $Date: 2008-07-03 16:58:05 -0500 (Thu, 03 Jul 2008) $
- Author:
- Manfred Geiler (latest modification by $Author: skitching $)
- See Also:
- Serialized Form
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 |
Method Summary |
int |
doStartTag()
|
void |
release()
|
void |
setConverter(String converter)
The name of a registered Converter object which will be
invoked to convert the value into an appropriate datatype
for assigning to the specified property. |
void |
setProperty(String property)
A value-binding that specifies a property to be updated when
the parent's action occurs. |
void |
setValue(String value)
A literal value or value-binding that specifies what
will be assigned to the destination specified by the
property attribute. |
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 |
UpdateActionListenerTag
public UpdateActionListenerTag()
setProperty
public void setProperty(String property)
- A value-binding that specifies a property to be updated when
the parent's action occurs.
setValue
public void setValue(String value)
- A literal value or value-binding that specifies what
will be assigned to the destination specified by the
property attribute.
setConverter
public void setConverter(String converter)
- The name of a registered Converter object which will be
invoked to convert the value into an appropriate datatype
for assigning to the specified property. If not specified
then an appropriate converter will be selected automatically.
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Specified by:
doStartTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException
release
public void release()
- Specified by:
release
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
release
in class javax.servlet.jsp.tagext.TagSupport
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.