Peter Uhnák <[email protected]> writes:
> ~~~~~~~~~~~~~~~~~~~
> Person>>descriptionEmail
> <magritteDescription>
> ^ MAStringDescription new
> label: 'Email';
> accessor: #email;
> beRequired;
> yourself
> ~~~~~~~~~~~~~~~~~~~
to complement Stephan's answer, you can add properties to your
description that you use to filter them when building the morphs. For
example:
Person>>descriptionEmail
<magritteDescription>
^ MAStringDescription new
label: 'Email';
accessor: #email;
beRequired;
shouldBeShownInTheBasicView: true;
yourself
Then, when building the morph, you can #select: on
'shouldBeShownInTheBasicView' value.
--
Damien Cassou
http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill