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).
IOptionRenderer Interface used by PropertySelection to render each option.
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 Represents an input field that can be translated.
TranslatedFieldSupport  
ValidatableField Implemented by form components that can need to be translated and validated.
ValidatableFieldExtension Marker interface for components that would like to override the default logic used to render validation contributions made for client side form validation.
ValidatableFieldSupport Implements the logic used by Requireds 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.
BeanPropertySelectionModel This class is a property selection model for an object list.
Button Implements a component that manages an HTML <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.
DefaultOptionRenderer The default implementation of IOptionRenderer which is used by the PropertySelection component if no other renderer is specified in the component parameters.
EnumPropertySelectionModel Implementation of a property model that works off of native java enum types.
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 A specialized component used to edit a list of items within a form; it is similar to a ForBean but leverages hidden inputs within the <form> to store the items in the list.
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 ValidatableFieldSupport 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


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.