[Seaside] magritte - MASingleOptionDescription as an orderCollection
sergiolist at village-buzz.com
Sat Mar 6 18:57:19 UTC 2010
i am trying to figure out how to create a form with magritte using
another object to populate the select box, but am having a little
my description looks like:
^ MASingleOptionDescription new
label: 'Site Type';
options: (SiteType repository do: [:each | each name1]);
which populates it with the name of the class (not the instance name),
but it appears to save the object okay..
what i would like to do is have it:
save the correct object, but have the name1 show up as the selection text...
any ideas? thanks!
photographer, journalist, visionary
More information about the seaside