[Seaside] how to keep only one instance of each element in a list?
Michael Delache
vladmanchev at gmail.com
Thu May 20 10:33:00 UTC 2010
Hi,
I'm making an html select as follows
html paragraph:
[
html span class: 'boxAlign'; with: [
html html: 'SÉrie: *'.
html select
list:(bds collect:[:each | each serie]);
callback: [ :value | aBD serie: value];
selected: aBD serie.
].
].
My problem is: in "list" i have a lot of duplicated elements.
I would like to know how to keep only one instance of each element but keep
it in a list because the html select take a list (at least I think we cant
give it a set)
Thanks,
Michaël D.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100520/0eec9c3e/attachment.htm
More information about the seaside
mailing list