Thanks Rich!
Looks like mine was a page refresh problem (or god knows what!) but my code
works now!
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Simple-radiogroup-question-tp3377848p3378235.html
Sent from the Tapestry - User mailing list archive at Nabble.com
Here is some code I recently used with a RadioGroup and two buttons.
Mine is tailored to decide whether a user wants to be contacted by Phone
or E-Mail, but I'm sure you can adapt. The key for me was using an Enum
as the value on the RadioGroup and as the value of each Radio.
ContactBy.java:
thanks. but, i saw this example and it doesn't talk about how to check a
particular button in the group.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Simple-radiogroup-question-tp3377848p3377957.html
Sent from the Tapestry - User mailing list archive at Nabbl
}
> }
>
>
> Can someone point me to an example?
>
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Simple-radiogroup-question-tp3377848p3377848.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> -
;
onActivate() {
if(something) {
forbidRequireRadio = "require";
else {
forbidRequireRadio = "forbid";
}
}
Can someone point me to an example?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Simple-radiogroup-question-tp33778