<?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: ActionEvaluator not evaluated for content action in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/actionevaluator-not-evaluated-for-content-action/m-p/77037#M50898</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You say "and my action remains not accessible" do you mean it does not appear at all? I assume you have put a breakpoint in your code and it never gets called? If you code implements the correct interface:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.web.action.ActionEvaluator&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;then it will get called - that is how all the web-client actions work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Sep 2006 11:24:45 GMT</pubDate>
    <dc:creator>kevinr</dc:creator>
    <dc:date>2006-09-07T11:24:45Z</dc:date>
    <item>
      <title>ActionEvaluator not evaluated for content action</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/actionevaluator-not-evaluated-for-content-action/m-p/77036#M50897</link>
      <description>Hello,I'm currently adding a specific action on content.This works perfectly except that if i setup an evaluator, this one is never triggered, and my action remains not accessible.My Evaluator is a class which implements the ActionEvaluator interface.Here's my definition of the action.&amp;lt;alfresco-c</description>
      <pubDate>Thu, 07 Sep 2006 10:45:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/actionevaluator-not-evaluated-for-content-action/m-p/77036#M50897</guid>
      <dc:creator>jmliege</dc:creator>
      <dc:date>2006-09-07T10:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: ActionEvaluator not evaluated for content action</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/actionevaluator-not-evaluated-for-content-action/m-p/77037#M50898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You say "and my action remains not accessible" do you mean it does not appear at all? I assume you have put a breakpoint in your code and it never gets called? If you code implements the correct interface:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.web.action.ActionEvaluator&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;then it will get called - that is how all the web-client actions work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2006 11:24:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/actionevaluator-not-evaluated-for-content-action/m-p/77037#M50898</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2006-09-07T11:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: ActionEvaluator not evaluated for content action</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/actionevaluator-not-evaluated-for-content-action/m-p/77038#M50899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;MEA CULPA.&amp;nbsp; &lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;ops:&amp;nbsp; &lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;ops:&amp;nbsp; &lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;ops:&amp;nbsp; &lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;ops: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was only using the logger (and my log4j.properties was corrupted).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But now, I known how this works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I see&amp;nbsp; that through &amp;lt;r:actions&amp;gt; tag, I go through the org.alfresco.web.ui.repo.component UIActions class, and especially the following function : &lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;BR /&gt;buildActionGroup(FacesContext context, ActionsConfigElement config, ActionGroup actionGroup)&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There I finally put a breakpoint, and a special condition :&lt;/SPAN&gt;&lt;EM&gt;actionGroup.getId().equals("browse_menu")&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And I found out that nothing was logged…and the problem was in my logic. (within evaluator i mean)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will use my debugger more often (I'm a little bit old school…)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Really sorry.&amp;nbsp; :? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;JMarc&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2006 13:42:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/actionevaluator-not-evaluated-for-content-action/m-p/77038#M50899</guid>
      <dc:creator>jmliege</dc:creator>
      <dc:date>2006-09-07T13:42:05Z</dc:date>
    </item>
  </channel>
</rss>

