DynamicWizardModel: setActiveStep is called twice
-------------------------------------------------
Key: WICKET-2740
URL: https://issues.apache.org/jira/browse/WICKET-2740
Project: Wicket
Issue Type: Bug
Components: wicket-extensions
Affects Versions: 1.3.4
Reporter: Vincent MATHON
DynamicWizardModel constructor calls setActiveStep(startStep); Thus, the
Initial step onInit method is called where as the form is not already created.
When calling Wizard init() method, there is a call to DynamicWizardModel
reset() method that leads to a second Initial step onInit method call. This
time, the form is created but I have exceptions since I have already added the
components of my first step on the first call to onInit.
Removing the call to setActiveStep(startStep); in the DynamicWizardModel
constructor solves the bug (note that the activeStep is correctly initialized
by the reset method call).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.