I use wizard api from wicket extensions.
Next button is implemented like org.apache.wicket.extensions.wizard.NextButton.
It means: if step is complete wizardModel.next() is called and step content is replaced.
I send you example - see attachment.
In the example Step2Panel contains inner form "innerForm".
The problem is when we leave step 1 (click to next button) - innerForm.onSubmit from step 2 is called.
Obversely when we leave step 2 innerForm.onSubmit is not called!
One solution is to call form.process(null) manually in Nextbutton.onClick before step content is replaced. It is wrong again becaouse innerForm.onSubmit is called twice.
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Assignee||Sven Meier [ svenmeier ]|
|Fix Version/s||6.7.0 [ 12323964 ]|
|Fix Version/s||1.5.11 [ 12324069 ]|
|Resolution||Fixed [ 1 ]|
|Field||Original Value||New Value|
|Summary||Wizard: form.process is called after step content is replaced||form#onSubmit() is called on just replaced nested forms|