What about more dynamic selectors?
Consider that I have an option selector that is addable - there are a
set set of options, plus the user can add his own. I'll have to do a
database query to come up with the available set of options and it
will vary. How will this work?
-Todd Blanchard
On Apr 12, 2007, at 11:57 AM, Damien Cassou wrote:
Hi again,
Lukas and I solved the problem. You must use the last version and do
something like:
descriptionCountry
^ (MASingleOptionDescription auto: 'country' label: 'Country')
optionsAndLabels: {#fr->'France'. #gb->'Great Britain'};
default: #fr;
beRequired;
yourself
This work with multiple option descriptions too:
descriptionCountry
^ (MAMultipleOptionDescription auto: 'country' label: 'Country')
optionsAndLabels: {#fr->'France'. #gb->'Great Britain'};
default: {};
beRequired;
yourself
--
Damien Cassou
_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki