Hello,
I am defining a new content type with a child content association. But, when I want to view the properties of an object of this content type, child associations are shown like below:
Incoming Documents: /company_home/README.txt
/company_home/11111111README_mysql.txt
(not a hyperlink, just the text version of the xpath of the documents)
But I want to make these association contents (can be text or jpeg files) viewable when I click on them.
Thank you in advance,
My Model Definition:
<type name="my:iadeDosyasi">
<title>Standard Operating Procedure</title>
<parent>cm:content</parent>
<properties>
<property name="my:EvrakNumarasi">
<type>d:text</type>
</property>
</properties>
<associations>
<child-association name="my:gelenEvraklar">
<source>
<mandatory>true</mandatory>
<many>false</many>
</source>
<target>
<class>cm:content</class>
<mandatory>false</mandatory>
<many>true</many>
</target>
</child-association>
</associations>
</type>
My Web Client Configuration :
<config evaluator="node-type" condition="my:iadeDosyasi">
<property-sheet>
<show-property name="my:EvrakNumarasi" />
<show-child-association name="my:gelenEvraklar" display- label="offfff yaaa off" converter="org.alfresco.faces.DisplayPathConverter"/>
</property-sheet>
</config>