I'm dynamically generating a form using JSTL <c:forEach> to iterate over a
collection of beans, one row in the form for each bean.  I'm also
dynamically populating fields from properties of those beans.

There is a checkbox and a text field in each row which are prepopulated
dynamically, and the user can change their values.  They're named with an
iterator foo_1 and bar_1, foo_2 and bar_2 etc.

I can generate the HTML for the form, but how do I utilize a DynaActionForm
using the Struts html tags with dynamic values, since tags can't be nested?
(eg: <html:text name="Amount_<c:out value="${iter}"/>" value="<c:out
value="${account.payAmount}"/>" doesn't work)

I'm also not entirely clear on how to get the values from the DynaActionForm
in my Action.

On a side note, when are the JSTL tags going to be able to use DynaBeans?

Greg


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

Reply via email to