[Seaside] magritte - MASingleOptionDescription as an orderCollection
sergio_101
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
problem..
my description looks like:
descriptionSiteType
^ MASingleOptionDescription new
accessor: #siteType;
label: 'Site Type';
priority: 15;
options: (SiteType repository do: [:each | each name1]);
yourself
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!
--
----
peace,
sergio
photographer, journalist, visionary
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