|
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.WODirectActionTag
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:
WODirectAction
,
WOExtraHeaderTag
,
WOFormValueTag
,
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 | |
WODirectActionTag()
|
Method Summary | |
int |
doEndTag()
Standard method to end the tag. |
int |
doStartTag()
Standard method to start using the tag. |
void |
setActionName(String className)
Sets the attribute actionName for this tag. |
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 |
setContentStream(InputStream is)
Sets the content of the WOResponse as seen by the Direct Action. |
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 |
setFormValue(String key,
String value)
Sets a key-value pair to be passed to the Direct Action as a form value in the queryString. |
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 WODirectActionTag()
Method Detail |
public int doEndTag() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
public int doStartTag() throws javax.servlet.jsp.JspException
formValues
or extraHeaders
javax.servlet.jsp.JspException
WOFormValueTag
,
WOExtraHeaderTag
public void setActionName(String className)
actionName
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 Direct Action namepublic void setContentStream(InputStream is)
is
- the InputStream representing the contentpublic void setFormValue(String key, String value)
key
- the key of the form valuevalue
- the value of the form valuepublic 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 |