Class ShortcutPropertyTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- com.microstrategy.web.app.taglibs.ShortcutPropertyTag
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class ShortcutPropertyTag extends javax.servlet.jsp.tagext.TagSupport
- Since:
- MicroStrategy Web 7.3.1 or earlier
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ShortcutPropertyTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
doStartTag()
Processes the start tag for this instance.void
release()
Utility method for cleaning up the properties on the custom tag instance.void
setName(java.lang.String value)
Indicates a unique identifier for the property to be added to the tags that include it on its definition.void
setSelectedValue(java.lang.String value)
Indicates the property value to add when the shortcut element to render in that pass is marked as selected.void
setValue(java.lang.String value)
Indicates the property value to add when the shortcut element to render in that pass is not marked as selected.
-
-
-
Method Detail
-
release
public void release()
Utility method for cleaning up the properties on the custom tag instance.- Specified by:
release
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
release
in classjavax.servlet.jsp.tagext.TagSupport
-
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException
Processes the start tag for this instance. The doStartTag() method assumes that all setter methods have been invoked before.- Specified by:
doStartTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in classjavax.servlet.jsp.tagext.TagSupport
- Returns:
- SKIP_BODY since it does not want to process or display it.
- Throws:
javax.servlet.jsp.JspException
- if an error is risen when displaying the custom tag contents
-
setName
public void setName(java.lang.String value)
Indicates a unique identifier for the property to be added to the tags that include it on its definition.
Usage:
The same name specified in this custom tag as the name property needs to be added to each and every HTML tag inside theShortcutOptionsTag
tag that is required to have the special attributes added to it.- Parameters:
value
-String
value of the identifier for the property
-
setValue
public void setValue(java.lang.String value)
Indicates the property value to add when the shortcut element to render in that pass is not marked as selected.
Usage:
An example value of this attribute could beCLASS=notSelectedClass
- Parameters:
value
-String
value of the property to apply to not-selected shortcuts/options
-
setSelectedValue
public void setSelectedValue(java.lang.String value)
Indicates the property value to add when the shortcut element to render in that pass is marked as selected.
Usage:
An example value of this attribute could beCLASS=selectedClass
- Parameters:
value
-String
value of the property to apply to selected shortcuts/options
-
-