10-23-2007 10:54 AM
<config>
<actions>
<action id="log_action">
<label>Log Action</label>
<image>/images/icons/add.gif</image>
</action>
<action-group id="document_browse">
<action idref="log_action" />
</action-group>
</actions>
</config>
Now, this is a link but doesn't execute anything at this point. I would like to execute the CustomAction example from the Alfresco SDK which is a jar file in the Alfresco lib folder. Any idea how I can reference this action in the config above? I found something like this:<evaluator>org.alfresco.web.action.evaluator.EditDocHttpEvaluator</evaluator>
but this doesn't work, the action is not an evaluator but an "executor" or something. Anyone?10-24-2007 10:17 AM
<action id="edit_doc_http">
<permissions>
<permission allow="true">Write</permission>
</permissions>
<evaluator>org.alfresco.web.action.evaluator.EditDocHttpEvaluator</evaluator>
<label-id>edit</label-id>
<image>/images/icons/edit_icon.gif</image>
<action-listener>#{CheckinCheckoutBean.editFile}</action-listener>
<params>
<param name="id">#{actionContext.id}</param>
</params>
<!– can also specify style, class etc. but this is better done in 'actions' element –>
</action>
10-26-2007 10:39 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.