[Seaside] nested LiveCallbacks

Michel Bany m.bany at wanadoo.fr
Fri Oct 28 19:42:25 UTC 2005


Juan Burella a écrit :

> Michel,
>          First and foremost, thanks for your time.

No problem, I need this to work for one of my projects.

> I have tried with Seaside2.5b8-mb.15 with the following selection 
> secuence:
>
> Aruba, Argentina, Cordoba (second list). When Cordoba is selected 
> provinceSelected:anObject on: aRenderer is sent with 'Argentina' ( 
> like anObject ) and not with 'Cordoba'
>
In this method #countrySelected:on: change this line
                liveCallback:  [:anObj :h | self provinceSelected: 
anObject on: h].
to :
                liveCallback:  [:anObj :h | self provinceSelected: anObj 
on: h].

Enjoy,
Michel.



More information about the Seaside mailing list