<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: [solved] child association display and clickable link ? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/solved-child-association-display-and-clickable-link/m-p/222060#M175190</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;While searchin the web for a solution, I found the AMP for &lt;/SPAN&gt;&lt;A href="http://forge.alfresco.com/frs/?group_id=124" rel="nofollow noopener noreferrer"&gt;Webclient links association&lt;/A&gt;&lt;SPAN&gt;. I installed it and it almost worked correctly. When I click on the link, a nullPointerException is thrown. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In debug mode, I found out that in the UIChildAssociationWithLinkEditor.broadcast() class, the following code is returning null :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;// hack to make sure that the UIPropertySheet component gets refreshed&lt;BR /&gt;// (otherwise it will not update the property sheet to reflect the&lt;BR /&gt;// properties of the node type of the target), see this post here:&lt;BR /&gt;// &lt;A href="http://forums.alfresco.com/viewtopic.php?p=31476#31476" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/viewtopic.php?p=31476#31476&lt;/A&gt;&lt;BR /&gt;UIPropertySheet ps = (UIPropertySheet)fc.getViewRoot().findComponent("document-details:document-props");&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Sep 2010 16:40:25 GMT</pubDate>
    <dc:creator>ethan</dc:creator>
    <dc:date>2010-09-16T16:40:25Z</dc:date>
    <item>
      <title>[solved] child association display and clickable link ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-child-association-display-and-clickable-link/m-p/222059#M175189</link>
      <description>Hi &lt;IMG id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;I have a custom model which defines e-mails. These e-mails have a child association with other documents (i.e attachments). I modified the web-client-config-custom.xml file to display this child-association for the e-mails nodes in the document properties page. The default component for this as</description>
      <pubDate>Thu, 16 Sep 2010 12:03:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-child-association-display-and-clickable-link/m-p/222059#M175189</guid>
      <dc:creator>ethan</dc:creator>
      <dc:date>2010-09-16T12:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: [solved] child association display and clickable link ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-child-association-display-and-clickable-link/m-p/222060#M175190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;While searchin the web for a solution, I found the AMP for &lt;/SPAN&gt;&lt;A href="http://forge.alfresco.com/frs/?group_id=124" rel="nofollow noopener noreferrer"&gt;Webclient links association&lt;/A&gt;&lt;SPAN&gt;. I installed it and it almost worked correctly. When I click on the link, a nullPointerException is thrown. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In debug mode, I found out that in the UIChildAssociationWithLinkEditor.broadcast() class, the following code is returning null :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;// hack to make sure that the UIPropertySheet component gets refreshed&lt;BR /&gt;// (otherwise it will not update the property sheet to reflect the&lt;BR /&gt;// properties of the node type of the target), see this post here:&lt;BR /&gt;// &lt;A href="http://forums.alfresco.com/viewtopic.php?p=31476#31476" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/viewtopic.php?p=31476#31476&lt;/A&gt;&lt;BR /&gt;UIPropertySheet ps = (UIPropertySheet)fc.getViewRoot().findComponent("document-details:document-props");&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 16:40:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-child-association-display-and-clickable-link/m-p/222060#M175190</guid>
      <dc:creator>ethan</dc:creator>
      <dc:date>2010-09-16T16:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: [solved] child association display and clickable link ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-child-association-display-and-clickable-link/m-p/222061#M175191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Solution found !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I replaced :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;UIPropertySheet ps = (UIPropertySheet)fc.getViewRoot().findComponent("document-details:document-props");&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;By :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;UIPropertySheet ps = (UIPropertySheet)fc.getViewRoot().findComponent("dialog:dialog-body:document-props");&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;The component id was right for Alfresco 2.1 but not anymore for Alfresco 3.3 &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Sep 2010 12:27:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-child-association-display-and-clickable-link/m-p/222061#M175191</guid>
      <dc:creator>ethan</dc:creator>
      <dc:date>2010-09-17T12:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: [solved] child association display and clickable link ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-child-association-display-and-clickable-link/m-p/222062#M175192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear Ethan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In which file have you done the above replacement, could you tell me the path to access to it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;UIPropertySheet ps = (UIPropertySheet)fc.getViewRoot().findComponent("document-details:document-props");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Nov 2010 10:55:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-child-association-display-and-clickable-link/m-p/222062#M175192</guid>
      <dc:creator>billo</dc:creator>
      <dc:date>2010-11-25T10:55:33Z</dc:date>
    </item>
  </channel>
</rss>

