public class

StatusCodeTag

extends ResponseContextTag
java.lang.Object
   ↳ TagSupport
     ↳ com.microstrategy.web.app.taglibs.taskproc.ResponseContextTag
       ↳ com.microstrategy.web.app.taglibs.taskproc.StatusCodeTag

Summary

Public Constructors
StatusCodeTag()
Public Methods
ResponseContextTagHelper getHelper()
Method for retrieving the helper related with the tag.
void setAttrName(String attrName)
Specifies an XML attribute name to use when formatting the status code into an XML document.
[Expand]
Inherited Methods
From class com.microstrategy.web.app.taglibs.taskproc.ResponseContextTag
From class java.lang.Object

Public Constructors

public StatusCodeTag ()

Public Methods

public ResponseContextTagHelper getHelper ()

Method for retrieving the helper related with the tag.

Returns
  • an instance from ResponseContextTagHelper which takes care of processing and rendering the HTML contents related with this tag.

public void setAttrName (String attrName)

Specifies an XML attribute name to use when formatting the status code into an XML document. When specified, it will generate the following:

attrName="STATUS_CODE"
In the special case that the attribute name is "HTTP_HEADER" then the status code is set as the HTTP Status Code. In this case, an error message is also set as a HTTP Header (X-MSTR-TaskFailureMsg) as is the error code (X-MSTR-TaskErrorCode).

Parameters
attrName The XML attribute name to use.