Hello Ben & Thiago,
Thanks, both, for coming with those excellent ideas and suggestions!
In the end I opted not to use a form, employing simple EventLinks
instead (as suggested). The functionality Tapestry forms provide
out-of-the-box - validation and error reporting - I decided I could live
without in this instance.
The final TML:
<t:zone t:id="nameFilterZone" id="nameFilterZone">
<div class="filter-container">
<div class="filter-icon">
<img src="${filterIcon}"/>
</div>
<div class="filter-buttons">
<t:loop source="buttons" value="paneButton">
<button t:type="eventlink" t:event="applyFilter"
t:context="paneButton" class="btn ${buttonStyling}"
async="true">${buttonLabel}</button>
</t:loop>
</div>
</div>
</t:zone>
Kind regards,
Chris Dodunski.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org