| java.lang.Object uk.org.ponder.rsf.components.UIComponent uk.org.ponder.rsf.components.UIParameterHolder uk.org.ponder.rsf.components.UIContainer uk.org.ponder.rsf.components.UIForm
UIForm | public class UIForm extends UIContainer (Code) | | Represents a Form (submission domain) in the component tree. Forms are
treated somewhat unusually in that they (may be) generated inline in the
component tree by the producer, but are folded away before they
are seen by the renderer. The form model applied by the target render
technology is embodied by the FormModel, held in the parent View object,
also as a request-scope bean.
author: Antranig Basman (antranig@caret.cam.ac.uk) |
Field Summary | |
public StringList | submittingcontrols A list of the FullIDs of the all controls to be submitted by this form.
If this is left blank(empty), it will be filled in by a FormFixer
(currently by looking for all nested controls that are bound). | public String | targetURL The URL to which this form will be submitted. | public String | type Which type of submission will this form trigger? For ACTION_REQUEST,
this will behave like a UICommand (e.g. | public ViewParameters | viewparams The target view state of this form. |
submittingcontrols | public StringList submittingcontrols(Code) | | A list of the FullIDs of the all controls to be submitted by this form.
If this is left blank(empty), it will be filled in by a FormFixer
(currently by looking for all nested controls that are bound). Each of
these controls will be either a UICommand or a UIBound.
For the HTML submission model, this field is not strictly required
since hidden fields are rendered "alongside" their corresponding controls,
but is useful for general consistency and bookkeeping. More relevant, say,
for "WAP-like" submission models.
|
targetURL | public String targetURL(Code) | | The URL to which this form will be submitted. This field will be computed
by a fixup and need not be filled in by the user.
|
type | public String type(Code) | | Which type of submission will this form trigger? For ACTION_REQUEST,
this will behave like a UICommand (e.g. HTTP POST) - for RENDER_REQUEST
like UILink (e.g. HTTP GET).
|
viewparams | public ViewParameters viewparams(Code) | | The target view state of this form. For a managed form, this will be
filled in by the fixup phrase to be the current view state.
|
|
|