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 configured your actions
properly the framework will do this bit of work for you.


I am sorry but I dont understand. The prepare action needs to prepopulate
values into the form that is displayed subsequently. How else can i do
this??

So I printed a message from the default constructor of my form bean.
Thats
> printed twice, once when i instantiate it in PrepareAction and again
when
> the page is loaded.

See?

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Puneet

Reply via email to