You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by rajiv ahuja <ra...@hotmail.com> on 2003/01/20 04:06:04 UTC

prepoulating map-backed forms

Hi

I am a newbie and got a requirement which probably could be solved using 
map-backed ActionForms. Actually I don't know the form properties in advace 
(getting it from database) so decided to use map-backed ActionForm. I also 
need to show the existing state (in database) in the web form and then allow 
user to change it. I am not sure how to prepopulate the map and write the 
jsp so that

<html:text property="value(key)" />

shows what's their in database and allows the user to change it.

Sample code wil be highly appreciated.

Thanks
Rajiv





_________________________________________________________________
Help STOP SPAM: Try the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>