This is my simple example, I craeted it just to check how to use Radio
html:
<div t:type="form">
<div t:type="radiogroup" t:id="nameoption">
<div t:type="radio" t:id="radio1" t:value="name1"
/><label>${name1}</label>
<br/>
<div t:type="radio" t:id="radio2"
t:value="name2"/><label>${name2}</label>
</div>
<p>
<input type="submit" value="Select"/>
</p>
</div>
<div t:type="if" t:test="nameoption">
${nameoption} has been selected
</div>
Page class
@Persist
private String nameoption;
private String name1 = "Option1";
private String name2 = "Option2";
i ignore setter and getter here.
--
View this message in context:
http://www.nabble.com/T5%3A-radio%2C-label-tf4276314.html#a12174779
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]