Then, manual traversal of the components of the newStep.getView(VIEW_ID, this, this) with the form component visitor and clearing input for every form component would work. Surely, if it is the same object returned every time from getView(...)
2012/5/15 jensiator <[email protected]> > Yes you are correct. I forgot to mention that I have already tried it. It > does not work because Step2 formcomponents is not a part of the wizard form > when step1 is. > I think its done here in Wizard class > public void onActiveStepChanged(IWizardStep newStep) > { > form.replace(newStep.getView(VIEW_ID, this, this)); > form.replace(newStep.getHeader(HEADER_ID, this, this)); > } > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Wizard-clear-all-formfields-tp4634057p4634120.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] > > -- Alexander Cherednichenko [ the only way out is the way up ]
