MAInternalEditorComponent error
John McKeon
p3anoman at gmail.com
Tue Mar 9 19:09:22 MET 2010
Hello Dario,
You have to initialize that instance variable indirizzoMemo (otherwise there
is really nothing to edit, no?)
You can do this most easily by adding it as a default for the
MAAccountModel>>descriptionIndirizzoMemo description:
default: MAIndirizzoModel new;
HTH
John
On Tue, Mar 9, 2010 at 11:56 AM, dtrussardi at tiscali.it <
dtrussardi at tiscali.it> wrote:
> Hi,
>
> i work with Magritte-Model-lr.394 on pharo.
>
> I have a MAAccountModel with descriptionCodice and
> descriptionIndirizzoMemo.
>
> The last is defined as:
>
> descriptionIndirizzoMemo
> ^ (MAToOneRelationDescription new)
> componentClass: MAInternalEditorComponent ;
> classes: (Array with: MAIndirizzoModel);
> selectorAccessor: 'indirizzoMemo';
>
> label: 'Indirizzo';
> comment: 'Indirizzo di riferimento';
> priority: 220;
> "beReadonly;"
> yourself
>
> Now MAIndirizzoMemoModel is defined with some other description:
>
> descrptionCitta
> descriptionNumero
>
> and other description.
>
> ( You can load the file mcz. )
>
>
> Now when open: MAAccountModel new asComponent
>
> i found the error:
>
> MessageNotUnderstood: receiver of "isMultipart" is nil
>
>
> isMultipart
> ^ self children anySatisfy: [ :each | each isMultipart ]
>
>
> The error is erase only with componentClass set to :
> MAInternalEditorComponent.
>
> Any considerations ?
>
> Thanks,
> Dario
> _______________________________________________
> Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>
--
http://jmck.seasidehosting.st
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.iam.unibe.ch/pipermail/smallwiki/attachments/20100309/c8161e55/attachment.html>
More information about the smallwiki
mailing list