[Seaside] Re: callbacks on radio buttons not executed

Kamil Kukura kamk at volny.cz
Wed Jul 21 07:18:59 CEST 2004


Julian Fitzell wrote:

> Are you using it in conjunction with #radioGroup?
> 
> You need to do, for example:
> 
> MyComponent>>renderContentOn: html
>   group := html radioGroup.
> 
>   html radioButtonInGroup: group withValue: 1 on: #foo of: self.
>   html radioButtonInGroup: group withValue: 2 on: #foo of: self.
>   html radioButtonInGroup: group withValue: 3 on: #foo of: self.

Thanks for explanation. Now I got it to work though I had to correct 
this method little bit: I don't have such method as Symbol>>asMutator so 
I replaced it with

    ....
    callback:
       [anObject perform: (aSelector copyWith: $:) asSymbol with: value]

as I saw in some other method of rendering engine.

-- 
Kamil



More information about the Seaside mailing list