public class

ValueTag

extends AbstractNoBodyTag
java.lang.Object
   ↳ javax.servlet.jsp.tagext.TagSupport
     ↳ com.microstrategy.web.app.taglibs.AbstractNoBodyTag
       ↳ com.microstrategy.web.app.taglibs.ValueTag

Summary

[Expand]
Inherited Constants
From interface javax.servlet.jsp.tagext.IterationTag
From interface javax.servlet.jsp.tagext.Tag
[Expand]
Inherited Fields
From class javax.servlet.jsp.tagext.TagSupport
Public Constructors
ValueTag()
Public Methods
AbstractNoBodyTagHelper getHelper()
Method for retrieving the helper associated with the tag.
void setAttribute(String value)
Sets the value assigned to the attribute attribute of the custom tag instance that uses this helper
void setName(String value)
Indicates the name of the variable whose value we are supposed to render.
void setPostContent(String value)
Sets the value assigned to appear after the value of this tag
void setPreContent(String value)
Sets the value assigned to appear before the value of this tag
void setType(String value)
Indicates the type of the variable whose value we are supposed to render.
[Expand]
Inherited Methods
From class com.microstrategy.web.app.taglibs.AbstractNoBodyTag
From class javax.servlet.jsp.tagext.TagSupport
From class java.lang.Object
From interface javax.servlet.jsp.tagext.IterationTag
From interface javax.servlet.jsp.tagext.Tag

Public Constructors

public ValueTag ()

Public Methods

public AbstractNoBodyTagHelper getHelper ()

Method for retrieving the helper associated with the tag.

Returns
  • an instance of AbstractNoBodyTagHelper which will take care of processing and rendering the HTML contents associated with this tag.

public void setAttribute (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.

public void setName (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.

    public void setPostContent (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.

    public void setPreContent (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.

    public void setType (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.