From: Puneet Lakhina [mailto:[EMAIL PROTECTED]
> On 10/11/06, Ed Griebel <[EMAIL PROTECTED]> wrote:
> > You should not instantiate manually your own formbean nor put it
into
> > the request scope, you must use the formbean passed into your action
> > class via the ActionForm object.
> Ok I think my
On 10/11/06, Ed Griebel <[EMAIL PROTECTED]> wrote:
You should not instantiate manually your own formbean nor put it into
the request scope, you must use the formbean passed into your action
class via the ActionForm object.
Ok I think my question isnt clear.
I have two action classes PrepareA
From: Puneet Lakhina [mailto:[EMAIL PROTECTED]
> The prepare action needs to prepopulate values into the form that is
> displayed subsequently. How else can i do this??
Populating a form is different than instantiating one and putting it in
to scope: Struts1 already instantiates and scopes forms.
You should not instantiate manually your own formbean nor put it into
the request scope, you must use the formbean passed into your action
class via the ActionForm object.
When you get the handle to the formbean you can either cast the
formbean to it's real class or you can use
BeanUtils.populate
On 10/11/06, Dave Newton <[EMAIL PROTECTED]> wrote:
From: Puneet Lakhina [mailto:[EMAIL PROTECTED]
> the fooAction has formBeanName as its form bean defined in the struts
> config. But Im not able to get any values into the fields in my form.
Why are you doing this manually? If you have configu
From: Puneet Lakhina [mailto:[EMAIL PROTECTED]
> the fooAction has formBeanName as its form bean defined in the struts
> config. But Im not able to get any values into the fields in my form.
Why are you doing this manually? If you have configured your actions
properly the framework will do this bi
6 matches
Mail list logo