[Seaside-dev] Re: [Seaside Commits] Seaside 3.0:
Seaside-Tests-Functional-obi.101.mcz
Julian Fitzell
jfitzell at gmail.com
Thu Dec 31 09:57:34 UTC 2009
On Thu, Dec 31, 2009 at 12:57 AM, Gerhard Obermann <obi068 at gmail.com> wrote:
> What about making a new class for
> e.g. called WARadioGroupTag.
> In that case i would change back the code for WARadioGroup.
>
> The code would be similar to the select lists:
>
> html radioGroupList
> list: self elements;
> selected: self selected;
> callback: [ :value | selected := value ]
Hm... well, I'd prefer it wasn't a subclass of WATagBrush (since it's
not an HTML tag) but it could subclass WABrush and implement itself
using WARadioGroup and WARadioButtonTag, I think. WARadioButtonTag
would revert to just doing static HTML (no callback support). Lukas?
Philippe?
> BTW how to get the group from button. There is no direct reference or am i
> missing something.
Ah, it seems we don't store it. I was assuming #group: stored it. It
could be changed to of course, but your proposal above may be
better...?
Julian
More information about the seaside-dev
mailing list