[Seaside] Can I do this with a select list?
Keith Hodges
keith_hodges at yahoo.co.uk
Fri Oct 6 05:55:29 UTC 2006
Rick
so your example would be something like this
html select
list: catCollection;
selected: catCollection first;
labels: (catCollection collect: [ :item | item name ]);
callback: [ :item | self cat: item ];
yourself.
Keith
>
> .
> .
> (html select) list: catCollection; useMappingMethod: #name; selected:
> (catCollection first); callback: [:i | self cat: i].
> .
___________________________________________________________
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine
http://uk.docs.yahoo.com/nowyoucan.html
More information about the Seaside
mailing list