Home » tapestry-src-5.0.19 » org.apache.tapestry5.corelib.components » [javadoc | source]
public class: Select [javadoc | source]

All Implemented Interfaces:

Select an item from a list of values, using an [X]HTML <select> element on the client side. An validation decorations will go around the entire <select> element.

A core part of this component is the ValueEncoder (the encoder parameter) that is used to convert between server-side values and client-side strings. In many cases, a ValueEncoder can be generated automatically from the type of the value parameter. The ValueEncoderSource service provides an encoder in these situations; it can be overriden by binding the encoder parameter, or extended by contributing a ValueEncoderFactory into the service's configuration.
Method from org.apache.tapestry5.corelib.components.Select Summary:
afterRender,   beginRender,   defaultBlankLabel,   defaultEncoder,   defaultModel,   defaultValidate,   isRequired,   options,   processSubmission,   setBlankOption,   setModel,   setValidationTracker,   setValue,   setValueEncoder
Methods from org.apache.tapestry5.corelib.base.AbstractField:
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.components.Select Detail:
  void afterRender(MarkupWriter writer) 
  void beginRender(MarkupWriter writer) 
 Object defaultBlankLabel() 
 ValueEncoder defaultEncoder() 
 SelectModel defaultModel() 
 Binding defaultValidate() 
 public boolean isRequired() 
  void options(MarkupWriter writer) 
    Renders the options, including the blank option.
 protected  void processSubmission(String elementName) 
  void setBlankOption(BlankOption option,
    String label) 
  void setModel(SelectModel model) 
  void setValidationTracker(ValidationTracker tracker) 
  void setValue(Object value) 
  void setValueEncoder(ValueEncoder encoder)