Re: Displaying update error in Wizard step, need ideas
Hi again I found a solution - just add the "org.apache.wicket.extensions.wizard.FinishButton.step.did.not.complete" to your message file with what ever message you want. I still don't understand why the wizard must error this message anyway? Rebecca -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Displaying-update-error-in-Wizard-step-need-ideas-tp3022966p3626038.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Displaying update error in Wizard step, need ideas
hi Nelson, Did you find a solution for this one? I have the same problem :-( Thanks Rebecca -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Displaying-update-error-in-Wizard-step-need-ideas-tp3022966p3626027.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Displaying update error in Wizard step, need ideas
Just to clarify, I try setting then setComplete(false), but that creates an internal error message added by the wizard. I am thinking of creating the feedback panel for my wizard with a filter to accept only my messages, but I am not sure if that is the best approach, -nelson On Mon, Nov 1, 2010 at 4:24 PM, Nelson Segura wrote: > Hello, > I am using the wicket-extensions wizard. On applyState() of a wizard step, > I am calling my back end to update some data. > There is a corner condition under which the update might fail, and we would > like to stay in the current step and display a message. > > I thought about overriding the onClick() method of the NextButton(), but it > is declared as final. > > Any ideas on how I can abort applyState() and go back to the current step? > > - Nelson >
Displaying update error in Wizard step, need ideas
Hello, I am using the wicket-extensions wizard. On applyState() of a wizard step, I am calling my back end to update some data. There is a corner condition under which the update might fail, and we would like to stay in the current step and display a message. I thought about overriding the onClick() method of the NextButton(), but it is declared as final. Any ideas on how I can abort applyState() and go back to the current step? - Nelson