On Mon, 01 Feb 2010 06:29:14 -0200, lebenski <be...@gamesys.co.uk> wrote:
I have a loop that contains a form and a zone. In each iteration of the
loop, submission of that form should update it's relevant zone:
<t:loop source="draft.draftPicks" value="draftPick" volatile="true">
<t:form t:id="pickCommentForm" context="draftPick" t:zone="${zoneId}">
...
<t:submit/>
</t:form>
<t:zone t:id="otherCommentsZone" id="${zoneId}">
<div class="otherCommentsBody">
...
</div>
</t:zone>
</t:loop>
I would create a simple component wrapping the Form and the Zone and then
use it inside your loop.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, software architect and developer, Ars Machina Tecnologia da
Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org