<?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: Behaviour in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/behaviour/m-p/275015#M228145</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The original poster simply made a mistake in their code. The call to bind the behaviour is incorrect. It should have been&amp;nbsp;&lt;/P&gt;&lt;PRE class="language-java line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;onUpdateProperties &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;JavaBehaviour&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"onUpdateProperties"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; NotificationFrequency&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;TRANSACTION_COMMIT&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;policyComponent&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;bindClassBehaviour&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;OnUpdatePropertiesPolicy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;QNAME&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; ContentModel&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;TYPE_CMOBJECT&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;onUpdateProperties&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&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;P&gt;&lt;/P&gt;&lt;P&gt;You never bind on individual properties - you always bind on either the aspect or type of a node (the "class" of the node) - usually the one that defines the property.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Sep 2017 08:00:22 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2017-09-18T08:00:22Z</dc:date>
    <item>
      <title>Behaviour</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/behaviour/m-p/275013#M228143</link>
      <description>Hi!I have a behavior that its defined like this:this.onUpdateProperties = new JavaBehaviour(this, "onUpdateProperties",&amp;nbsp;&amp;nbsp;&amp;nbsp;NotificationFrequency.TRANSACTION_COMMIT);this.policyComponent.bindClassBehaviour(QName.createQName(nameSpace.ALFRESCO_URI, "onUpdateProperties"),&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ContentModel.PROP_NA</description>
      <pubDate>Tue, 23 Oct 2012 14:51:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/behaviour/m-p/275013#M228143</guid>
      <dc:creator>toze</dc:creator>
      <dc:date>2012-10-23T14:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Behaviour</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/behaviour/m-p/275014#M228144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also have the same issue. &lt;SPAN&gt;Can anyone help&lt;/SPAN&gt; ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 07:50:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/behaviour/m-p/275014#M228144</guid>
      <dc:creator>monicakumari</dc:creator>
      <dc:date>2017-09-18T07:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Behaviour</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/behaviour/m-p/275015#M228145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The original poster simply made a mistake in their code. The call to bind the behaviour is incorrect. It should have been&amp;nbsp;&lt;/P&gt;&lt;PRE class="language-java line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;onUpdateProperties &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;JavaBehaviour&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"onUpdateProperties"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; NotificationFrequency&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;TRANSACTION_COMMIT&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;policyComponent&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;bindClassBehaviour&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;OnUpdatePropertiesPolicy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;QNAME&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; ContentModel&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;TYPE_CMOBJECT&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;onUpdateProperties&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&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;P&gt;&lt;/P&gt;&lt;P&gt;You never bind on individual properties - you always bind on either the aspect or type of a node (the "class" of the node) - usually the one that defines the property.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 08:00:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/behaviour/m-p/275015#M228145</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-09-18T08:00:22Z</dc:date>
    </item>
  </channel>
</rss>

