This page should serve as a "specification" (aka nominal state, not the current state) on nested form handling. |
The Conditional Validation page contains some practical examples regarding nested forms and validation. |
It might be a good idea to use |
<form wicket:id="outer">
<form wicket:id="middle">
<form wicket:id="inner">
</form>
</form>
</form>
|
|
form...enabled form...submitted form with no errors E...onError called |
|
When submitting a nested form, the entire <form> is submitted (including fileuploads), but processed according to the rules below. |
|
all forms enabled
|
|
all forms enabled
|
|
all forms enabled
|
|
middle form disabled
|
|
inner form disabled
|
|
outer form disabled
|
|
all forms enabled
|
|
all forms enabled
|
|
all forms enabled
|
|
middle form disabled
|
|
all forms enabled
|
|
middle form disabled
|