My own stupid fault.

I had set the value="" for the <html:text .../> in order to try to get around the 
problem
I had before I changed the scope to request.

Removed those and it now works ;-)
Tim

> -----Original Message-----
> From: Tim Penhey [mailto:[EMAIL PROTECTED]
> Sent: 02 June 2004 09:50
> To: Struts Users Mailing List
> Subject: More problems with form beans
>
>
> 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]
>
>
>





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

Reply via email to