I'm embedding a component in a page like this
+component|className=HRWine+
On the embedded component I have
descriptionContextClassName
^ MAStringDescription new
parameterName: 'className';
accessor: #contextClassName;
priority: 100;
label: 'Name of the context class';
beRequired;
yourself
What I get is an entry in the components properties with an association description -> value. That is good so far. I'm asking myself what is the best way to access the value. If I don't specify an accessor on the description magritte creates one itself leading to equality check failing in properties when doing
self propertyAt: self class descriptionContextClassName.
But if I have to specify an accessor I'm wondering why the accessor isn't used to store the value in the component.
Do I misunderstand something or is there a preferred way of accessing parameter values?
thanks,
Norbert
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki