|
WebObjects 5.2.3 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport javax.servlet.jsp.tagext.BodyTagSupport com.webobjects.jspservlet.WOTag com.webobjects.jspservlet.WOComponentTag
This is a regular JSP taglib handler that enables the use of a WOComponent within a JSP. Please see WOtaglib_1_0.tld for the most authoritative definition of the tag library, including the description of this class. This tag handler has the following tag attributes:
className
. The WOComponent class name. Required.bodyContentOnly
. Indicates if only the WOResponse body content is required.
The HTML headers will be stripped off if this is true
. Default is true
. Optional.mergeHeader
. Indicates if only the WOResponse headers should be merged
with the ServletResponse's headers. Default is false
. Optional.
WOComponent
,
WOBindingTag
,
WOExtraHeaderTag
,
Serialized FormField Summary |
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
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 | |
WOComponentTag()
|
Method Summary | |
int |
doEndTag()
Standard method to end the tag. |
int |
doStartTag()
Standard method to start using the tag. |
void |
setBinding(String key,
Object value)
Sets a key-value pair to be passed to the WOComponent for binding. |
void |
setBodyContentOnly(boolean bodyContentOnly)
Sets the attribute bodyContentOnly for this tag. |
void |
setClassname(String className)
Sets the attribute className for this tag. |
void |
setClassName(String className)
Sets the attribute className for this tag. |
void |
setExtraHeader(String key,
String value)
Sets a key-value pair to be set as an extra HTTP header to either the WOComponent or the Direct Action. |
void |
setMergeResponseHeaders(boolean mergeResponseHeaders)
Sets the attribute mergeResponseHeaders for this tag. |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
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 |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
Constructor Detail |
public WOComponentTag()
Method Detail |
public int doEndTag() throws javax.servlet.jsp.JspException
WOServletAdaptor.embeddedComponentResponse
javax.servlet.jsp.JspException
public int doStartTag() throws javax.servlet.jsp.JspException
bindings
or extraHeaders
javax.servlet.jsp.JspException
WOBindingTag
,
WOExtraHeaderTag
public void setBinding(String key, Object value)
key
- the key of the bindingvalue
- the value of the bindingWOComponent
public void setBodyContentOnly(boolean bodyContentOnly)
bodyContentOnly
for this tag.
This is called by the servlet container framework to pass in the value given the JSP.
bodyContentOnly
- indicates if only the WOResponse body content is required;
the HTML headers will be stripped off if this is true
; default is true
public void setClassName(String className)
className
for this tag. See the class description
for more details. This is called by the servlet container framework to pass in
the value given the JSP.
className
- the class name of the WOComponent or Direct Actionpublic void setClassname(String className)
className
for this tag. See the class description
for more details. This is called by the servlet container framework to pass in
the value given the JSP.
className
- the class name of the WOComponent or Direct Actionpublic void setExtraHeader(String key, String value)
key
- the header keyvalue
- the value of the headerpublic void setMergeResponseHeaders(boolean mergeResponseHeaders)
mergeResponseHeaders
for this tag. See the class description
for more details. This is called by the servlet container framework to pass in
the value given the JSP.
mergeResponseHeaders
- indicates if only the WOResponse headers should be merged
with the ServletResponse's headers; default is false
|
Last updated Thu Oct 21 15:04:16 PDT 2004. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |