org.loom.tags
Class AbstractFormFieldTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.SimpleTagSupport
      extended by org.loom.tags.AbstractTag
          extended by org.loom.tags.AbstractDecoratedTag
              extended by org.loom.tags.AbstractHtmlTag
                  extended by 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.


Field Summary
 
Fields inherited from class org.loom.tags.AbstractDecoratedTag
decorator
 
Fields inherited from class org.loom.tags.AbstractTag
expressionLanguageProxy, loomServletRequestFactory, out, repository, request, response
 
Constructor Summary
AbstractFormFieldTag()
           
 
Method Summary
 FormTag getForm()
           
 java.lang.String getHelpLine()
           
 java.lang.String getLabel()
           
 java.lang.String getNormalizedName()
           
 java.lang.Integer getTabindex()
           
protected  void initTag()
          Initializes the tag attributes
 boolean isDisabled()
           
protected  void printParentAttributes()
          Prints this instance attributes
 void setAlt(java.lang.String alt)
           
 void setDisabled(boolean disabled)
           
 void setForm(FormTag form)
           
 void setHelpLine(java.lang.String helpLine)
           
 void setLabel(java.lang.String label)
           
 void setName(java.lang.String name)
          HTML attribute with different meanings: button, textarea select input This is the property path inside the action that will be used to get and set the field value.
 void setTabindex(java.lang.Integer tabindex)
           
 void setType(java.lang.String type)
           
 
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.AbstractDecoratedTag
doTag, getDecorator, getDecoratorInstance, setDecorator
 
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
 

Constructor Detail

AbstractFormFieldTag

public AbstractFormFieldTag()
Method Detail

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)