Hi,
Magritte's MAOneToManyComponent uses a hardcoded reference to MAReport,
which shows all the descriptions of the reference, even those in which
#visibleInReport attribute is false.
MAOneToManyComponent>>#buildReport
^ (MAReport rows: self value description: self reference)
sortEnabled: self magritteDescription isOrdered not;
yourself
Can we add a #reportClass attribute to such component?
With its correspondent #defaultReportClass answering MAReport, and maybe
filter the descriptions by #visibleInReport attribute, or simply delegate
such behavior to the #reportClass
I fixed it by subclassing MAOneToManyComponent, but I think this should go
at base level.
Regards!
--
View this message in context:
http://forum.world.st/MAOneToManyComponent-s-report-shows-all-descriptions-…
Sent from the Magritte, Pier and Related Tools mailing list archive at
Nabble.com.