cancel
Showing results for 
Search instead for 
Did you mean: 

Showing association in details view

leftright
Champ on-the-rise
Champ on-the-rise
Hello!
I have implemented an extra view in Alfresco, that is identical to details view except that it shows my custom properties.
The properties are shown fine, except my custom association for user in the system is NOT shown( association is similar to bpm:assignee).
I get an empty column there.

here is the code of assocation from model

<association name="pogodba:skrbnik">
<title>Skrbnik pogodbe</title>
   <source>
      <mandatory>false</mandatory>
      <many>false</many>
   </source>
   <target>
      <class>cm:person</class>
      <mandatory>false</mandatory>
      <many>false</many>
   </target>
</association>

and here is the code of my custom browse.jsp where I add this association:

<a:column id="col13f" style="text-align:left"  rendered="#{BrowseBean.browseViewMode == 'Pogodbe'}">
  <f:facet name="header">
    <a:sortLink id="col13f-sort" label="Skrbnik pogodbe" value="pogodba:skrbnik" styleClass="header"/>
  </f:facet>
  <h:outputText id="col13f-txt" value="#{r['pogodba:skrbnik']}" />
</a:column>

What is wrong here.Thanks for the answers.
1 REPLY 1

amrorabi
Champ in-the-making
Champ in-the-making
Hello guys, did someone find the solution for this question ?

thanks in advance