OK I didn't look into that example because it was broken on http://wicketstuff.org/wicket13/wizard/ http://wicketstuff.org/wicket13/wizard/ : it gave an Internal Error when starting. Someone fixed that apparently, but it is still broken: if you don't check Assign Roles and press Next, this results in an Internal Error.
But in my case the model for the second step is different from the first step, though it needs to be updated when the first one has been changed. I think I will add an implentation of IWizardModelListener which does this when onActiveStepChanged is called with the second step when the old active step was the first one. Eelco Hillenius wrote: > > Look at NewUserWizard from org.apache.wicket.examples.wizard. All > steps share the same model, which is the user instance that is a > member of the NewUserWizard itself. You can work much in the same > fashion. > > Eelco > > > On 5/28/07, Herman Bovens <[EMAIL PROTECTED]> wrote: >> >> Suppose I have a WizardStep that depends on the information that the user >> entered/selected in a previous step. I will need to build the components >> when this WizardStep is activated, which means the previous step has been >> completed. This means I can't do it in the constructor because it is >> called >> when the step is added to the WizardModel. Besides, the user can go back >> and change the data so this step needs to change as well. In which >> method >> can I do this? >> > -- View this message in context: http://www.nabble.com/Wizard-question-tf3831095.html#a10863845 Sent from the Wicket - User mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
