result := myModel asComponent. "returns an MAContainerComponent" result description attributes addClass: 'gcbpagemodel'. Apparently, MADescription no longer understands #attributes. what do I call #addClass: on now? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[hidden email]> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! _______________________________________________ SmallWiki, Magritte, Pier and Related Tools ... https://www.iam.unibe.ch/mailman/listinfo/smallwiki |
>>>>> "Randal" == Randal L Schwartz <[hidden email]> writes:
Randal> result := myModel asComponent. "returns an MAContainerComponent" Randal> result description attributes addClass: 'gcbpagemodel'. Randal> Apparently, MADescription no longer understands #attributes. Randal> what do I call #addClass: on now? And after commenting that out, I get a DNU here: MACssRenderer>>renderContainer: renderContainer: aDescription html definitionList attributes: aDescription attributes; "HERE" class: (self classFor: aDescription); with: [super renderContainer: aDescription] That's not my code. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[hidden email]> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! _______________________________________________ SmallWiki, Magritte, Pier and Related Tools ... https://www.iam.unibe.ch/mailman/listinfo/smallwiki |
In reply to this post by Randal L. Schwartz
> 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 |
In reply to this post by Randal L. Schwartz
>>>>>> "Randal" == Randal L Schwartz <[hidden email]> writes:
I know, I am responsible for all bugs you might encounter.
> > Randal> result := myModel asComponent. "returns an > MAContainerComponent" > Randal> result description attributes addClass: 'gcbpagemodel'. > > Randal> Apparently, MADescription no longer understands #attributes. > > Randal> what do I call #addClass: on now? > > And after commenting that out, I get a DNU here: > > MACssRenderer>>renderContainer: > > renderContainer: aDescription > html definitionList > attributes: aDescription attributes; "HERE" > class: (self classFor: aDescription); > with: [super renderContainer: aDescription] > > That's not my code. Name: Magritte-All-lr.258 Author: lr Time: 10 January 2008, 11:03:26 pm UUID: a708253b-3616-4fb4-9107-d17b2d6b37fd Ancestors: Magritte-All-lr.257 Dependencies: Magritte-Model-lr.303, Magritte-Tests-lr.131, Magritte- Seaside-lr.253, Magritte-Morph-tg.39 - remove #attributes send in MACssRenderer 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 |
>>>>> "Lukas" == Lukas Renggli <[hidden email]> writes:
Lukas> I know, I am responsible for all bugs you might encounter. Lukas> Name: Magritte-All-lr.258 Lukas> Author: lr Lukas> Time: 10 January 2008, 11:03:26 pm Lukas> UUID: a708253b-3616-4fb4-9107-d17b2d6b37fd Lukas> Ancestors: Magritte-All-lr.257 Lukas> Dependencies: Magritte-Model-lr.303, Magritte-Tests-lr.131, Magritte- Lukas> Seaside-lr.253, Magritte-Morph-tg.39 Lukas> - remove #attributes send in MACssRenderer So, I see Magritte-Model updated I presume a few hours ago, which I loaded, and got my DNU. What is Magritte-All? Does it also contain code? Should I be loading it instead? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[hidden email]> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! _______________________________________________ SmallWiki, Magritte, Pier and Related Tools ... https://www.iam.unibe.ch/mailman/listinfo/smallwiki |
Free forum by Nabble | Edit this page |