|
WebObjects 5.4.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
com.webobjects.jspservlet.WODirectActionTag
public class WODirectActionTag
Field 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 name)
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 void setActionName(String name)
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.
name
- the Direct Action namepublic void setFormValue(String key, String value)
key
- the key of the form valuevalue
- the value of the form valuepublic void setContentStream(InputStream is)
is
- the InputStream representing the contentpublic int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
formValues
or extraHeaders
javax.servlet.jsp.JspException
WOFormValueTag
,
WOExtraHeaderTag
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
javax.servlet.jsp.JspException
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 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 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 June 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |