|
|||||||||||
| 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.BaseHandlerTag
com.ivata.mask.web.tag.html.HelpTag
Create a JavaScript button which links to window with help functionality for ivata op
This class uses the class to
detect whether or not the client browser is capable of displaying Java
Script . If not, the button will not appear.
Tag attributes:
| attribute | reqd. | param. class | description |
|---|---|---|---|
| key | false | java.lang.String |
Specifies a key to use to display the correct page in the help window. If this parameter is left out, the default welcome help page is displayed. |
Note: all the tag attributes from BaseHandlerTag are also included.
| Field Summary |
| Fields inherited from class org.apache.struts.taglib.html.BaseHandlerTag |
accesskey, defaultLocale, indexed, messages, tabindex |
| 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 | |
HelpTag()
|
|
| Method Summary | |
int |
doEndTag()
Overridden to output the JavaScript and input button. |
java.lang.String |
getKey()
Get the key of the default help page to display. |
JavaScriptWindow |
getWindow()
Generates the JavaScript to display the help window. |
void |
setKey(java.lang.String keyParam)
Set the key of the default help page to display. |
void |
setWindow(JavaScriptWindow windowParam)
Generates the JavaScript to display the help window. |
| Methods inherited from class org.apache.struts.taglib.html.BaseHandlerTag |
getAccesskey, getAlt, getAltKey, getBundle, getDisabled, getElementClose, getIndexed, getLocale, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getReadonly, getStyle, getStyleClass, getStyleId, getTabindex, getTitle, getTitleKey, isXhtml, lookupProperty, message, prepareEventHandlers, prepareFocusEvents, prepareIndex, prepareKeyEvents, prepareMouseEvents, prepareStyles, prepareTextEvents, release, setAccesskey, setAlt, setAltKey, setBundle, setDisabled, setIndexed, setLocale, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setStyle, setStyleClass, setStyleId, setTabindex, setTitle, setTitleKey |
| 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 |
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 HelpTag()
| Method Detail |
public java.lang.String getKey()
Get the key of the default help page to display. If null,
the default welcome help page is shown.
public void setKey(java.lang.String keyParam)
Set the key of the default help page to display. If null,
the default welcome help page is shown.
keyParam - the new value of key.
public int doEndTag()
throws javax.servlet.jsp.JspException
Overridden to output the JavaScript and input button.
EVAL_PAGE since we want to evaluate the page after
this tag.
javax.servlet.jsp.JspException - if there is an error writing to out.print()public final JavaScriptWindow getWindow()
Generates the JavaScript to display the help window.
public final void setWindow(JavaScriptWindow windowParam)
Generates the JavaScript to display the help window.
windowParam - the new value of window.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||