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

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.GrouperInfodotTag
All Implemented Interfaces:
Serializable, BodyTag, IterationTag, JspTag, Tag

public class GrouperInfodotTag
extends BodyTagSupport

 This will generate an infodot image which when clicked will hide/show some instructions
 
 Generates something like this:
 
 <a href="#" onclick="return grouperHideShow(event, 'firstHideShow');"><img
  src="grouper/images/infodot.gif" border="0" alt="More Information" class="infodotImage"
  height="16" width="16" /></a>
 

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
GrouperInfodotTag()
          init fields on construct
 
Method Summary
 int doEndTag()
           
 void release()
          Releases any resources we may have (or inherit)
 void setHideShowHtmlId(String hideShowHtmlId1)
          id of the html element to hide/show (actually it is the prefix, needs an index after, which is generated by the hide/show tag
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, 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

GrouperInfodotTag

public GrouperInfodotTag()
init fields on construct

Method Detail

release

public void release()
Releases any resources we may have (or inherit)

Specified by:
release in interface Tag
Overrides:
release in class BodyTagSupport

setHideShowHtmlId

public void setHideShowHtmlId(String hideShowHtmlId1)
id of the html element to hide/show (actually it is the prefix, needs an index after, which is generated by the hide/show tag

Parameters:
hideShowHtmlId1 - the hideShowHtmlId 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()