|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
org.springframework.web.servlet.tags.RequestContextAwareTag
org.springframework.web.servlet.tags.HtmlEscapingAwareTag
net.sf.springlayout.web.layout.taglib.LayoutBindTag
net.sf.springlayout.web.layout.taglib.AbstractFieldTag
net.sf.springlayout.web.layout.taglib.AbstractHtmlAttributesTag
net.sf.springlayout.web.layout.taglib.AbstractHtmlInputAttributesTag
public abstract class AbstractHtmlInputAttributesTag
Class to contain HTML attributes comon to all input tags, this includes selects and textareas
| Field Summary | |
|---|---|
static java.lang.String |
ACCESSKEY_ATTRIBUTE
The name of the ' accesskey' attribute. |
protected java.lang.String |
disabled
The value of the ' disabled' attribute. |
static java.lang.String |
DISABLED_ATTRIBUTE
The name of the ' disabled' attribute. |
static java.lang.String |
ONBLUR_ATTRIBUTE
The name of the ' onblur' attribute. |
static java.lang.String |
ONFOCUS_ATTRIBUTE
The name of the ' onfocus' attribute. |
| Fields inherited from class net.sf.springlayout.web.layout.taglib.AbstractHtmlAttributesTag |
|---|
CLASS_ATTRIBUTE, cssErrorClass, DIR_ATTRIBUTE, LANG_ATTRIBUTE, mode, ONCHANGE_ATTRIBUTE, ONCLICK_ATTRIBUTE, ONDBLCLICK_ATTRIBUTE, ONKEYDOWN_ATTRIBUTE, ONKEYPRESS_ATTRIBUTE, ONKEYUP_ATTRIBUTE, ONMOUSEDOWN_ATTRIBUTE, ONMOUSEMOVE_ATTRIBUTE, ONMOUSEOUT_ATTRIBUTE, ONMOUSEOVER_ATTRIBUTE, ONMOUSEUP_ATTRIBUTE, prependMap, STYLE_ATTRIBUTE, TABINDEX_ATTRIBUTE, TITLE_ATTRIBUTE |
| Fields inherited from class net.sf.springlayout.web.layout.taglib.AbstractFieldTag |
|---|
config, emptyDisplayString, fieldInstance |
| Fields inherited from class net.sf.springlayout.web.layout.taglib.LayoutBindTag |
|---|
ignoreNestedPath, path, pathIfNestedNull, previousStatus, status |
| Fields inherited from class org.springframework.web.servlet.tags.RequestContextAwareTag |
|---|
logger, REQUEST_CONTEXT_PAGE_ATTRIBUTE |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
id, pageContext |
| 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 | |
|---|---|
AbstractHtmlInputAttributesTag()
|
|
| Method Summary | |
|---|---|
protected void |
addToFieldSet(FieldDefinition fieldDefinition,
OnPageFieldInstance fieldInstance)
Adds this OnPageFieldInstance to the appropriate set in the fieldDefinition |
void |
appendCommonHtmlAttributes(java.lang.StringBuffer attributeBuffer)
Appends the general HTML Attributes available to all Tags to the StringBuffer provided. |
protected void |
appendContextSensitiveHelp(java.lang.StringBuffer outputBuffer,
java.lang.String confirmedPath)
Returns a string containing HTML for rendering a help icon/control. |
int |
doFieldStartTag()
Called in sub classes |
protected java.lang.String |
getHelpMessage()
|
protected boolean |
isDisabled()
|
void |
setAccesskey(java.lang.String accesskey)
Sets the accesskey for this AbstractHtmlInputAttributesTag. |
void |
setDisabled(java.lang.String disabled)
Sets the disabled for this AbstractHtmlInputAttributesTag. |
void |
setHelpMessage(java.lang.String helpMessage)
Sets the helpMessage for this AbstractHtmlInputAttributesTag. |
void |
setHelpMessageKey(java.lang.String helpMessageKey)
Sets the helpMessageKey for this AbstractHtmlInputAttributesTag. |
void |
setOnblur(java.lang.String onblur)
Sets the onblur for this AbstractHtmlInputAttributesTag. |
void |
setOnfocus(java.lang.String onfocus)
Sets the onfocus for this AbstractHtmlInputAttributesTag. |
| Methods inherited from class net.sf.springlayout.web.layout.taglib.AbstractHtmlAttributesTag |
|---|
appendAllApplicableCssClasses, appendAttribute, getBaseCssClass, getCssClass, setCssClass, setCssErrorClass, setCssStyle, setDir, setLang, setMode, setOnchange, setOnclick, setOndblclick, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setTabindex, setTitle |
| Methods inherited from class net.sf.springlayout.web.layout.taglib.AbstractFieldTag |
|---|
appendEditModeOutput, appendReadOnlyOutput, doStartTagInternal, getFieldDefinition, getGroupSize, getOutput, getWrappedCommand, isGroupedField, setEmptyDisplayString, setOutput |
| Methods inherited from class net.sf.springlayout.web.layout.taglib.LayoutBindTag |
|---|
doEndTag, doFinally, getEditor, getErrors, getPath, getProperty, isIgnoreNestedPath, setIgnoreNestedPath, setPath |
| Methods inherited from class org.springframework.web.servlet.tags.HtmlEscapingAwareTag |
|---|
isHtmlEscape, setHtmlEscape |
| Methods inherited from class org.springframework.web.servlet.tags.RequestContextAwareTag |
|---|
doCatch, doStartTag, getRequestContext |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ONFOCUS_ATTRIBUTE
onfocus' attribute.
public static final java.lang.String ONBLUR_ATTRIBUTE
onblur' attribute.
public static final java.lang.String ACCESSKEY_ATTRIBUTE
accesskey' attribute.
public static final java.lang.String DISABLED_ATTRIBUTE
disabled' attribute.
protected java.lang.String disabled
disabled' attribute.
| Constructor Detail |
|---|
public AbstractHtmlInputAttributesTag()
| Method Detail |
|---|
protected java.lang.String getHelpMessage()
public void setHelpMessage(java.lang.String helpMessage)
helpMessage - Sets the helpMessage for this AbstractHtmlInputAttributesTag.public void setHelpMessageKey(java.lang.String helpMessageKey)
helpMessageKey - Sets the helpMessageKey for this AbstractHtmlInputAttributesTag.public void setAccesskey(java.lang.String accesskey)
accesskey - The accesskey for this AbstractHtmlInputAttributesTag.public void setDisabled(java.lang.String disabled)
disabled - The disabled for this AbstractHtmlInputAttributesTag.public void setOnblur(java.lang.String onblur)
onblur - The onblur for this AbstractHtmlInputAttributesTag.public void setOnfocus(java.lang.String onfocus)
onfocus - The onfocus for this AbstractHtmlInputAttributesTag.
public int doFieldStartTag()
throws javax.servlet.jsp.JspTagException
AbstractFieldTag
doFieldStartTag in class AbstractHtmlAttributesTagjavax.servlet.jsp.JspTagExceptionpublic void appendCommonHtmlAttributes(java.lang.StringBuffer attributeBuffer)
AbstractHtmlAttributesTag
appendCommonHtmlAttributes in class AbstractHtmlAttributesTagattributeBuffer - the StringBuffer to append the HTML Attributes to.
protected void appendContextSensitiveHelp(java.lang.StringBuffer outputBuffer,
java.lang.String confirmedPath)
outputBuffer - buffer to append HTML icon/control toconfirmedPath - path of the control this help is regarding
protected void addToFieldSet(FieldDefinition fieldDefinition,
OnPageFieldInstance fieldInstance)
AbstractFieldTag
addToFieldSet in class AbstractFieldTagprotected boolean isDisabled()
isDisabled in class AbstractHtmlAttributesTag
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||