I have put the files up under this issue: http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-439
Included is a small example Wizard and Action. John. ----- Original Message ----- From: "Matthew E. Porter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 24, 2003 12:50 PM Subject: Re: [OS-webwork] Wizards In WW2 > Excellent! For now, please put this in Jira. > > > Cheers, > matthew > > On Dec 24, 2003, at 3:13 AM, John Patterson wrote: > > > I have made a simple Wizard "framework" for an app that I am building. > > It > > is basically a State Machine with a WW2 specific adaptor. It may be > > useful > > as a starting point. It is composed of : > > > > Wizard abstract class > > - contains isFinishEnabled(), isNextEnabled(), next(), previous() > > etc. > > > > WizardPage interface > > - contains getView(), getName(), getDescription(), getImage() > > > > BasicWizardPage class > > - bean implementation of WizardPage > > > > WizardAction abstract class > > - retrieves and stores Wizard in the session and pushes its buttons. > > - implements ModelDriven > > > > wizard.jsp page > > - displays the appropriate buttons and 'includes' the content pane. > > > > The WizardAction is WW2 specific but the Wizard functionality is not. > > The > > wizard is stored in the session (not using an interceptor currently). > > It > > could be easily extended to use a workflow engine to determine the > > allowed > > state changes. > > > > Is a Jira issue the right place to put the code? What happened to > > that WW > > extensions project? > > > > John > > > > ----- Original Message ----- > > From: "Matthew E. Porter" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Tuesday, December 23, 2003 10:44 PM > > Subject: [OS-webwork] Wizards In WW2 > > > > > >> I am interested in hearing how people are building wizards in WW2/XW. > >> I have looked at and used the ScopeInterceptor that is in > >> OpenSymphony's Jira, but it is cumbersome for anything more than 2 or > >> 3 > >> steps. > >> > >> Here are the issues I see: > >> - Ensuring visitors execute the steps in the appropriate order > >> - Being able to return to a previously executed steps > >> - Storing state between action executions. Is it appropriate tying > >> this to the http session, and therefore, tying the action to the web? > >> - Any others? > >> > >> > >> Cheers, > >> matthew > >> > >> > >> > >> ------------------------------------------------------- > >> This SF.net email is sponsored by: IBM Linux Tutorials. > >> Become an expert in LINUX or just sharpen your skills. Sign up for > >> IBM's > >> Free Linux Tutorials. Learn everything from the bash shell to sys > >> admin. > >> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > >> _______________________________________________ > >> Opensymphony-webwork mailing list > >> [EMAIL PROTECTED] > >> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > >> > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IBM Linux Tutorials. > > Become an expert in LINUX or just sharpen your skills. Sign up for > > IBM's > > Free Linux Tutorials. Learn everything from the bash shell to sys > > admin. > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > _______________________________________________ > > Opensymphony-webwork mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork