I'm using DynaValidatorForm and LookupDispatchAction for a multi-page form,
so I have the problem of needing different validations for each 'page' of
the form.  I learned about getValidationKey and am successfully returning a
String that matches one
of the <form name="..."> tags in validation.xml.  That's working.

My problem now is that when the validation fails, this happens:
DEBUG org.apache.struts.action.RequestProcessor -  Validation failed,
returning to 'den.register.page'

And that goes back to the *first* page of the multi-page form, (the 'input'
attribute of the <action> in struts-config.xml).

What am I missing to be able to make sure a failed validation goes back to
the "right" page (which is one of the forwards listed in the <action> tag)?
The pieces of this puzzle aren't fitting together for me today.

If at all possible I'd like to stay with only one <action> and one <form> in
struts-config.xml.

-- 
Wendy



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to