[Seaside] Re: Setting options for MAMultipleOptionDescription? (in Magritte)

Lukas Renggli renggli at gmail.com
Mon Oct 26 21:17:57 UTC 2009


> Seems like there ought to be a #selectorGetOptions: method
> in MAMultipleOptionDescription to tell it which of its model's methods to
> call to get its options?

That's not supported. Have a look at
<http://www.lukas-renggli.ch/smalltalk/magritte/faq> on how to adapt
descriptions depending on the object. Also check the mailing-list
archive to find other discussions on this topic.

Cheers,
Lukas


>
> On Mon, Oct 26, 2009 at 4:49 PM, John Chludzinski
> <john.chludzinski at gmail.com> wrote:
>>
>> I'm trying to set the options for MAMultipleOptionDescription using an
>> instance variable of its associated model (Lists).  But since the call to
>> set the options for the instance of MAMultipleOptionDescription is in a List
>> (the model's) class method, I can't make access to this instance variable
>> (of List).  I tried having the #selectorAccessor: method return these value,
>> but of course this merely added these to the selected list - NOT the
>> options.  Not what I wanted.  There must be a means to access instance data
>> associated with the model to be displayed in the options for
>> MAMultipleOptionDescription?
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>



-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list