[Seaside] select tag population / callback..
sergio.rrd at gmail.com
Wed Sep 26 12:38:58 UTC 2012
> (html select)
> list: self countries;
> selected: country;
> labels: [:ea | ea label];
> callback: [:obj | country := obj].
> where #country is an ivar and #countries is a selector returning a collection of your country objects each of which responds to a #label for its textual representation, for example.
ah! labels! this is the method i think i was overlooking!
unfortunately, i can't play with this until i get home tonight..
until 5pm.. i am in ruby on rails world..
photographer, journalist, visionary
More information about the seaside