[Seaside] Re: MAToOneRelationDescription display

Stephan Eggermont stephan at stack.nl
Thu Feb 5 12:36:47 UTC 2015


Hi Hilaire,

I'm afraid I don't quite understand what problem you are running into.

On the class side of MAToOneRelationDescription you find the default 
components that are used to render, either the MAExternalEditorComponent
or the MAInternalEditorComponent. You can override that on an individual
basis with componentClass: or you can override that systematically
as done in QCBootstrapComponentBuilder>>visitToOneRelationDescription:

"A QCDescriptionBuilder is an abstract class for enriching a Magritte description, 
e.g. setting the component class based on the description class."

Stephan


More information about the seaside mailing list