[Seaside] how to keep only one instance of each element in a list?
Karsten
karsten at heeg.de
Thu May 20 11:19:34 UTC 2010
Michaël,
why don't you do something like asSet asSortedCollection?
Kind Regards
Karsten
Am 20.05.10 12:33, schrieb Michael Delache:
> 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.
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
--
Karsten Kusche - Dipl. Inf. - karsten at heeg.de
Georg Heeg eK - Köthen
Handelsregister: Amtsgericht Dortmund A 12812
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100520/ad19cba2/attachment.htm
More information about the seaside
mailing list