|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
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
com.ibm.btt.struts.taglib.html.BaseHandlerTag
Field Summary | |
---|---|
protected java.lang.String |
accesskey
Access key character. |
protected static java.util.Locale |
defaultLocale
The default Locale for our server. |
protected boolean |
indexed
Whether to created indexed names for fields |
protected static org.apache.struts.util.MessageResources |
messages
The message resources for this package. |
protected java.lang.String |
tabindex
Tab index 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 | |
---|---|
BaseHandlerTag()
|
Method Summary | |
---|---|
java.lang.String |
getAccesskey()
Returns the accessKey character. |
java.lang.String |
getAlt()
Returns the alternate text attribute. |
java.lang.String |
getAltKey()
Returns the message resources key of the alternate text. |
java.lang.String |
getBundle()
Returns the name of the message resources bundle to use. |
boolean |
getDisabled()
Returns the disabled event handler. |
protected java.lang.String |
getElementClose()
Returns the closing brace for an input element depending on xhtml status. |
boolean |
getIndexed()
Returns the indexed value. |
java.lang.String |
getLocale()
Returns the name of the session attribute for our locale. |
java.lang.String |
getOnblur()
Returns the onBlur event handler. |
java.lang.String |
getOnchange()
Returns the onChange event handler. |
java.lang.String |
getOnclick()
Returns the onClick event handler. |
java.lang.String |
getOndblclick()
Returns the onDblClick event handler. |
java.lang.String |
getOnfocus()
Returns the onFocus event handler. |
java.lang.String |
getOnkeydown()
Returns the onKeyDown event handler. |
java.lang.String |
getOnkeypress()
Returns the onKeyPress event handler. |
java.lang.String |
getOnkeyup()
Returns the onKeyUp event handler. |
java.lang.String |
getOnmousedown()
Returns the onMouseDown event handler. |
java.lang.String |
getOnmousemove()
Returns the onMouseMove event handler. |
java.lang.String |
getOnmouseout()
Returns the onMouseOut event handler. |
java.lang.String |
getOnmouseover()
Returns the onMouseOver event handler. |
java.lang.String |
getOnmouseup()
Returns the onMouseUp event handler. |
java.lang.String |
getOnselect()
Returns the onSelect event handler. |
boolean |
getReadonly()
Returns the readonly event handler. |
java.lang.String |
getStyle()
Returns the style attribute. |
java.lang.String |
getStyleClass()
Returns the style class attribute. |
java.lang.String |
getStyleId()
Returns the style id attribute. |
java.lang.String |
getTabindex()
Returns the tabIndex value. |
java.lang.String |
getTitle()
Returns the advisory title attribute. |
java.lang.String |
getTitleKey()
Returns the message resources key of the advisory title. |
protected boolean |
isXhtml()
Allows HTML tags to find out if they're nested within an %lt;html:html> tag that has xhtml set to true. |
protected java.lang.String |
lookupProperty(java.lang.String beanName,
java.lang.String property)
Searches all scopes for the bean and calls BeanUtils.getProperty() with the given arguments and converts any exceptions into JspException. |
protected java.lang.String |
message(java.lang.String literal,
java.lang.String key)
Return the text specified by the literal value or the message resources key, if any; otherwise return null . |
protected java.lang.String |
prepareEventHandlers()
Prepares the event handlers for inclusion in the component's HTML tag. |
protected void |
prepareFocusEvents(java.lang.StringBuffer handlers)
Prepares the focus event handlers, appending them to the the given StringBuffer. |
protected void |
prepareIndex(java.lang.StringBuffer handlers,
java.lang.String name)
Appends bean name with index in brackets for tags with 'true' value in 'indexed' attribute. |
protected void |
prepareKeyEvents(java.lang.StringBuffer handlers)
Prepares the keyboard event handlers, appending them to the the given StringBuffer. |
protected void |
prepareMouseEvents(java.lang.StringBuffer handlers)
Prepares the mouse event handlers, appending them to the the given StringBuffer. |
protected java.lang.String |
prepareStyles()
Prepares the style attributes for inclusion in the component's HTML tag. |
protected void |
prepareTextEvents(java.lang.StringBuffer handlers)
Prepares the text event handlers, appending them to the the given StringBuffer. |
void |
release()
Release any acquired resources. |
void |
setAccesskey(java.lang.String accessKey)
Sets the accessKey character. |
void |
setAlt(java.lang.String alt)
Sets the alternate text attribute. |
void |
setAltKey(java.lang.String altKey)
Sets the message resources key of the alternate text. |
void |
setBundle(java.lang.String bundle)
Sets the name of the message resources bundle to use. |
void |
setDisabled(boolean disabled)
Sets the disabled event handler. |
void |
setIndexed(boolean indexed)
Sets the indexed value. |
void |
setLocale(java.lang.String locale)
Sets the name of the session attribute for our locale. |
void |
setOnblur(java.lang.String onBlur)
Sets the onBlur event handler. |
void |
setOnchange(java.lang.String onChange)
Sets the onChange event handler. |
void |
setOnclick(java.lang.String onClick)
Sets the onClick event handler. |
void |
setOndblclick(java.lang.String onDblClick)
Sets the onDblClick event handler. |
void |
setOnfocus(java.lang.String onFocus)
Sets the onFocus event handler. |
void |
setOnkeydown(java.lang.String onKeyDown)
Sets the onKeyDown event handler. |
void |
setOnkeypress(java.lang.String onKeyPress)
Sets the onKeyPress event handler. |
void |
setOnkeyup(java.lang.String onKeyUp)
Sets the onKeyUp event handler. |
void |
setOnmousedown(java.lang.String onMouseDown)
Sets the onMouseDown event handler. |
void |
setOnmousemove(java.lang.String onMouseMove)
Sets the onMouseMove event handler. |
void |
setOnmouseout(java.lang.String onMouseOut)
Sets the onMouseOut event handler. |
void |
setOnmouseover(java.lang.String onMouseOver)
Sets the onMouseOver event handler. |
void |
setOnmouseup(java.lang.String onMouseUp)
Sets the onMouseUp event handler. |
void |
setOnselect(java.lang.String onSelect)
Sets the onSelect event handler. |
void |
setReadonly(boolean readonly)
Sets the readonly event handler. |
void |
setStyle(java.lang.String style)
Sets the style attribute. |
void |
setStyleClass(java.lang.String styleClass)
Sets the style class attribute. |
void |
setStyleId(java.lang.String styleId)
Sets the style id attribute. |
void |
setTabindex(java.lang.String tabIndex)
Sets the tabIndex value. |
void |
setTitle(java.lang.String title)
Sets the advisory title attribute. |
void |
setTitleKey(java.lang.String titleKey)
Sets the message resources key of the advisory title. |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
---|
doAfterBody, doEndTag, 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 |
Field Detail |
protected static final java.util.Locale defaultLocale
protected static org.apache.struts.util.MessageResources messages
protected java.lang.String accesskey
protected java.lang.String tabindex
protected boolean indexed
Constructor Detail |
public BaseHandlerTag()
Method Detail |
public void setAccesskey(java.lang.String accessKey)
public java.lang.String getAccesskey()
public void setTabindex(java.lang.String tabIndex)
public java.lang.String getTabindex()
public void setIndexed(boolean indexed)
public boolean getIndexed()
public void setOnclick(java.lang.String onClick)
public java.lang.String getOnclick()
public void setOndblclick(java.lang.String onDblClick)
public java.lang.String getOndblclick()
public void setOnmousedown(java.lang.String onMouseDown)
public java.lang.String getOnmousedown()
public void setOnmouseup(java.lang.String onMouseUp)
public java.lang.String getOnmouseup()
public void setOnmousemove(java.lang.String onMouseMove)
public java.lang.String getOnmousemove()
public void setOnmouseover(java.lang.String onMouseOver)
public java.lang.String getOnmouseover()
public void setOnmouseout(java.lang.String onMouseOut)
public java.lang.String getOnmouseout()
public void setOnkeydown(java.lang.String onKeyDown)
public java.lang.String getOnkeydown()
public void setOnkeyup(java.lang.String onKeyUp)
public java.lang.String getOnkeyup()
public void setOnkeypress(java.lang.String onKeyPress)
public java.lang.String getOnkeypress()
public void setOnchange(java.lang.String onChange)
public java.lang.String getOnchange()
public void setOnselect(java.lang.String onSelect)
public java.lang.String getOnselect()
public void setOnblur(java.lang.String onBlur)
public java.lang.String getOnblur()
public void setOnfocus(java.lang.String onFocus)
public java.lang.String getOnfocus()
public void setDisabled(boolean disabled)
public boolean getDisabled()
public void setReadonly(boolean readonly)
public boolean getReadonly()
public void setStyle(java.lang.String style)
public java.lang.String getStyle()
public void setStyleClass(java.lang.String styleClass)
public java.lang.String getStyleClass()
public void setStyleId(java.lang.String styleId)
public java.lang.String getStyleId()
public java.lang.String getAlt()
public void setAlt(java.lang.String alt)
public java.lang.String getAltKey()
public void setAltKey(java.lang.String altKey)
public java.lang.String getBundle()
public void setBundle(java.lang.String bundle)
public java.lang.String getLocale()
public void setLocale(java.lang.String locale)
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
public java.lang.String getTitleKey()
public void setTitleKey(java.lang.String titleKey)
public void release()
protected java.lang.String message(java.lang.String literal, java.lang.String key) throws javax.servlet.jsp.JspException
null
.
literal
- Literal text value or null
key
- Message resources key or null
javax.servlet.jsp.JspException
- if both arguments are non-nullprotected void prepareIndex(java.lang.StringBuffer handlers, java.lang.String name) throws javax.servlet.jsp.JspException
handlers
- The StringBuffer that output will be appended to.
javax.servlet.jsp.JspException
- if 'indexed' tag used outside of iterate tag.protected java.lang.String prepareStyles() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
- if invalid attributes are specifiedprotected java.lang.String prepareEventHandlers()
protected void prepareMouseEvents(java.lang.StringBuffer handlers)
handlers
- The StringBuffer that output will be appended to.protected void prepareKeyEvents(java.lang.StringBuffer handlers)
handlers
- The StringBuffer that output will be appended to.protected void prepareTextEvents(java.lang.StringBuffer handlers)
handlers
- The StringBuffer that output will be appended to.protected void prepareFocusEvents(java.lang.StringBuffer handlers)
handlers
- The StringBuffer that output will be appended to.protected boolean isXhtml()
protected java.lang.String getElementClose()
protected java.lang.String lookupProperty(java.lang.String beanName, java.lang.String property) throws javax.servlet.jsp.JspException
beanName
- The name of the object to get the property from.property
- The name of the property to get.
javax.servlet.jsp.JspException
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |