Re: Question about forms and validation.

2002-01-24 Thread Dick Starr
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.

Re: Question about forms and validation.

2002-01-24 Thread Ted Husted
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, >

RE: Question about forms and validation.

2002-01-23 Thread S. Chong
>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

RE: Question about forms and validation.

2002-01-23 Thread Witt, Mike (OH35)
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

Re: Question about forms and validation.

2002-01-23 Thread David Gaulin
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

Question about forms and validation.

2002-01-23 Thread Witt, Mike (OH35)
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.