[Seaside] liveCallback on multiple select

Burella Juan M. juan.burella at gmail.com
Tue Mar 27 23:22:09 UTC 2007


Hello
    I have a problem with a liveCallback on a multiple select ( WASelectTag
). When any elements are selecteds on this tag the liveCallback block is
evaluated with only one element instead of several.
Any ideas?


I´ve attached an example to reproduce the behavior.
-------------------------------------------
renderContentOn: aRenderer

aRenderer form:[
aRenderer select
list: #(0 1 2 3 4 5 6 7 8 9);
beMultiple;
selected: #(0 7);
labels: [:ea | ea asString ];
callback: [ : aNumbers | selecteds := aNumbers ];
liveCallback: [: aNumbers : html | html div id: 'xx'; with:[html render:
aNumbers] ].

aRenderer render: selecteds.
aRenderer submitButton.
].
aRenderer div id: 'xx'; with: ''.


----------------

rendererClass
^WAAsyncRenderCanvas


- I add WAAsyncScripts library
- I'm using Squeak 3.8/Seaside2.7a1-mb.210/SeasideAsync-mb.59


Thanks in advance.
Juan Matías Burella
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20070327/301621ff/attachment.htm


More information about the seaside mailing list