Expresso 5-6

com.jcorporate.expresso.ext.taglib
Class OutputTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bycom.jcorporate.expresso.ext.taglib.ExpressoTagSupport
          extended bycom.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

Field Summary
 
Fields inherited from class com.jcorporate.expresso.ext.taglib.ExpressoTagSupport
ctlrResp, response
 
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
OutputTag()
           
 
Method Summary
 int doEndTag()
          Standard doEndTag.
 int doStartTag()
          Do nothing until end tag.
 String getContent()
           
 String getName()
           
 Output getOutput()
           
 void setContent(String newContent)
          GET / SET Name
 void setName(String newName)
           
 
Methods inherited from class com.jcorporate.expresso.ext.taglib.ExpressoTagSupport
getAncestor, getContainer, getControllerResponse, getResponse, setResponse
 
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
 

Constructor Detail

OutputTag

public OutputTag()
Method Detail

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

Expresso 5-6

Please see www.jcorporate.com for information about new Expresso releases.