[Seaside] RadioGroup on new rendering
Damien Cassou
damien.cassou at laposte.net
Thu Dec 29 21:31:10 CET 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I'm trying to render a radio group with the new method. I've done
something like :
html form: [html radioGroup: [:group |
aPoll choicesDo: [:choice |
html label: [
html radioButton
group: group;
callback: [ aPoll addVoteFor: choice].
html space; text: choice asString; break]]].
html submitButton text: 'Save']
Is there a smaller way to render a group of radio ?
How can I select the first radio by default ?
Bye
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDtEeO3hhx1vOEX5sRAqOTAKCVShKUvkM+QC3jbM2jAeSc13ffOwCdEmV8
XSBMfkT00O/ONc3prowY0w8=
=dnwa
-----END PGP SIGNATURE-----
More information about the Seaside
mailing list