[Seaside] how to catch multiple value from a list in a select
philippe.marschall at gmail.com
Sun Mar 25 11:18:12 UTC 2007
2007/3/25, Hilaire Fernandes <hilaire2006 at laposte.net>:
> I have found the following to not work as expected:
> html attributes at: 'multiple' put: 'multiple'.
> html openSelect.
> IFIAdult functions do: [:afunction |
> optionWithLabel: afunction
> callback: [teacher addFunction: afunction]] .
> html closeTag: 'select'.
> From this code snippet it could be expect the callback to be called
> several time with the selected values from the list, but this never
> happen. If so, how can be catched the selected values?
IIRC Lukas fixed once a bug related to multiple select lists (or
implemented them at all). So probably they don't work in the old
renderer at all (need a hidden input or whatever). Just one more
reason to not use the old renderer, there are enough other because
this of course.
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
More information about the seaside