Hi all,
I have a simple but unusual use case for a Tapestry form, whereby its
output will be one of 27 options: A to Z plus an asterisk (for all).
Obviously I could take the conventional approach of using 27 radio
buttons along with a submit button. This would require two clicks from
the user. I figured, however, why not simply have 27 submit buttons so
a selection can be made from a single click. This would require,
however, each of the buttons having 'context' so I can know which button
was clicked.
Would Tapestry support a fieldless form such as this? As I've
encountered some difficulty extracting the below context field from
inside the code.
A snippet from the TML:
<t:loop source="buttons" value="paneButton">
<input t:type="submit" t:id="tap" t:context="paneButton"
t:defer="false" class="btn ${buttonStyling}" value="${buttonLabel}" />
</t:loop>
Kind regards,
Chris.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org