Has anyone done, or seen a sample of cascading dialog
boxes done
with only magritte descriptions? Say I had a dropdown list of
classes, and when one was selected, I want the next drop down list
to contain methods in that class, or maybe countries and states, or
whatever. How can the second MultipleOptionDescription get it's
options: from the selector on the instance that the first
MultipleOptionDescription set the value on?
Yes, however you need to specify the second description on the
instance-side to be able to define it according to the state of your
model. There are some examples on how to change descriptions on an
instance-bases in the slides of my Magritte Tutorial (Dynamic
Descriptions, 31-33) at <http://www.lukas-renggli.ch/smalltalk/
magritte>.
Cheers,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch