Ashish,

Check out the validation.xml page="NUMBER" attribute.  See "Multi Page
Forms" at: http://struts.apache.org/userGuide/dev_validator.html

Additionally, handling page navigation depends on how you set it up.

If you set up one action per page but using the same validation.xml form,
you could set an href with the url and the page=1 (or page=3, etc.)
parameter.

If you setup distinct actions per page, you might have to hard-code the
action in the JSP as a button or href labeled "next" or "previous".

Navigation is your choice and very flexible.

Heck, you could even use tiles with a Controller so one Action does
everything and the controller simply inserts the correct JSP for the center
of the form based on the page attribute.  I.E. page #1 shows input.jsp, page
#2 shows selections.jsp, page #3 shows countries.jsp, etc.  See the Tiles
Advanced Features PDF on the Struts site (bottom of the Tiles UserGuide
section) for more information on Tiles and Controllers.

Just keep in mind to use the appropriate "page" attribute with the
html:javascript tag IF you use client-side validation.

Regards,
David

-----Original Message-----
From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 27, 2004 1:05 PM
To: [EMAIL PROTECTED]
Subject: data entry screen with more then one jsp page


Hi
Has anyone developed a data entry screen which spans
more then one jsp page,
This framework must do validation on each page, and
provide navigation buttons to go one page to other or
come back and see the data entered
How do i processed with this requirement
Ashish



__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail

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