I understand how to create a form for a javabean or a form with a fixed
number of input elements but how do I handle variable numbers of beans/input
element.

Just surround the part of your form with a Loop component.

Something like:
<t:form>
  <t:loop source="myBeanList" value="currentBean">
     <t:textfield value="currentBean.myProperty" />
  </t:loop>
  <t:submit />
</t:form>

If you want to add rows via AJAX use AJAXFormLoop component.

--
Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to