Re: Wizard and confirmation screens

2009-12-02 Thread John Armstrong
Found my problem. I needed to be using a DynamicWizardModel, not a WizardModel. This lets me add the steps as required and therefore get access to the version of the model at that stage of the process. I'd done this before, just had to paw through my personal svn to find how I implemented it.

Re: Wizard and confirmation screens

2009-12-02 Thread Eyal Golan
Hi, I once had a similar problem and made it work even with static steps. Please allow me to share it. I wanted to use statics steps in order to feel them. Just for the fun, as I did wizard with dynamic steps before. So, I had a class Profile and wanted the wizard to create a new one (the wizard

Re: Wizard and confirmation screens

2009-11-30 Thread bgooren
Sounds like you are using static models instead of dynamic models. E.g. if you use Model.of(test), the model is essentialy self-contained. Whereas if you have a property called value in your wizard and you use new PropertyModel( Wizard.this, value ) , the model will depend on the value of the

Re: Wizard and confirmation screens

2009-11-30 Thread John Armstrong
I believe my models are dynamic and self-contained. For example one is a Serviceorder that lives in the net.pnc.model.Serviceorder class. I have one instance of this in my wizard that is shared between all screens. All properties of Serviceorder are private to Serviceorder and accessed via