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.

Author:
icoloma

Field Summary
 
Fields inherited from class org.loom.tags.AbstractDecoratedTag
decorator
 
Fields inherited from class org.loom.tags.AbstractTag
out, repository, request, response
 
Constructor Summary
AbstractFormFieldTag()
           
 
Method Summary
 FormTag getForm()
           
 java.lang.String getLabel()
           
protected  void initTag()
          Initializes the tag attributes
 boolean isDisabled()
           
protected  void printParentAttributes()
          Prints this instance attributes
 void setAccept(java.lang.String accept)
           
 void setAlign(java.lang.String align)
           
 void setAlt(java.lang.String alt)
           
 void setDisabled(boolean disabled)
           
 void setForm(FormTag form)
           
 void setLabel(java.lang.String label)
           
 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, getNormalizedName, getStyle, getTabindex, getTitle, getTranslatedTitle, identify, isCssProcessed, isTranslateTitle, setAccesskey, setCssClass, setCssProcessed, setDir, setId, setLang, setName, setStyle, setTabindex, 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, setRequest, setResponse, setScopedAttribute, setWriter
 
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, 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

setDisabled

public void setDisabled(boolean disabled)

isDisabled

public boolean isDisabled()

setTabIndex

public void setTabIndex(java.lang.Integer tabIndex)

setAccept

public void setAccept(java.lang.String accept)

setAlign

public void setAlign(java.lang.String align)

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()

setLabel

public void setLabel(java.lang.String label)


The Loom Framework 1.6-SNAPSHOT.
Licensed under the Apache License, Version 2.0 by Extrema Sistemas de Informacion S.L.