com.jcorporate.expresso.ext.taglib
Class OutputTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
com.jcorporate.expresso.ext.taglib.ExpressoTagSupport
com.jcorporate.expresso.ext.taglib.OutputTag
- All Implemented Interfaces:
- IterationTag, Serializable, Tag
- public class OutputTag
- extends ExpressoTagSupport
OutputTag is a tag that by itself does not display anything. The
OutputTag must have a start and end tag. Between these tags,
the ContentTag can be used to place the content from the Output,
and the AttributeTag can be used to place attributes of the Output.
The OutputTag can also be used to fetch out nested outputs, if one
OutputTag is nested within another one. Right now only one level
of nesting is supported. We need to do this recursively.
Usage example:
Content Area:
Attribute:
Nested Output:
- 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 |
OutputTag
public OutputTag()
doEndTag
public int doEndTag()
throws JspTagException
- Standard doEndTag.
- Returns:
- int
- Throws:
JspTagException
doStartTag
public int doStartTag()
throws JspTagException
- Do nothing until end tag.
- Returns:
- int
- Throws:
JspTagException - The exception description.
getContent
public String getContent()
getName
public String getName()
getOutput
public Output getOutput()
setContent
public void setContent(String newContent)
- GET / SET Name
- Parameters:
newContent - the new content for the output
setName
public void setName(String newName)
- Parameters:
newName - the new name for the output
Please see www.jcorporate.com for information about new Expresso releases.