AnsweredAssumed Answered

forms, association.ftl & displayMode = list

Question asked by boneill on Dec 18, 2013
Latest reply on May 20, 2014 by lementree
Hi Guys,

I am trying to figure out how the display for the assoication control is rendered when the displayMode is set to "list".  The config below is an example config for the association.  With this config I get a list of items and for each item it shows a link to the item, a description and modified date for the item.  What I want to do is change the display to change what fields are displayed so it includes properties from the target item.  So I need to track down how items in the list are displayed. 


    <field id="vers:documentAgentAssoc" label-id="seedim.documentAgentAssoc" set="seed-document-properties" >
                     <control-param name="showTargetLink">true</control-param>
                     <control-param name="displayMode">list</control-param>
                     <control-param name="selectActionLabel">Add an Agent</control-param>
                     <control-param name="forceEditable">true</control-param>
                     <control-param name="startLocation">/app:company_home/cm:VERS/cm:Agents</control-param>
                     <control-param name="allowNavigationToContentChildren">true</control-param>

So far I have looked at the association.ftl template and I cannot tell from that.  I assume that the list must be being built in javascript somewhere as the ftl does not build it but merely includes an element that must be being replaced. Can anyone explain to me how the list items are being rendered.