Home » tapestry-src-5.0.19 » org.apache.tapestry5.corelib.base » [javadoc | source]
abstract public class: AbstractField [javadoc | source]

All Implemented Interfaces:

Direct Known Subclasses:
    Checkbox, AbstractTextField, Select, Upload, TextArea, TextField, DateField, PasswordField, Palette

Provides initialization of the clientId and elementName properties. In addition, adds the RenderInformals , RenderDisabled and DiscardBody mixins.
Nested Class Summary:
static class  AbstractField.Setup   
static class  AbstractField.ProcessSubmission   
Method from org.apache.tapestry5.corelib.base.AbstractField Summary:
afterDecorator,   beforeDecorator,   createDefaultParameterBinding,   decorateInsideField,   defaultLabel,   getClientId,   getControlName,   getLabel,   isDisabled,   isRequired,   processSubmission,   setDecorator,   setFormSupport,   setup
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tapestry5.corelib.base.AbstractField Detail:
 final  void afterDecorator() 
    Allows the validation decorator to write markup after the field has written all of its markup.
 final  void beforeDecorator() 
    Allows the validation decorator to write markup before the field itself writes markup.
 protected final Binding createDefaultParameterBinding(String parameterName) 
    Used by subclasses to create a default binding to a property of the container matching the component id.
 protected final  void decorateInsideField() 
    Invoked from subclasses after they have written their tag and (where appropriate) their informal parameters and have allowed their Validator to write markup as well.
 final String defaultLabel() 
 public final String getClientId() 
 public final String getControlName() 
 public final String getLabel() 
 public final boolean isDisabled() 
 public boolean isRequired() 
    Returns false; most components do not support declarative validation.
 abstract protected  void processSubmission(String elementName)
    Method implemented by subclasses to actually do the work of processing the submission of the form. The element's elementName property will already have been set. This method is only invoked if the field is not disabled .
 protected final  void setDecorator(ValidationDecorator decorator) 
 protected final  void setFormSupport(FormSupport formSupport) 
 final  void setup()