AnsweredAssumed Answered

Associations and parent record

Question asked by redomancer on Jun 3, 2009
I have created custom *.ftl template to display child records for parent record (from associations in my custom model) and I am using:

<#list document.assocs["cwa:name"] as t>


But how to iterate and print parent records if child record is opened? How to access parent records from *.ftl (document.parent is referencing space, but there is also primaryParentAssoc but I havent found how can this be used)? Maybe this is somehow related to data model? Right now I have association from type A to type B, is it reasonable to create from B to A?