[Seaside] List Callback Not Called From Updater
Quenio dos Santos
queniodossantos at gmail.com
Fri Jun 20 10:09:07 UTC 2008
I am struggling with this one for a while, and I can't figure out what's
wrong. The callbacks in the component listed below never get called, which
makes the div not get updated. I have based this on an example I found at
Would anyone please point out what I am missing here?
'From Squeak3.9.1 of 2 March 2008 [latest update: #7075] on 20 June 2008 at
WAComponent subclass: #TMBrowser
!TMBrowser methodsFor: 'rendering' stamp: 'QCMS 6/20/2008 04:56'!
| fid sid |
html heading: 'Browser'.
id: (fid := html nextId);
list: #('1' '2');
callback: [ :value | selection := value ];
id: (sid := html nextId);
callback: [ :r | r render: selection ])
!TMBrowser methodsFor: 'accessing' stamp: 'QCMS 6/19/2008 00:42'!
!TMBrowser methodsFor: 'accessing' stamp: 'QCMS 6/19/2008 00:43'!
selection := newSelection! !
!TMBrowser methodsFor: 'initialization' stamp: 'QCMS 6/20/2008 03:43'!
selection := '2'! !
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside