cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco webClient and custom action

jerome_guyon
Champ in-the-making
Champ in-the-making
Hi,

I have created my own custom action wich extends an ActionExecuterAbstractBase : org.alfresco.sample.MyAction

It works, and I can run this action from the action list.

I want to add a button in the 'Action Menu' of a content :


<action id="my-action">
  <permissions>
     <permission allow="true">Write</permission>
  </permissions>
  <label>MY ACTION</label>
  <tooltip>Run my action</tooltip>
  <image>/images/extension/icons/my-action.gif</image>
   <action-listener>#{?????}</action-listener>
</action>

What do-I write in the actions tags to run my action ?

Thanks

jerome
1 REPLY 1

tfaudot
Champ in-the-making
Champ in-the-making
It would be something like this:
#{MyAction.NameOfYourMethod}