02-24-2011 01:25 AM
<action id="test_id">
<permissions>
<permission allow="true">Write</permission>
</permissions>
<evaluator>nl.bua.alfresco.action.evaluator.ScriptableActionEvaluator</evaluator>
<label>Test</label>
<image>/images/icons/copy.gif</image>
<action-listener>
#{ActionHandlerBean.execute}
</action-listener>
<params>
<param name="id">#{actionContext.id}</param>
</params>
</action>
In my ScriptableActionEvaluator I'd like to retrieve the value 'test_id' when the evaluator evaluates this action.02-24-2011 01:44 AM
02-24-2011 05:21 AM
ActionService service = Repository.getServiceRegistry(context).getActionService();
ActionDefinition actionDefinition = service.getActionDefinition("test_id");
But in order to be able to read the definition I need the action id ('test_id').02-24-2011 09:22 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.