e form.
if (field == null) {
populate it from your database ...
Dick
- Original Message -
From: "Ted Husted" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, January 24, 2002 9:57 AM
Subject: Re: Question about forms and validation.
l error to be
> corrected.
>
> Thanks again, Mike
>
> -Original Message-
> From: David Gaulin [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 24, 2002 5:09 AM
> To: Struts Users Mailing List
> Subject: Re: Question about forms and validation.
>
> Mike,
>
>Is there a way to get it to display the form as the user edited it?
Mike,
I'm also relatively new to Struts, and as such am not particularly sure that
I should be posting with an answer, but here goes anyhoo...
I've encountered a similar problem to yours, and my solution was a three
step a
to be
corrected.
Thanks again, Mike
-Original Message-
From: David Gaulin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 24, 2002 5:09 AM
To: Struts Users Mailing List
Subject: Re: Question about forms and validation.
Mike,
If you have the proper ActionForm class which represen
t; <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 23, 2002 2:56 PM
Subject: Question about forms and validation.
> Hi,
>
> I have a question about the validate method on the ActionForm. From my
> understanding,
> if a validation error is found, you se
Hi,
I have a question about the validate method on the ActionForm. From my
understanding,
if a validation error is found, you set up a collection of ActionErrors and
return this. This
causes struts to forward back to your input form, correct?
In my situation, I populate a form for editing.
6 matches
Mail list logo