[Seaside] Re: #reference

stephan stephan at stack.nl
Thu Feb 19 09:44:21 UTC 2015


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





More information about the seaside mailing list