Class ErrorValueTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- com.microstrategy.web.app.taglibs.AbstractNoBodyTag
-
- com.microstrategy.web.app.taglibs.ErrorValueTag
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class ErrorValueTag extends AbstractNoBodyTag
- Since:
- MicroStrategy Web 7.3.1 or earlier
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ErrorValueTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractNoBodyTagHelper
getHelper()
Method for retrieving the helper associated with the tag.void
setDefault(java.lang.String value)
Indicates if a default message should be displayed, instead of the one that had been specified for this error (if any).void
setProperty(java.lang.String value)
Indicates the property of the error to get displayed.-
Methods inherited from class com.microstrategy.web.app.taglibs.AbstractNoBodyTag
doEndTag, doStartTag, release
-
-
-
-
Method Detail
-
getHelper
public AbstractNoBodyTagHelper getHelper()
Method for retrieving the helper associated with the tag.- Specified by:
getHelper
in classAbstractNoBodyTag
- Returns:
- an instance of
AbstractNoBodyTagHelper
which will take care of processing and rendering the HTML contents associated with this tag.
-
setProperty
public void setProperty(java.lang.String value)
Indicates the property of the error to get displayed.
Usage:
Possible values for this attribute include:
- stackTrace - for rendering the stack trace information about the exception
- root - for rendering the root of the exception, if available.
- title - for displaying the title of the error to show, obtained from the template's definition.
- message - for displaying the message defined for the exception.
- contactInfo - for rendering contact information defined for the application, in case of errors.
- Parameters:
value
-String
value with the property of the error to display.
-
setDefault
public void setDefault(java.lang.String value)
Indicates if a default message should be displayed, instead of the one that had been specified for this error (if any).
Usage:
The value defined for this attribute might be one or more descriptors to display to the user. For example:
<web:errorValue property="message" default="mstrWeb.838;mstrWeb.837"/>
This will display as error message a concatenation of the strings coming from the descriptors 838 and 837.- Parameters:
value
-String
with the default message(s) that should be displayed to the user.
-
-