Kevin, How is the "page" a hidden variable in your jsp?
Do you use <html:hidden property="page" /> (with or without value="someActualPageNumber") OR do you use a regular html (not JSP) tag, which, of course, would never be populated? Since I use different JSP's in my multi-page validations (one for each screen), I recommend you hard-code the page in the JSP tag such as: <html:hidden property="page" value="2"> Regards, David -----Original Message----- From: Stunger, Kevin J [mailto:[EMAIL PROTECTED] Sent: Monday, May 24, 2004 5:44 PM To: Struts Users Mailing List (E-mail) Subject: Multi-page form: DynaValidatorForm.setPage(..) not called? Hello! I'm having trouble getting Multi-page forms to work. I've set up the following: 1. Validation.xml with page numbers for each field 2. Struts-config.xml with all fields in the form-bean declaration *except* "page" and separate actions for each page (none of which have validation="false") 3. A Jsp for each page with a hidden field with the correct page number. Here's the problem: When calling DynaValidatorForm's getPage() method from within my action class (for debugging/logging) it always returns zero. This baffles me since the hidden field is on the input page and within the form and all the other values are being set. I've done several Struts applications using DynaValidatorForm without any problems. However, trying to get multi-page forms to work has been trying. Any help you can give will be greatly appreciated! Thanks, Kevin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]