Package org.apache.tapestry.form

Components for implementing basic HTML Forms.

See:
          Description

Interface Summary
FormComponentContributor Interface for objects that contribute client-side events back to a form
FormComponentContributorContext Object that provides support to objects that implement FormComponentContributor.
FormSupport Interface for a utility object that encapsulates the majority of the Form's behavior.
IFormComponent A common interface implemented by all form components (components that create interactive elements in the rendered page).
IPropertySelectionModel Used by a PropertySelection to provide labels for options.
IPropertySelectionRenderer Defines an object that works with a PropertySelection component to render the individual elements obtained from the model.
TranslatedField  
TranslatedFieldSupport  
ValidatableField Implemented by form components that can need to be translated and validated.
ValidatableFieldSupport Implements the logic used by RequiredFields for required field checking on rewind and generating client-side logic during render.
ValidationMessages Support interface used to provide access to validation messages.
 

Class Summary
AbstractFormComponent A base class for building components that correspond to HTML form elements.
AbstractFormComponentContributor Abstract FormComponentContributor implementation that adds an optional static javscript method reference to the page.
Button Implements a component that manages an HTML <input type=button> form element.
Checkbox Implements a component that manages an HTML <input type=checkbox> form element.
DatePicker Provides a Form java.util.Date field component for selecting dates.
Form Component which contains form element components.
FormComponentContributorContextImpl Implementation of FormComponentContributorContext.
FormConstants Constants used by the Form component.
FormEventType Deprecated. Managing of form events is now done on the client side; this class may be removed in a future release of Tapestry.
FormSupportImpl Encapsulates most of the behavior of a Form component.
Hidden Implements a hidden field within a Form.
HiddenFieldData Representation of hidden form field data, which is collected by the Form component as it renders (and renders its body).
ImageSubmit Used to create an image button inside a Form.
LabeledPropertySelectionModel Decorates an underlying IPropertySelectionModeladding an initial property.
LinkSubmit Implements a component that submits its enclosing form via a JavaScript link.
ListEdit Deprecated. As of release 4.0, replaced by ForBean
ListEditMap A utility class often used with the ListEdit component.
Option A component that renders an HTML <option> form element.
PropertySelection A component used to render a drop-down list of options that the user may select.
Radio Implements a component that manages an HTML <input type=radio> form element.
RadioGroup A special type of form component that is used to contain Radiocomponents.
RadioPropertySelectionRenderer Implementation of IPropertySelectionRenderer that produces a table of radio (<input type=radio>) elements.
Select Implements a component that manages an HTML <select> form element.
SelectPropertySelectionRenderer Implementation of IPropertySelectionRenderer that produces a <select> element (containing <option> elements).
StringPropertySelectionModel Implementation of IPropertySelectionModel that allows one String from an array of Strings to be selected as the property.
Submit Implements a component that manages an HTML <input type=submit> form element.
TextArea Implements a component that manages an HTML <textarea> form element.
TextField Implements a component that manages an HTML <input type=text> or <input type=password> form element.
TranslatedFieldSupportImpl  
Upload Form element used to upload files.
ValidatableFieldSupportImpl Default VadidatableFieldSupport implementation.
ValidationMessagesImpl Wrapper around ValidationStrings.getMessagePattern(String, Locale) and MessageFormat.format(java.lang.String, java.lang.Object[]).
 

Package org.apache.tapestry.form Description

Components for implementing basic HTML Forms. Most components are straight forward 1:1 mappings between Tapestry components and a corresponding HTML element. PropertySelection is more complicated, as it manages way more of the process of implementing a <select> and its <option>s.

Package org.apache.tapestry.valid contains more complex components that not only collect input, but validate it as well.

Author:
Howard Lewis Ship hlship@apache.org