Hi
My earlier response somehow only got to Lukas.
What I know have is:
MyComponent class>>descriptionModel
| desc |
^ MADynamicObject on: [
SW2CurrentContextHolder value contents in: [ :context |
(context componentFor: context structure) in: [ :component |
component description ] ] ].
MyCompoent>>doesNotUnderstand: aMessage
^(self context componentFor: self structure)
perform: aMessage selector
withArguments: aMessage arguments.
This works fine for editing one component. However if I edit an other
component with a different description, it fails because the description of
the old component is used.
Should I load Magritte-All-lr.10 and try ?
MyCommand>>description
^MABuilder default build: self.
Philippe
--
+++ NEU: GMX DSL_Flatrate! Schon ab 14,99 EUR/Monat! +++
GMX Garantie: Surfen ohne Tempo-Limit!
http://www.gmx.net/de/go/dsl