|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FormSupport
Interface for a utility object that encapsulates the majority of the
Form's behavior.
| Method Summary | |
|---|---|
void |
render(java.lang.String method,
IRender informalParametersRenderer,
ILink link,
java.lang.String scheme)
Deprecated. To be removed in 4.1, see new render method that adds the Port parameter. |
void |
render(java.lang.String method,
IRender informalParametersRenderer,
ILink link,
java.lang.String scheme,
java.lang.Integer port)
Invoked when the form is rendering. |
java.lang.String |
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, registerForFocus, setEncodingType, wasPrerendered |
| Method Detail |
|---|
void render(java.lang.String method,
IRender informalParametersRenderer,
ILink link,
java.lang.String scheme,
java.lang.Integer port)
Form
component.
method - the HTTP method ("get" or "post")informalParametersRenderer - object that will render informal parameterslink - The link to which the form will submit (encapsulating the URL and the query
parameters)scheme - the desired scheme for the generated URL, typically "http" or "https". If
non-null, and the scheme does not match the current request's scheme, then an
absolute URL with the specified scheme will be generated, rather than a URI.port - the desired port for the generated URL, typically "80", "443". If
non-null, and the port does not match the current request's port, then an
absolute URL with the specified port will be generated, rather than a URI.
void render(java.lang.String method,
IRender informalParametersRenderer,
ILink link,
java.lang.String scheme)
method - the HTTP method ("get" or "post")informalParametersRenderer - object that will render informal parameterslink - The link to which the form will submit (encapsulating the URL and the query
parameters)scheme - the desired scheme for the generated URL, typically "http" or "https". If
non-null, and the scheme does not match the current request's scheme, then an
absolute URL with the specified scheme will be generated, rather than a URI.java.lang.String rewind()
Form component.
FormConstants.SUBMIT_NORMAL,
FormConstants.SUBMIT_CANCEL or FormConstants.SUBMIT_REFRESH.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||