Class ValueTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- com.microstrategy.web.app.taglibs.AbstractNoBodyTag
-
- com.microstrategy.web.app.taglibs.ValueTag
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class ValueTag extends AbstractNoBodyTag
- Since:
- MicroStrategy Web 7.3.1 or earlier
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValueTag()
-
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
setAttribute(java.lang.String value)
Sets the value assigned to the attribute attribute of the custom tag instance that uses this helpervoid
setName(java.lang.String value)
Indicates the name of the variable whose value we are supposed to render.void
setPostContent(java.lang.String value)
Sets the value assigned to appear after the value of this tagvoid
setPreContent(java.lang.String value)
Sets the value assigned to appear before the value of this tagvoid
setPropsetName(java.lang.String value)
Sets the value assigned to the propsetName attribute of the custom tag instance that uses this helpervoid
setType(java.lang.String value)
Indicates the type of the variable whose value we are supposed to render.-
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.
-
setName
public void setName(java.lang.String value)
Indicates the name of the variable whose value we are supposed to render.
If the type attribute is set to 'misc', the valid values for this attribute include:
- unitsLabel returns the label (cm, inches, pixels, etc) from the user preferences
- units returns the corresponding unit id for the length units (cm, inches, pixels, etc)
- browserSpecificCSS returns the name of the css file used exclusively by the current browser
- officeSetup returns the link to the mstr office configuration page
- Parameters:
value
- The name of the variable whose value we are supposed to render.
-
setType
public void setType(java.lang.String value)
Indicates the type of the variable whose value we are supposed to render.
The list of valid values for this attribute include:
- requestKey will look for the property name in the
RequestKeys
instance available- browserSetting will look for the property name in the
BrowserSettings
instance available- systemPreference will look for the property name in the
Preferences
instance available for System Preferences- preference will look for the property name in the
Preferences
instance available for User Preferences- config will look for the property name in the configuration parameters as specified in the web.xml file
- enum will look for the property name in the enumeration specified in the name argument
- misc indicates a miscellaneous value type. The value type needs to be specified in the name attribute
- httpSession will look for the property name in the httpSession stored in ServiceContainer instance
- Parameters:
value
- The type of the variable whose value we are supposed to render.
- requestKey will look for the property name in the
-
setAttribute
public void setAttribute(java.lang.String value)
Sets the value assigned to the attribute attribute of the custom tag instance that uses this helper- Parameters:
value
-String
to which we will assign the value of this tag.
-
setPropsetName
public void setPropsetName(java.lang.String value)
Sets the value assigned to the propsetName attribute of the custom tag instance that uses this helper- Parameters:
value
-String
to which we will assign the value of this tag.
-
setPreContent
public void setPreContent(java.lang.String value)
Sets the value assigned to appear before the value of this tag- Parameters:
value
-String
that will appear before the value of this tag.- Since:
- MicroStrategy Web 8.0.0
-
setPostContent
public void setPostContent(java.lang.String value)
Sets the value assigned to appear after the value of this tag- Parameters:
value
-String
that will appear after the value of this tag.- Since:
- MicroStrategy Web 8.0.0
-
-