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

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

public class GrouperTooltipTag
extends BodyTagSupport

 This will generate a toolip (e.g. on an image or other HTML element).
 Note, if the element is text based, you can just use a grouper:message
 and potentially a targetted tooltip to do ths job
 
 This outputs an onmouseover tag, so nest this in an html tag...
 
 

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
GrouperTooltipTag()
          init fields on construct
 
Method Summary
 int doEndTag()
           
 String getKey()
          key of the nav.properties for text in subtitle
 String getParam1()
          first param value of the string
 String getParam2()
          second param value of the string
 void release()
          Releases any resources we may have (or inherit)
 void setKey(String _key)
          key of the nav.properties for text in subtitle
 void setParam1(String _param1)
          first param value of the string
 void setParam2(String _param2)
          second param value of the string
 
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

GrouperTooltipTag

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

doEndTag

public int doEndTag()
             throws JspException
Specified by:
doEndTag in interface Tag
Overrides:
doEndTag in class BodyTagSupport
Throws:
JspException
See Also:
BodyTagSupport.doEndTag()

getKey

public String getKey()
key of the nav.properties for text in subtitle

Returns:
the key

setKey

public void setKey(String _key)
key of the nav.properties for text in subtitle

Parameters:
_key - the key to set

getParam1

public String getParam1()
first param value of the string

Returns:
the param1

setParam1

public void setParam1(String _param1)
first param value of the string

Parameters:
_param1 - the param1 to set

getParam2

public String getParam2()
second param value of the string

Returns:
the param2

setParam2

public void setParam2(String _param2)
second param value of the string

Parameters:
_param2 - the param2 to set