|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.apache.struts.taglib.html.OptionTag
com.ivata.mask.web.tag.html.OptionTag
Overrides an HTML <option> tag, by overriding the class
from Struts .
Tag attributes:
| attribute | reqd. | param. class | description |
|---|---|---|---|
| title | false | java.lang.String |
Title or tool-tip to be displayed when the mouse is over this option. |
| readOnly | false | boolean |
Specifies the form elements should be displayed only and cannot be altered. |
| valueKey | true | java.lang.String |
Specifies the localized text to use when the field is read-only. |
Note: all the tag attributes from Stuts are also included.
| Field Summary |
| Fields inherited from class org.apache.struts.taglib.html.OptionTag |
bundle, defaultLocale, disabled, key, locale, messages, styleId, text, value |
| Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
| 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 | |
OptionTag()
|
|
| Method Summary | |
int |
doEndTag()
Overridden to add the title attribute and set the value in text in the surrounding select tag. |
java.lang.String |
getTitle()
Tooltip or title to be displayed when the mouse is over this option. |
void |
setTitle(java.lang.String titleParam)
Tooltip or title to be displayed when the mouse is over this option. |
| Methods inherited from class org.apache.struts.taglib.html.OptionTag |
doAfterBody, doStartTag, getBundle, getDisabled, getKey, getLocale, getStyle, getStyleClass, getStyleId, getValue, release, renderOptionElement, setBundle, setDisabled, setKey, setLocale, setStyle, setStyleClass, setStyleId, setValue, text |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doInitBody, 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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
| Constructor Detail |
public OptionTag()
| Method Detail |
public int doEndTag()
throws javax.servlet.jsp.JspException
Overridden to add the title attribute and set the value in text in the surrounding select tag.
EVAL_PAGE since we always want to evaluate the
page after this tag.
javax.servlet.jsp.JspException - if there is an error wrting to out.print()public java.lang.String getTitle()
Tooltip or title to be displayed when the mouse is over this option.
public final void setTitle(java.lang.String titleParam)
Tooltip or title to be displayed when the mouse is over this option.
titleParam - the new value of title.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||