com.jcorporate.expresso.ext.taglib
Class AttributeTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
com.jcorporate.expresso.ext.taglib.ExpressoTagSupport
com.jcorporate.expresso.ext.taglib.AttributeTag
- All Implemented Interfaces:
- IterationTag, Serializable, Tag
- public class AttributeTag
- extends ExpressoTagSupport
The AttributeTag can be used to display attributes from Input
or Output objects. The AttributeTag can either be used
stand-alone, in which case all the arguments are required,
or nested within and OutputTag or InputTag, in which case only
the attribute name must be specified.
Note: Arguments specified in the tag override the arguments of
any parent class.
Usage example when tag is not nested:
Usage example when nested within an output:
Content Area:
Attribute:
Nested Output:
- Version:
- $Revision: 1.10 $ $Date: 2003/10/27 19:10:38 $
- Author:
- Adam Rossi, PlatinumSolutions
- See Also:
- Serialized Form
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeTag
public AttributeTag()
doStartTag
public int doStartTag()
throws JspException
- Throws:
JspException
doEndTag
public int doEndTag()
throws JspTagException
- Standard doEndTag.
- Returns:
- int
- Throws:
JspTagException
getControllerElement
public String getControllerElement()
- GET / SET controllerElement
Retrieve the controller element name for the attribute tag
- Returns:
- java.lang.String
getName
public String getName()
getType
public String getType()
setControllerElement
public void setControllerElement(String newControllerElement)
setName
public void setName(String newName)
- GET / SET Name
- Parameters:
newName - the new name of the attribute
setType
public void setType(String newType)
- GET / SET type
- Parameters:
newType - the new type of the attribute
Please see www.jcorporate.com for information about new Expresso releases.