On 17/01/12 1:34 PM, Lukas Renggli wrote:
Some Magritte users are unnecessarily rigid, because the descriptions
are only created once and in a meaningless context (on the class
side). This caused some ugly hacks like #magritteDynamicObject or
overrides of #description that should no longer be necessary.
Yes, that's the motivation. I needed a magritte description that was
used to populate a select list. The options needed to be based on the
instance's containing object. There's no way for a class-based
description to handle this situation.
Even #magritteDynamicObject was not sufficient because the dynamic block
has no access to the instance.
I'll try out the new code, once I get past my current build problems.