org.loom.tags
Class AbstractFormFieldTag
java.lang.Object
javax.servlet.jsp.tagext.SimpleTagSupport
org.loom.tags.AbstractTag
org.loom.tags.AbstractDecoratedTag
org.loom.tags.AbstractHtmlTag
org.loom.tags.AbstractFormFieldTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.DynamicAttributes, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag, LoomTag
- Direct Known Subclasses:
- AbstractFormInputTag, ButtonTag
public abstract class AbstractFormFieldTag
- extends AbstractHtmlTag
Parent class for any form field associated to a form parameter.
| Methods inherited from class org.loom.tags.AbstractHtmlTag |
addCssClass, getAccesskey, getCssBuilder, getCssClass, getDir, getId, getLang, getName, getStyle, getTitle, getTranslatedTitle, identify, isCssProcessed, isIf, isTranslateTitle, renderTag, setAccesskey, setCssClass, setCssProcessed, setDir, setId, setIf, setLang, setStyle, setTitle, setTranslateTitle |
| Methods inherited from class org.loom.tags.AbstractTag |
createWriterWrapper, doBody, doBufferedBody, doTagImpl, endTag, evaluateExpression, getActionProperty, getAncestorWithClass, getBufferedBody, getExtendedAttributes, getMessagesRepository, getPageContext, getRequest, getResponse, getScopedAttribute, getWriter, removeScopedAttribute, setDynamicAttribute, setExtendedAttribute, setJspContext, setRequest, setResponse, setScopedAttribute, setWriter |
| Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport |
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFormFieldTag
public AbstractFormFieldTag()
initTag
protected void initTag()
- Description copied from class:
AbstractTag
- Initializes the tag attributes
- Overrides:
initTag in class AbstractTag
printParentAttributes
protected void printParentAttributes()
throws java.io.IOException,
javax.servlet.jsp.JspException
- Prints this instance attributes
- Overrides:
printParentAttributes in class AbstractHtmlTag
- Throws:
javax.servlet.jsp.JspException
java.io.IOException
setName
@Attribute(required=true)
public void setName(java.lang.String name)
- HTML attribute with different meanings:
This is the property path inside the action that will be used to get and set the field value.
- Overrides:
setName in class AbstractHtmlTag
setDisabled
public void setDisabled(boolean disabled)
isDisabled
public boolean isDisabled()
setAlt
public void setAlt(java.lang.String alt)
setType
public void setType(java.lang.String type)
getForm
public FormTag getForm()
setForm
public void setForm(FormTag form)
getLabel
public java.lang.String getLabel()
getNormalizedName
public java.lang.String getNormalizedName()
setLabel
public void setLabel(java.lang.String label)
setTabindex
public void setTabindex(java.lang.Integer tabindex)
getTabindex
public java.lang.Integer getTabindex()
getHelpLine
public java.lang.String getHelpLine()
setHelpLine
public void setHelpLine(java.lang.String helpLine)