This is my Wizard and steps : MyObj myObj = new MyObj(); // build MyObj with default Time / Location WizardModel model = new WizardModel(); model.add(new TimeStep(myObj)); model.add(new LocationStep(myObj)); model.add(new ConfirmStep(myObj)); init(model);
MyObj is just a class containing time / location data , and with default value. The wizard first asks user to input time , and then input location , In the third step (ConfirmStep) , it will show the data inputed , asking the user to confirm. The problem is , the ConfirmStep always shows the default value . Time / Location in the 1st and 2nd Step is not shown. It seems it is because that the ConfirmStep is instantiated and all values are pulled at the construction time. Is there any way to prevent this ?
