tile.pageTwo is an extension of the main layout tile, with a different body
defined.

Although there are other ways of doing it, with parameters and logic and
whatnot, my suggestion would be to make a separate tiles definition for each
page, and forwarding to those tiles defs.  Does this make sense to you?  Let
me know if you're still haveing problems.


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 10:26 AM
To: Struts Users Mailing List
Subject: Re: Wizard forms



On Jun 11, 2003, "Kamholz, Keith (corp-staff) USX" <[EMAIL PROTECTED]>
wrote:

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

The forward you reference, tiles.pageTwo, what is it?  A jsp?

The reason I ask is that I have one main tile page that has logic:
tags to load different body components so that I don't need a separate
main tile page for each page of the form.  In other words, I have:

     mainTileFormPage.jsp  (loads the formBody<n>.jsp's)
     formBody1.jsp
     formBody2.jsp
     formBody3.jsp
     formBody4.jsp

I'd rather not have a mainTileFormPage<n>.jsp, and I'd rather not
embed the body tiles into the main tile form page.  Am I thinking
about this correctly?

I hope I made myself clear there... if not, let me know and I'll try
again.

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