I would use the paging feature in ActionForms
A single ActionForm can be used for the wizard style data collection.  

It also hooks in with the validator, allowing you to specify that for page
1, only page 1 fields will be validated, such as your name and your SSN.

Since the ActionForm can have a scope of session, you can retrieve values
from page 1 on page 2, using JSTL.

<c:out value="${FormName.map.formField}"/>

Now does it make sense, that is up to the process.  I guess it doesn't hurt,
I'm not so sure as a user how ecstatic I would be to see my own SSN on a web
page, unless SSL is part of the process.

First time I participated in the mailing list.

Edward


-----Original Message-----
From: Zhang, Larry (L.) [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 10, 2007 11:58 AM
To: Struts Users Mailing List
Subject: The design of bread crumb trail

Say I have two Jsp pages, Page 1, Page 2.

On page 1 I have some text fields such as Name, SSN for example, and the
user types in Name and SSN and then submit the form and the navigation goes
to page 2. On page 2 I have the bread crumb trail saying Page 1>> Page 2.
Notice that Page 1 is a clickable link, and when you click on the link, Page
1 is shown. (Page 2, on the bread crumb trail, is not clickable since the
current page is Page 2)

My question is: (1) in current J2EE/Struts industry standard, does it make
sense to display the data that the user entered on Page 1 for Name and SSN
when coming from the bread crumb trail on Page 2? (2) what technique I need
to use to see the data that the user typed in for Name and SSN on Page 1,
when coming from the bread crumb trail on Page 2? 

My application is a Struts and J2EE based application.

Thanks.


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