1. There is a method in step that evaluate the input and doesn't allow to continue. I'm not next to code, so I can't tell yuo exact;y. However, what I usually do is making a summary step that is the final step. So in your case you will have Step A -> Step B -> Summary step. summary step will have the finish button as it is the last. I found out that the summary step is really useful and helpful. most of our customers / pm etc want this summary step in all of our wizards.
2. there is an option to add Last button which should direct to the last step. you can enable / disable it (or hide it, i'm not sure) in each step. Eyal Golan egola...@gmail.com Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree. Please don't print this e-mail unless it's really necessary On Thu, Nov 19, 2009 at 4:00 PM, Decebal Suiu <decebal.s...@gmail.com>wrote: > Hello, > > I have two question about the Wizard from wicket: > > 1) I have a wizard with two steps A and B both contains a specific > panel with validators. > As I see, the validation is done on 'Next' button. Clicking 'Next' in > the first step will take me to the second one only if everything is > ok. > But on the second step (the last step) clicking 'Finish' I do not know > how to avoid the wizard to be closed if validation is not ok. > > 2) Is possible in a step before the last one (the last one I want to > be optional) to have both Next and Finish buttons enabled? > > Thanks, > Decebal > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >