mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6828 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
352 lines
14 KiB
XML
352 lines
14 KiB
XML
<alfresco-config>
|
|
|
|
<config>
|
|
<actions>
|
|
<action id="start_workflow">
|
|
<label-id>start_workflow</label-id>
|
|
<image>/images/icons/new_workflow.gif</image>
|
|
<evaluator>org.alfresco.web.action.evaluator.StartWorkflowEvaluator</evaluator>
|
|
<action>wizard:startWorkflow</action>
|
|
<action-listener>#{WizardManager.setupParameters}</action-listener>
|
|
<params>
|
|
<param name="item-to-workflow">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<action id="manage_task">
|
|
<label-id>manage_task</label-id>
|
|
<image>/images/icons/manage_workflow_task.gif</image>
|
|
<action>dialog:manageTask</action>
|
|
<action-listener>#{WorkflowBean.setupTaskDialog}</action-listener>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
<param name="type">#{actionContext.type}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<action id="view_completed_task">
|
|
<label-id>view_completed_task_title</label-id>
|
|
<image>/images/icons/view_workflow_task.gif</image>
|
|
<action>dialog:viewCompletedTask</action>
|
|
<action-listener>#{WorkflowBean.setupTaskDialog}</action-listener>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
<param name="type">#{actionContext.type}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<action id="reassign_task">
|
|
<label-id>reassign</label-id>
|
|
<image>/images/icons/reassign_task.gif</image>
|
|
<action>dialog:reassignTask</action>
|
|
<action-listener>#{WorkflowBean.setupTaskDialog}</action-listener>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
<param name="type">#{actionContext.type}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<action id="cancel_workflow">
|
|
<label-id>cancel_workflow</label-id>
|
|
<image>/images/icons/cancel_workflow.gif</image>
|
|
<evaluator>org.alfresco.web.action.evaluator.CancelWorkflowEvaluator</evaluator>
|
|
<action>dialog:cancelWorkflow</action>
|
|
<action-listener>#{DialogManager.setupParameters}</action-listener>
|
|
<params>
|
|
<param name="workflow-instance-id">#{actionContext.workflowInstanceId}</param>
|
|
<param name="workflow-instance-name">#{actionContext.workflowInstanceName}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<action id="add_package_item">
|
|
<label-id>add_resource</label-id>
|
|
<image>/images/icons/add_item.gif</image>
|
|
<action-listener>#{Container.bean.prepareForAdd}</action-listener>
|
|
</action>
|
|
|
|
<action id="remove_package_item">
|
|
<label-id>remove</label-id>
|
|
<image>/images/icons/remove_item.gif</image>
|
|
<action-listener>#{Container.bean.removePackageItem}</action-listener>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<action id="view_content_properties">
|
|
<label-id>view_properties</label-id>
|
|
<image>/images/icons/view_properties.gif</image>
|
|
<action>dialog:viewContentProperties</action>
|
|
<action-listener>#{BrowseBean.setupContentAction}</action-listener>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<action id="edit_content_properties">
|
|
<permissions>
|
|
<permission allow="true">Write</permission>
|
|
</permissions>
|
|
<label-id>edit_properties</label-id>
|
|
<image>/images/icons/edit_properties.gif</image>
|
|
<action>dialog:editContentProperties</action>
|
|
<action-listener>#{BrowseBean.setupContentAction}</action-listener>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- Checkin document from workflow package -->
|
|
<action id="workflow_checkin_doc">
|
|
<evaluator>org.alfresco.web.action.evaluator.CheckinDocEvaluator</evaluator>
|
|
<label-id>checkin</label-id>
|
|
<image>/images/icons/CheckIn_icon.gif</image>
|
|
<action-listener>#{CheckinCheckoutDialog.setupWorkflowContentAction}</action-listener>
|
|
<action>dialog:checkinFile</action>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
<param name="taskId">#{actionContext.taskId}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- Checkout document from workflow package -->
|
|
<action id="workflow_checkout_doc">
|
|
<evaluator>org.alfresco.web.action.evaluator.CheckoutDocEvaluator</evaluator>
|
|
<label-id>checkout</label-id>
|
|
<image>/images/icons/CheckOut_icon.gif</image>
|
|
<action-listener>#{CheckinCheckoutDialog.setupWorkflowContentAction}</action-listener>
|
|
<action>dialog:checkoutFile</action>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
<param name="taskId">#{actionContext.taskId}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- Cancel checkout document from workflow package -->
|
|
<action id="workflow_cancelcheckout_doc">
|
|
<evaluator>org.alfresco.web.action.evaluator.CancelCheckoutDocEvaluator</evaluator>
|
|
<label-id>undocheckout</label-id>
|
|
<image>/images/icons/undo_checkout.gif</image>
|
|
<action-listener>#{CheckinCheckoutDialog.setupWorkflowContentAction}</action-listener>
|
|
<action>dialog:undoCheckoutFile</action>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
<param name="taskId">#{actionContext.taskId}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- Revert AVM workflow node -->
|
|
<action id="workflow_revert">
|
|
<permissions>
|
|
<permission allow="true">Write</permission>
|
|
</permissions>
|
|
<label-id>revert</label-id>
|
|
<image>/images/icons/revert.gif</image>
|
|
<action-listener>#{AVMBrowseBean.revertNode}</action-listener>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- Preview folder -->
|
|
<action id="workflow_preview_folder">
|
|
<evaluator>org.alfresco.web.action.evaluator.WCMWorkflowEvaluator</evaluator>
|
|
<label-id>folder_preview</label-id>
|
|
<image>/images/icons/preview_website.gif</image>
|
|
<href>#{actionContext.previewUrl}</href>
|
|
<target>new</target>
|
|
</action>
|
|
|
|
<!-- Preview file -->
|
|
<action id="workflow_preview_file">
|
|
<evaluator>org.alfresco.web.action.evaluator.WCMWorkflowEvaluator</evaluator>
|
|
<label-id>file_preview</label-id>
|
|
<image>/images/icons/preview_website.gif</image>
|
|
<href>#{actionContext.previewUrl}</href>
|
|
<target>new</target>
|
|
</action>
|
|
|
|
<!-- View File details -->
|
|
<action id="workflow_file_details">
|
|
<permissions>
|
|
<permission allow="true">Read</permission>
|
|
</permissions>
|
|
<evaluator>org.alfresco.web.action.evaluator.WCMWorkflowEvaluator</evaluator>
|
|
<label-id>view_details</label-id>
|
|
<image>/images/icons/View_details.gif</image>
|
|
<action-listener>#{AVMBrowseBean.setupContentAction}</action-listener>
|
|
<action>dialog:showFileDetails</action>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- View Folder details -->
|
|
<action id="workflow_folder_details">
|
|
<permissions>
|
|
<permission allow="true">Read</permission>
|
|
</permissions>
|
|
<evaluator>org.alfresco.web.action.evaluator.WCMWorkflowEvaluator</evaluator>
|
|
<label-id>view_details</label-id>
|
|
<image>/images/icons/View_details.gif</image>
|
|
<action-listener>#{AVMBrowseBean.setupContentAction}</action-listener>
|
|
<action>dialog:showFolderDetails</action>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<action-group id="document_browse_menu">
|
|
<action idref="start_workflow" />
|
|
</action-group>
|
|
|
|
<action-group id="doc_details_actions">
|
|
<action idref="start_workflow" />
|
|
</action-group>
|
|
|
|
<action-group id="dashlet_todo_actions">
|
|
<action idref="manage_task" />
|
|
<action idref="reassign_task" />
|
|
</action-group>
|
|
|
|
<action-group id="dashlet_pooled_actions">
|
|
<action idref="manage_task" />
|
|
</action-group>
|
|
|
|
<action-group id="dashlet_completed_actions">
|
|
<action idref="view_completed_task" />
|
|
<action idref="cancel_workflow" />
|
|
</action-group>
|
|
|
|
|
|
<!-- -->
|
|
<!-- Task Dialog Action Groups for managing Workflow Packages -->
|
|
<!-- -->
|
|
|
|
<action-group id="read_package_item_actions">
|
|
<action idref="view_content_properties" />
|
|
</action-group>
|
|
|
|
<action-group id="read_wcm_package_item_actions">
|
|
<action idref="file_details" />
|
|
</action-group>
|
|
|
|
<action-group id="edit_package_item_actions">
|
|
<action idref="view_content_properties" />
|
|
<action idref="edit_content_properties" />
|
|
<action idref="edit_doc_http" />
|
|
<action idref="edit_doc_webdav" />
|
|
<action idref="edit_doc_cifs" />
|
|
<action idref="update_doc" />
|
|
<action idref="workflow_checkout_doc" />
|
|
<action idref="workflow_checkin_doc" />
|
|
<action idref="workflow_cancelcheckout_doc" />
|
|
</action-group>
|
|
|
|
<action-group id="edit_wcm_package_item_actions">
|
|
<action idref="edit_file" />
|
|
<action idref="update_file" />
|
|
<action idref="workflow_preview_file" />
|
|
<action idref="workflow_file_details" />
|
|
<action idref="workflow_revert" />
|
|
</action-group>
|
|
|
|
<action-group id="review_wcm_package_item_actions">
|
|
<action idref="workflow_preview_file" />
|
|
<action idref="workflow_file_details" />
|
|
<action idref="workflow_revert" />
|
|
</action-group>
|
|
|
|
<action-group id="remove_package_item_actions">
|
|
<action idref="view_content_properties" />
|
|
<action idref="remove_package_item" />
|
|
</action-group>
|
|
|
|
<action-group id="remove_wcm_package_item_actions">
|
|
<action idref="file_details" />
|
|
<action idref="remove_package_item" />
|
|
</action-group>
|
|
|
|
<action-group id="start_package_item_actions">
|
|
<action idref="view_content_properties" />
|
|
<action idref="edit_content_properties" />
|
|
<action idref="edit_doc_http" />
|
|
<action idref="edit_doc_webdav" />
|
|
<action idref="edit_doc_cifs" />
|
|
<action idref="update_doc" />
|
|
<action idref="remove_package_item" />
|
|
</action-group>
|
|
|
|
<action-group id="edit_and_remove_package_item_actions">
|
|
<action idref="view_content_properties" />
|
|
<action idref="edit_content_properties" />
|
|
<action idref="edit_doc_http" />
|
|
<action idref="edit_doc_webdav" />
|
|
<action idref="edit_doc_cifs" />
|
|
<action idref="update_doc" />
|
|
<action idref="workflow_checkout_doc" />
|
|
<action idref="workflow_checkin_doc" />
|
|
<action idref="workflow_cancelcheckout_doc" />
|
|
<action idref="remove_package_item" />
|
|
</action-group>
|
|
|
|
<action-group id="edit_and_remove_wcm_package_item_actions">
|
|
<action idref="edit_file"/>
|
|
<action idref="update_file" />
|
|
<action idref="workflow_preview_file" />
|
|
<action idref="workflow_file_details" />
|
|
<action idref="remove_package_item" />
|
|
<action idref="workflow_revert" />
|
|
</action-group>
|
|
|
|
<action-group id="edit_and_delete_wcm_package_item_actions">
|
|
<action idref="edit_file"/>
|
|
<action idref="update_file" />
|
|
<action idref="workflow_preview_file" />
|
|
<action idref="workflow_file_details" />
|
|
<action idref="delete_file" />
|
|
<action idref="workflow_revert" />
|
|
</action-group>
|
|
|
|
<action-group id="add_package_item_actions">
|
|
<action idref="add_package_item" />
|
|
</action-group>
|
|
</actions>
|
|
</config>
|
|
|
|
<config evaluator="node-type" condition="wcm:avmplainfolder">
|
|
<actions>
|
|
|
|
<!-- Override actions for WCM Folder in workflow package task screen -->
|
|
<action-group id="edit_wcm_package_item_actions">
|
|
<action idref="edit_file" hide="true" />
|
|
<action idref="update_file" hide="true" />
|
|
<action idref="workflow_preview_file" hide="true" />
|
|
<action idref="workflow_file_details" hide="true" />
|
|
|
|
<action idref="workflow_preview_folder" />
|
|
<action idref="workflow_folder_details" />
|
|
</action-group>
|
|
|
|
</actions>
|
|
</config>
|
|
|
|
<config evaluator="node-type" condition="wcm:avmlayeredfolder">
|
|
<actions>
|
|
|
|
<!-- Override actions for WCM Folder in workflow package task screen -->
|
|
<action-group id="edit_wcm_package_item_actions">
|
|
<action idref="edit_file" hide="true" />
|
|
<action idref="update_file" hide="true" />
|
|
<action idref="workflow_preview_file" hide="true" />
|
|
<action idref="workflow_file_details" hide="true" />
|
|
|
|
<action idref="workflow_preview_folder" />
|
|
<action idref="workflow_folder_details" />
|
|
</action-group>
|
|
|
|
</actions>
|
|
</config>
|
|
|
|
</alfresco-config>
|