edu.internet2.middleware.grouper.ui.tags
Class GrouperHideShowButtonText
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
edu.internet2.middleware.grouper.ui.tags.GrouperHideShowButtonText
- All Implemented Interfaces:
- Serializable, BodyTag, IterationTag, JspTag, Tag
public class GrouperHideShowButtonText
- extends BodyTagSupport
This tag:
<grouper:hideShowTarget hideShowHtmlId="firstHideShow" showInitially="false"
omitStyle="false" />
generates the html:
id="firstHideShow0" style="display:none;"
Use this tag like this:
<div <grouper:hideShowTarget hideShowHtmlId="firstHideShow" showInitially="false"
omitClass="true" omitStyle="true" /> >
Here is help <b>text</b> that explains whatever this infodot is explaining
</div>
- Author:
- mchyzer
- See Also:
- Serialized Form
Method Summary |
int |
doEndTag()
|
boolean |
omitStyle()
boolean value (and validate) for omitStyle |
void |
setHideShowHtmlId(String hideShowHtmlId1)
id of the html tag (actually it will appear an int so multiple can be used). |
void |
setOmitStyle(String omitStyle1)
if true do not generate the style attribute |
void |
setShowInitially(String showInitially1)
if the element should be shown on page draw (default is no) |
boolean |
showInitially()
boolean value (and validate) for showInitially |
GrouperHideShowButtonText
public GrouperHideShowButtonText()
setHideShowHtmlId
public void setHideShowHtmlId(String hideShowHtmlId1)
- id of the html tag (actually it will appear an int so multiple can be used).
This must match the infodot tag (or any call to grouperHideShow javascript function)
- Parameters:
hideShowHtmlId1
- the hideShowHtmlId to set
showInitially
public boolean showInitially()
- boolean value (and validate) for showInitially
- Returns:
- boolean value
setShowInitially
public void setShowInitially(String showInitially1)
- if the element should be shown on page draw (default is no)
- Parameters:
showInitially1
- the showInitially to set
omitStyle
public boolean omitStyle()
- boolean value (and validate) for omitStyle
- Returns:
- boolean value
setOmitStyle
public void setOmitStyle(String omitStyle1)
- if true do not generate the style attribute
- Parameters:
omitStyle1
- the omitStyle to set
doEndTag
public int doEndTag()
throws JspException
- Specified by:
doEndTag
in interface Tag
- Overrides:
doEndTag
in class BodyTagSupport
- Throws:
JspException
- See Also:
BodyTagSupport.doEndTag()