Re: form initialization

2001-12-14 Thread Ted Husted
You really *MUST* post these questions to the user list where there are more people to help you. But, yes, you can write a Javascript that clears the fields. Anything you want to do "client-side" is going to involve Javascript, and is technically outside the scope of the framework. Colin Sharpl

RE: form initialization

2001-12-13 Thread Matt Raible
} } } } -Original Message- From: Colin Sharples [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 1:37 PM To: Struts Developers List Subject: Re: form initialization Apologies for following up a user-type question with another one, but in the int

Re: form initialization

2001-12-13 Thread Colin Sharples
"Craig R. McClanahan" To: Struts Developers List <[EMAIL PROTECTED]> Subject: Re: form initialization

Re: form initialization

2001-12-13 Thread Oleg V Alexeev
Hello Jon, Thursday, December 13, 2001, 7:40:34 AM, you wrote: JB> Greetings! JB> I have a dynamic form which needs to be initialized from the JB> database. If I put code to initialize the attributes in the JB> default constructor of the form bean, all this happens with no JB> problems - JB

Re: form initialization

2001-12-12 Thread Craig R. McClanahan
On Wed, 12 Dec 2001, Jon Burford wrote: > Date: Wed, 12 Dec 2001 20:40:34 -0800 > From: Jon Burford <[EMAIL PROTECTED]> > Reply-To: Struts Developers List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: form initialization > > Greetings! > >

Re: form initialization

2001-12-12 Thread Arron Bates
The only way which I've done such a thing is with a bean nested one level inside another. The constructor is called on the root bean, and have getters and setters there waiting to handle the parameters that you're passing from your form. In your action, call another method which will then buil

form initialization

2001-12-12 Thread Jon Burford
Greetings! I have a dynamic form which needs to be initialized from the database. If I put code to initialize the attributes in the default constructor of the form bean, all this happens with no problems - the form is displayed with the proper values. My problem is that the form bean needs s