You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Andrew Close <ac...@gmail.com> on 2004/07/14 18:58:09 UTC

More fun with forms...

Hi all,

i've looked through a couple articles detailing the use of ActionForm
and DynaActionForm, but i haven't found anything that explains how to
build a dynamic form.  dynamic meaning i don't know how many elements
will be on the form since it will vary based on the amount of data
returned in the query.
example:
i have a table that i'm populating and i would like a comment field to
be editable.  so for each row in the table i will have one editable
field.  i've done this before, but not with Struts.  how do i set up
my ActionForm to handle this?

Thanks for your help
andy

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


Re: More fun with forms...

Posted by ron1 <ro...@gmx.net>.
Look at this HowTo:

http://struts.apache.org/faqs/indexedprops.html

Maybe it will bring you further,
Cheers,
Ron


Andrew Close wrote:
> Hi all,
> 
> i've looked through a couple articles detailing the use of ActionForm
> and DynaActionForm, but i haven't found anything that explains how to
> build a dynamic form.  dynamic meaning i don't know how many elements
> will be on the form since it will vary based on the amount of data
> returned in the query.
> example:
> i have a table that i'm populating and i would like a comment field to
> be editable.  so for each row in the table i will have one editable
> field.  i've done this before, but not with Struts.  how do i set up
> my ActionForm to handle this?
> 
> Thanks for your help
> andy


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