AnsweredAssumed Answered

[solved] my custom action is not triggered

Question asked by ethan on Aug 31, 2010
Latest reply on Sep 9, 2010 by inocka
Hello : )

I created a custom action attached to a custom model of document. I can launch the action by running it through the Run Action Menu but it doesn't work when I click on the action link I added in the doc_details_actions action group. I used the debug mode and put breakpoints to check the use of my custom action. they are triggered when I use the Run Action menu but with the action link, they aren't…

Here is the configuration of the action in my \alfresco\WEB-INF\classes\alfresco\extension\web-client-config-custom.xml file :

<action id="download-file">
      <permission allow="true">Read</permission>
And here is the bean configuration in my \alfresco\WEB-INF\classes\alfresco\extension\download-file-action-context.xml :

    <!– Download Action Bean –>
    <bean id="download-file" class="my.alfresco.customUI.actions.DownloadActionExecuter" parent="action-executer">
       <property name="nodeService">
         <ref bean="NodeService" />
      <property name="jcrServerIP" value="localhost:8080" />
      <property name="exchangeServerIP" value="" />
      <property name="fileServerIP" value="" />
      <property name="exchangeLogin" value="testUser" />
      <property name="exchangePassword" value="password" />
      <property name="publicAction">
      <!– Action properties –>
   <bean id="extension.actionResourceBundles" parent="actionResourceBundles">
      <property name="resourceBundles">

Do you have any idea of what I am missing?

Thank you : )