Re: #reference

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: #reference

Stephan Eggermont-3

Forwarded for Diego

Hi all,

The reference is the magritte description of the object you are referencing. It has a default that returns “default” magritte description.

In example if you have the following description:
<magritteDescription>
MAToOneRelationDescription new
        label: ‘demo’;
        accessor: #demo;
        classes: (Array with: MADescription);
        yourself

It will have a reference that has a default of MADescription magritteTemplate magritteDescription.

Example usage:
If you are displaying reports, its columns are initialised based on this reference. So the means you can set this reference to display a custom set of columns.

Cheers,
Diego



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside