edu.internet2.middleware.grouper.ui.tags
Class GrouperHideShowButtonText

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by 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

Field Summary
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
GrouperHideShowButtonText()
           
 
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
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

GrouperHideShowButtonText

public GrouperHideShowButtonText()
Method Detail

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()