Class ErrorCodeTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- com.microstrategy.web.app.taglibs.taskproc.ResponseContextTag
-
- com.microstrategy.web.app.taglibs.taskproc.ErrorCodeTag
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class ErrorCodeTag extends ResponseContextTag
- Since:
- MicroStrategy Web 8.1.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ErrorCodeTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseContextTagHelper
getHelper()
Method for retrieving the helper related with the tag.void
setAttrName(java.lang.String attrName)
Specifies an XML attribute name to use when formatting the error code into an XML document.void
setDefaultValue(java.lang.String defaultValue)
Specifies a default numeric value to be returned when there is no error code.void
setPropName(java.lang.String propName)
Specifies a JSON property name to use when formatting the error code into a JSON expression.-
Methods inherited from class com.microstrategy.web.app.taglibs.taskproc.ResponseContextTag
doEndTag, doStartTag, release
-
-
-
-
Method Detail
-
getHelper
public ResponseContextTagHelper getHelper()
Description copied from class:ResponseContextTag
Method for retrieving the helper related with the tag.- Specified by:
getHelper
in classResponseContextTag
- Returns:
- an instance from
ResponseContextTagHelper
which takes care of processing and rendering the HTML contents related with this tag.
-
setAttrName
public void setAttrName(java.lang.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.
-
setPropName
public void setPropName(java.lang.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.
-
setDefaultValue
public void setDefaultValue(java.lang.String defaultValue)
Specifies a default numeric value to be returned when there is no error code.- Parameters:
defaultValue
- The default numeric value to use.- Since:
- MicroStrategy Web 9.0.0
-
-