[Seaside] select tag population / callback..

sergio_101 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..

thanks, boris!

-- 
----
peace,
sergio
photographer, journalist, visionary

http://www.ThoseOptimizeGuys.com
http://www.CodingForHire.com
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101


More information about the seaside mailing list