struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Mohan" <rahul_mo...@pune.tcs.co.in>
Subject Re: How populate a form
Date Mon, 23 Feb 2004 09:07:48 GMT

Hi Daniel...

    what i had done in my application was create the childform's actionform
instance in the action class...run the query...populate the bean and then
put it as a request attribute to prevent the RequestProcessor from creating
a new form bean object.

Hope this will work for ur app too...

regards,
rahul

----- Original Message -----
From: "Daniel" <daniel@top-it.com.br>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
Sent: Saturday, February 21, 2004 12:57 AM
Subject: How populate a form


How can I populate a form fields (bean/jsp) inside the action, this action
is a someQueryAction and forward for a edit record page with all form fields
values with results values of database query.


obrigado
Daniel S.


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message