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
}
}
}
}
-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
"Craig R.
McClanahan" To: Struts Developers List
<[EMAIL PROTECTED]>
Subject: Re: form initialization
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
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!
>
>
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
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