public class

ErrorCodeTag

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

Summary

Public Constructors
ErrorCodeTag()
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 error code into an XML document.
void setDefaultValue(String defaultValue)
Specifies a default numeric value to be returned when there is no error code.
void setPropName(String propName)
Specifies a JSON property name to use when formatting the error code into a JSON expression.
[Expand]
Inherited Methods
From class com.microstrategy.web.app.taglibs.taskproc.ResponseContextTag
From class java.lang.Object

Public Constructors

public ErrorCodeTag ()

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 error code into an XML document. When specified, it will generate the following:

attrName="ERROR_CODE"

Parameters
attrName The XML attribute name to use.

public void setDefaultValue (String defaultValue)

Specifies a default numeric value to be returned when there is no error code.

Parameters
defaultValue The default numeric value to use.

public void setPropName (String propName)

Specifies a JSON property name to use when formatting the error code into a JSON expression. When specified, it will generate the following:

'propName': ERROR_CODE

Parameters
propName The name of the JavaScript property to use.