DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
| Info |
|---|
This page should serve as a "specification" (aka nominal state, not the current state) on nested form handling. |
| Info |
|---|
The Conditional Validation page contains some practical examples regarding nested forms and validation. |
| Info |
|---|
It might be a good idea to use |
| Code Block | ||
|---|---|---|
| ||
| Wiki Markup | ||
{info}This page should serve as a "specification" on nested form handling. Please review the various situations and correct any mistakes or add new situations if necessary. Thanks, Gerolf {info} {code:title=Markup} <form wicket:id="outer"> <form wicket:id="middle"> <form wicket:id="inner"> </form> </form> </form> {code} {panel:title=Legend} |
| Panel | ||
|---|---|---|
| ||
form...enabled -
...disabled *form *...submitted form with no errors _
...form with errors E...onError called
called
|
| Info | ||
|---|---|---|
| ||
When submitting a nested form, the entire <form> is submitted (including fileuploads), but processed according to the rules below. |
| Div | ||||||
|---|---|---|---|---|---|---|
| ||||||
all forms enabled
|
| Div | ||||||
|---|---|---|---|---|---|---|
| ||||||
all forms enabled
|
| Div | ||||||
|---|---|---|---|---|---|---|
| ||||||
all forms enabled
|
| Div | ||||||
|---|---|---|---|---|---|---|
| ||||||
middle form disabled
|
| Div | ||||||
|---|---|---|---|---|---|---|
| ||||||
inner form disabled
|
| Div | ||||||
|---|---|---|---|---|---|---|
| ||||||
outer form disabled
|
| Div | ||||||
|---|---|---|---|---|---|---|
| ||||||
all forms enabled
|
| Div | ||||||
|---|---|---|---|---|---|---|
| ||||||
all forms enabled
|
| Div | ||||||
|---|---|---|---|---|---|---|
| ||||||
all forms enabled
|
| Div | ||||||
|---|---|---|---|---|---|---|
| ||||||
middle form disabled
|
| Div | ||||||
|---|---|---|---|---|---|---|
| ||||||
all forms enabled
|
| Div | |||||||
|---|---|---|---|---|---|---|---|
| |||||||
middle form disabled
|