Still working with the DynaValidatorForm.

I am trying to test by directly going to the action and not passing in all the required
parameters to make sure that the form validation is working (if I use my entry jsp the
javascript validation catches the problems [as designed]), but being the paranoid 
android
that I am, I want to make sure that if the action is called directly the validation 
works
and returns the user to the entry page with the errors shown and the form partially
populated with the information that they had entered.

The action used to have the form in session scope, but this was not allowing me to test
the direct entry without manually removing the form from the session.

Hubert Rabago suggested:
> Sounds like a better approach for you is to put your form in request scope.
> Try something like:
>
> <action path=/mySubmitPath"
>     scope="request"
>     ...>

So, I changed my action to have scope="request", but now when the action forwards to 
the
input page, I get the errors shown, but the form no longer gets populated with what the
user had passed through.

Any ideas?

Tim





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

Reply via email to