| org.apache.tapestry.services.FormSupport
All known Subclasses: org.apache.tapestry.corelib.components.FormSupportImpl,
FormSupport | public interface FormSupport extends ClientElement(Code) | | Services provided by an enclosing Form control component to the various form element components
it encloses. Implement
ClientElement , to share the id of the enclosing form.
author: Howard M. Lewis Ship |
allocateElementName | String allocateElementName(String id)(Code) | | Allocates a unique (within the form) element name for some component enclosed component,
based on the component's id.
Parameters: id - the component's id a unique string, usually the component's id, but sometime extended with a uniquenumber or string |
defer | void defer(Runnable command)(Code) | | Defers a command until the end of the form submission. The command will be executed after the
Form's validate notification, but before the Form's submit, success or failure notifications.
During a form render, runnables are executed after the body of the form has rendered.
Parameters: command - |
setEncodingType | void setEncodingType(String encodingType)(Code) | | Sets the encoding type for the Form. This should only be set once, and if
Parameters: encodingType - MIME type indicating type of encoding for the form throws: IllegalStateException - if the encoding type has already been set to a value different than the supplied |
store | void store(T component, ComponentAction<T> action)(Code) | | Stores an action for execution during a later request.
|
|
|