[Seaside] select tag population / callback..

sergio_101 sergio.rrd at gmail.com
Wed Sep 26 04:51:20 UTC 2012


hey, guys.. i am trying to figure this out, but i am missing something here:

i have an array of objects...

i would like to populate a select box so that the options will be
populated with the some text from the object..

when the form is submitted, i want the callback to set some value to
the object pointed to by the select box..

if i do something like this:

	html select
		list: self trackSelect;
		callback: [:value | ?? ].

the box populates correctly, but i can't figure out how to grab a
handle to the object selected..

am i just thinking about this all wrong?

thanks!


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