You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Wong Kok Wai <wo...@yahoo.com> on 2000/12/14 00:35:56 UTC
Dynamic form
What's the recommended way to implement a dynamic form
using Struts? Typical scenario: an address book for
email where the number of contacts varies. No problem
with renderering the form in the JSP but how do I
associate the "<input" with an attribute in an
instance of the ActionForm?
TIA!
__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/
Re: Dynamic form
Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
Wong Kok Wai wrote:
> What's the recommended way to implement a dynamic form
> using Struts? Typical scenario: an address book for
> email where the number of contacts varies. No problem
> with renderering the form in the JSP but how do I
> associate the "<input" with an attribute in an
> instance of the ActionForm?
>
Struts 1.0 does not really address the issue of dynamic forms -- it is more
focused on "static forms where the names of the request parameters, and thus the
names of the corresponding properties on your ActionForm bean, are known.
Elegant support for dynamic forms will be a focus area for Struts 1.1.
>
> TIA!
>
Craig McClanahan