org.apache.tapestry
Interface FormSupport

All Superinterfaces:
FormBehavior
All Known Implementing Classes:
FormSupportImpl

public interface FormSupport
extends FormBehavior

Interface for a utility object that encapsulates the majority of the Form's behavior.

Since:
4.0
Author:
Howard M. Lewis Ship

Method Summary
 void render(java.lang.String method, IRender informalParametersRenderer, ILink link)
          Invoked when the form is rendering.
 void rewind()
          Invoked to rewind the form, which renders the body of the form, allowing form element components to pull data from the request and update page properties.
 
Methods inherited from interface org.apache.tapestry.FormBehavior
addDeferredRunnable, addEventHandler, addHiddenValue, addHiddenValue, getElementId, getElementId, isRewinding, prerenderField, setEncodingType, wasPrerendered
 

Method Detail

render

public void render(java.lang.String method,
                   IRender informalParametersRenderer,
                   ILink link)
Invoked when the form is rendering. This should only be invoked by the Form  component.

Parameters:
method - the HTTP method ("get" or "post")
informalParametersRenderer - object that will render informal parameters
link - The link to which the form will submit (encapsulating the URL and the query parameters)

rewind

public void rewind()
Invoked to rewind the form, which renders the body of the form, allowing form element components to pull data from the request and update page properties. This should only be invoked by the Form component.