You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Mite <mi...@gmail.com> on 2010/09/19 12:28:47 UTC
Radio button and submit
I have two radio buttons and want to submit a form when one gets selected. I
have this code.
<t:form>
<t:radiogroup t:id="type">
# <t:radio t:id="listAll"/>
<t:label for="listAll"/>
# <t:radio t:id="onlyActive"/>
<t:label for="onlyActive"/>
</t:radiogroup>
</t:form>
The correct events get called when the radio gets selected, but after that
always the second radio is displayed as selected.
I have the type as a parameter:
@Persist
@Property
private String type;
Is there a solution for this?
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Radio-button-and-submit-tp2845487p2845487.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Radio button and submit
Posted by LLTYK <LL...@mailinator.com>.
There's something missing here. How are you submitting the form?
--
View this message in context: http://tapestry-users.832.n2.nabble.com/Radio-button-and-submit-tp5547402p5549978.html
Sent from the Tapestry Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org