« Return to Thread: DNU in my code from latest Magritte

Re: DNU in my code from latest Magritte

by Lukas Renggli-2 :: Rate this Message:

Reply to Author | View in Thread

> result := myModel asComponent. "returns an MAContainerComponent"
> result description attributes addClass: 'gcbpagemodel'.
>
> Apparently, MADescription no longer understands #attributes.
>
> what do I call #addClass: on now?

As before, you just use #cssClass: directly on the description.

#attributes didn't really belong into the description anyway. I think  
like this it is much cleaner.

Lukas

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




_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

smime.p7s (5K) Download Attachment

 « Return to Thread: DNU in my code from latest Magritte