If all you want to do is forward to another JSP page, make a forward action
in your struts-config like this:

<action path="/ForwardPageTwo" forward="tiles.pageTwo" name="myBean"/>

That way, no parameters are necessary.  You'll just have to make a whole
bunch of forward actions.

Now if only I could get it to stop giving me warnings for all my tiles
names...


Keith Kamholz
Programming and Architecture
Moog Inc.

Phone: (716) 687-7001



-----Original Message-----
From: Gregory F. March [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2003 9:00 AM
To: Struts Users Mailing List
Subject: Wizard forms



How are wizard forms (multipage forms) typically done in the struts
framework?

I have done the following and I'm running into a few configuration and
usability problems that seem to indicate that I did something wrong.
I have the following:

* Main tile page that contains a header, menu, body and footer.

* The body tile contains parts of the form with multiple submit
  buttons, a "save", "cancel", "reset", "previous" and "next".

* When the user hits next or prev, the action redirects to a forward
  with a ?page=n so that the main tile page can display the correct
  body. 

* Based on the "page" parameter, the main tile page will change the
  body of the page to a different .jsp for each of the pages in the
  multipart form.

* A DynaActionForm that has session scope to maintain the data across
  pages. 

Does this sound right?  My issues are with that "page" property to
manage the content of the body tile - it doesn't seem natural in this
framework to do it this way.

As usual, any comments are really appreciated...

Thanks,

/greg

--
Gregory F. March    -=-    http://www.gfm.net:81/~march    -=-    AIM:GfmNet

---------------------------------------------------------------------
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]

Reply via email to