struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stunger, Kevin J" <>
Subject Multi-page form: DynaValidatorForm.setPage(..) not called?
Date Mon, 24 May 2004 21:44:21 GMT

I'm having trouble getting Multi-page forms to work.  I've set up the

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


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message