|
WebObjects 5.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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| 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. |
| Constructor Detail |
public WOComponentTag()
| Method Detail |
public int doEndTag()
throws javax.servlet.jsp.JspException
WOServletAdaptor.embeddedComponentResponsedoEndTag in class com.webobjects.jspservlet.WOTag
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in class com.webobjects.jspservlet.WOTagbindings or extraHeadersWOBindingTag,
WOExtraHeaderTag
public void setBinding(String key,
Object value)
key - the key of the bindingvalue - the value of the bindingWOComponentpublic 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 truepublic 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 Action
public 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.mergeHeader - indicates if only the WOResponse headers should be merged
with the ServletResponse's headers; default is false
|
Last updated Fri Feb 21 13:15:00 PST 2003. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||