Element html.form.EditForm

html.form.BaseForm
  |
  +-- html.form.EditForm
Substitution Groups:
html.IView

This component declares an editable only form.
Such a form is always in edition mode, shows a submit button and possibly a reset button.
It is typically used to implement input search criterias page or new entity creation.


Attributes
mandatory   String ID The form ID. Must be unique in the page
optional   String CssClass The CSS class to apply. Default: 'osuit-Form'.

Named Children Elements
1 - unbounded   html.form.IFormItem[] Items Form items (fields, sections, ...).
optional   binding.Expression SubmitButtonLabel The displayed submit button title. Default: 'Submit' (localized).
optional   binding.Expression OnValidate Callback to trigger right before invoking the submit action.
The callbacked method may throw a org.ow2.opensuit.core.validation.ValidationErrors with all validation error messages.
optional   action.IAction OnSubmit The action to trigger when the form is submitted.
0 - unbounded   binding.Do[] OnResetChange The action to trigger when the reset button is clicked.
If not set, the reset button is not displayed.The associated action should reset all form values to their initial value.
optional   action.IAction OnCancel The action to trigger when the cancel button is clicked.
If not set, the cancel button is not displayed. This action is expected to navigate (generally leave the current interactive process).