[Seaside] RadioGroup on new rendering

Damien Cassou damien.cassou at laposte.net
Sun Jan 1 21:15:59 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lukas Renggli a écrit :
>>Is there a smaller way to render a group of radio ?
> Mewa? Magritte?

I was thinking about something like the list method :

html selectFromList:selected:label:

>>How can I select the first radio by default ?
> [...]
> html radioButton
>     group: group;
>     selected: aPoll choices first = choice
>     callback: [ aPoll addVoteFor: choice ].
> [...]

You are right. It's a common pattern :-)

Thanks

- --
Damien
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDuDh/3hhx1vOEX5sRAhYBAJ9ljuh4qo0LUstLLsHJ0a2fynCjVgCcDGEu
LUqB6bTpsDI7CMZIBTbNekc=
=DyhX
-----END PGP SIGNATURE-----


More information about the Seaside mailing list