What about osworkflow? Or does that not work with struts? sandeep
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, May 06, 2004 3:58 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: Building Wizard navigation using Struts have a look at struts workflow extension... http://www.livinglogic.de/Struts/(the new home at source forge does not ahve all the documentation:-(() It provides support for wizard like flows with much more... Also there are a couple of other approaches. 1:Use a session scoped form and collect data from each step in that form. 2:use hidden parameters to pass data on each page to next page. HTH. Regards, Shirish -----Original Message----- From: Venkat Maddipati [mailto:[EMAIL PROTECTED] Sent: Thursday, May 06, 2004 12:40 AM To: 'Struts Users Mailing List' Subject: Building Wizard navigation using Struts Hi there, I am new to Struts and I want to know if Sturts framework has any direct support for building a Wizard kind of navigation. Basically, I want to build a wizard, which navigates through about 5 pages where user can input data on all the five pages and click on the "Finish" button to save the data. Or click on "Next", "Previous" buttons to navigate across the pages and click on "Cancel" button to cancel at any point of time. User can also click on "Finish" button at any intermediate page, as well. When user clicks on "Next" button, I want to validate the data entered on this page, before move on to the next page. Thanks, Venkat > -----Original Message----- > From: Julia Weaver <[EMAIL PROTECTED]>@HYPERION > Sent: Wednesday, May 05, 2004 3:30 PM > To: Struts Users Mailing List > Subject: RE: close pop-up window > > It works! > Thank you Amar! > > > --- "Jirole, Amar" <[EMAIL PROTECTED]> wrote: > > You can take care of that your action class. > > > > Something like this > > Execute(ActionMapping....) > > { > > result = saveToDatabase(); > > If(result == success) > > { > > forward = mapping.findForward("success"); > > } > > else > > { > > forward = mapping.findForward("failure"); > > } > > > > } > > > > And then map success to closePopup.jsp and redisplay > > if there is an error > > > > -----Original Message----- > > From: Julia Weaver > > [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, May 05, 2004 5:48 PM > > To: Struts Users Mailing List > > Subject: RE: close pop-up window > > > > > > Thanks, but I want to close the window only if > > without > > any error message (only if data is saved to the > > database successfully). > > > > Please give me further help. Thanks! > > > > > > > > > > > > > > --- "Jirole, Amar" <[EMAIL PROTECTED]> wrote: > > > Step 4 is be simple : > > > map success forward to a jsp, which has something > > > like this : > > > <script> > > > function refreshAndClose() > > > { > > > opener.focus(); > > > window.close(this); > > > } > > > </script> > > > > > > <body onload="refreshAndClose()"> > > > </body> > > > > > > Step 5 is more tricky and depends upon your app > > > design > > > > > > HTH > > > -Amar > > > > > > -----Original Message----- > > > From: Julia Weaver > > > [mailto:[EMAIL PROTECTED] > > > Sent: Wednesday, May 05, 2004 5:14 PM > > > To: Struts Users Mailing List > > > Subject: close pop-up window > > > > > > > > > Hi, > > > > > > I have done the following 1, 2, 3 steps, but do > > not > > > know how to do step 4 and 5. Please help me, > > thanks! > > > > > > > > > > > > 1. When the user clicks on the link a pop-up > > browser > > > window appears with a form containing all the > > > details > > > about that item. > > > > > > 2. After modifying the item 's details the user > > > clicks > > > on the form Submit button. > > > > > > 3. The Submit action saves the changes to the > > > database. > > > > > > 4. The pop-up windows closes. > > > > > > 5. The original, parent page 'refreshes ' to > > reflect > > > the changes the user made in the pop-up windows. > > > > > > > > > > > > > > > > > > > > > __________________________________ > > > Do you Yahoo!? > > > Win a $20,000 Career Makeover at Yahoo! HotJobs > > > > > http://hotjobs.sweepstakes.yahoo.com/careermakeover > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > > > [EMAIL PROTECTED] > > > For additional commands, e-mail: > > > [EMAIL PROTECTED] > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > > > [EMAIL PROTECTED] > > > For additional commands, e-mail: > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Win a $20,000 Career Makeover at Yahoo! HotJobs > > http://hotjobs.sweepstakes.yahoo.com/careermakeover > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > > __________________________________ > Do you Yahoo!? > Win a $20,000 Career Makeover at Yahoo! HotJobs > http://hotjobs.sweepstakes.yahoo.com/careermakeover > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > ************************************************************************ If you have received this e-mail in error, please delete it and notify the sender as soon as possible. The contents of this e-mail may be confidential and the unauthorized use, copying, or dissemination of it and any attachments to it, is prohibited. Internet communications are not secure and Hyperion does not, therefore, accept legal responsibility for the contents of this message nor for any damage caused by viruses. The views expressed here do not necessarily represent those of Hyperion. For more information about Hyperion, please visit our Web site at www.hyperion.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]