Hi! If the question is correctly understood by me, all u need is to traverse the form for all the components and clear input -- then just use form component visitor, traverse the entire form and clear components' input.
however itd be good if someone else on the list told if such a solution is any good. regards, Alex. On May 15, 2012 10:50 AM, "jensiator" <[email protected]> wrote: > Hi everyone. > I got a problem. Anyone ever had a first step contain for example a > dropdown > that will load default data to the other formcomponents in the wizard? > The dropdown has got a ajaxformcomponentupdatingbehavior. We call our > server > in the ajax request and update a lot of properties in the model object. The > model object shared between all of the pages. > If you show step2 it will show the correct default values. > If you then go back to step1 again and change the dropdown, step2 will not > show the changes. This I because I need to clear the input of the > formcomponents in step2. Is there any way to clear all formcomponents for > all steps in a wizard. The problem is that only one step at the time is > active. > Is Overriding onBefore render on every single step the only way? > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Wizard-clear-all-formfields-tp4634057.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
