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
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside