I thought I would take a quick moment to preset GWT-Wizard, a wizard widget I designed for GWT.

GWT-Wizard is very configurable, allowing you to customize everything about the Wizard–down to creating your own custom view to plug into the widget–but also comes with a set of sane defaults that allow you to get up and running quickly. If you’re interested, check it out on GitHub. I have a hard time sometimes with over thinking and over planning things, so I’m trying to get code out to the open source community more. The project is still very young, but I’m using the widget in a production system for one of my projects, and I feel the codebase offers enough to be useful now.
If you have any comments or questions, or are using this widget in production somewhere, I’d be very interested to hear about it!
#1 by D. Randle - May 14th, 2010 at 02:06
Thanks for Sharing. Do you have any examples of your project that saves the information captured to a database. Thanks in advance for your reply.
#2 by Faisal - June 28th, 2010 at 13:56
Hi Brandon,
Great wizard for GWT, well done!
I have a question regarding navigation backwards. If for example I have the following pages arranged:
A->B (Page A has B as its next page)
A->E (A also have E as the next page).
C->B (Page C also has B as its next page)
D-> B (So does d).
I understand that we can use the Navigation event to work out which panel to go to from A when next is pressed.
However, when on page B and I click previous - how does it handle it ? Does it know to go back to the panel that I came from ? or how does it decide whether to show A or C from B when I click previous?
It would make sense if, when I came from panel A to B and click previous, I go to A. and when I came to B from C and click previous I go to C - is this the current behaviour ? Didn’t seem to work for me :-(
Keep up the good work!
Many Thanks,
Faisal.
#3 by BinaryMuse - June 30th, 2010 at 08:32
Hi Faisal,
Any non-linear page movement is currently managed by the WizardPageLinkManager. You can set one-way-forward, one-way-reverse, and two-way links between pages.
I actually like the idea you present in your last paragraph and may implement an option for that style of auto-detection.
#4 by Faisal - June 30th, 2010 at 14:22
Thanks for the prompt reply Brandon.
So currently the scenario I described is not supported ?
When you say I can set two way links between pages, do you mean I can set multiple forward pages and use the link manager to decide which one to go to in the forward scenario. But the above scenario won’t work going back if there are multiple reverse links on a page? Does the wizard currently support multiple reverse links described in the above scenario ?
#5 by Brandon Tilley - July 6th, 2010 at 07:39
The way it works now (and this certainly can change) is that, if you create a two-way link between B and D, then forward on B leads to D and reverse from D leads to B. If you then create a two-way page link from A to D, then A leads forward to D and D backwards to A–the link between B and D is destroyed.
If, instead, you had created only forward links from A to D and also from B to D, then reverse from D would lead to C–creating forward or reverse links does not change the links in the opposite direction.