Files
alfresco-community-repo/config/alfresco/web-client-config-workflow-actions.xml
Derek Hulley f03cabea25 Merged V3.2 to HEAD
15908: Merged V3.1 to V3.2 (record only)
      15907: Merged V3.2 to V3.1
         15683: Fixed potential concurrency issues in HeartBeat and LicenseComponent
   15972: Merged V3.1 to V3.2
      15429: **Record only** I18N message IDs for JSF dashlets
      15947: ETHREEOH-2565: The content size shown in the preview popup is incorrect
      15952: Part of fix for ETHREEOH-2493 - missing html encoding on webscript 404 html status page.
      15953: Fix for ETHREEOH-2364 - LDAP sync missing last name displayed as null.
      15956: Fix for ETHREEOH-2714 - html encoding in Create New User summary page.
      15957: Merged DEV-TEMPORARY to V3.1
         15865: Fix for ETHREEOH-2673
      15958: Merged DEV-TEMPORARY to V3.1
         15885: ETHREEOH-2615: Localization Issue - Japanese UI
      15959: Merged DEV-TEMPORARY to V3.1
         15882: ETHREEOH-2644: Sending Email using Template throws exception
      15962: Fix for ETHREEOH-2390
      15963: Fix ETHREEOH-1962: Hibernate flush ordering incorrect for alf_qname
      15965: Merged DEV/BELARUS/V3.1
         15949: ETHREEOH-2689: When upgrading from 2.1.7e to 3.1.0e/3.1.1e user roles are mapped incorrectly
      15966: Merged V2.2 to V3.1
         15948: (RECORD ONLY) Backport of the fix provided for ETHREEOH-1719.
      15969: Prep for ETHREEOH-2295 fixes and associated merges.
      15970: Merged DEV-TEMPORARY to V3.1
         14360: ETHREEOH-1571, ETHREEOH-1656, ETHREEOH-1404, ETHREEOH-953, ALFCOM-2650, ETHREEOH-1572, ETHREEOH-1574
         15331: ETHREEOH-2295 - LayeredFile: Layer file/folder is present when original file/folder is removed
         15824: ETHREEOH-2295 - higlight stale object
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /alfresco/BRANCHES/DEV/BELARUS/V3.1:r15865,15882,15885,15949
   Merged /alfresco/BRANCHES/DEV/3.1SP2:r14360,15331,15824
   Merged /alfresco/BRANCHES/V2.2:r15948
   Merged /alfresco/BRANCHES/V3.1:r15907,15947-15962,15964-15970
   Merged /alfresco/BRANCHES/V3.2:r15908,15972


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16887 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-10-13 20:33:02 +00:00

375 lines
15 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>
<action id="workflow_edit_content_properties">
<permissions>
<permission allow="true">Write</permission>
</permissions>
<evaluator>org.alfresco.web.action.evaluator.WCMWorkflowEvaluator</evaluator>
<label-id>edit_properties</label-id>
<image>/images/icons/edit_properties.gif</image>
<action>dialog:editAvmFileProperties</action>
<action-listener>#{AVMBrowseBean.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:workflowShowFileDetails</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 -->
<!-- -->
<!-- WCM -->
<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="workflow_edit_content_properties" />
<action idref="remove_package_item" />
<action idref="delete_file" />
<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="read_wcm_package_item_actions">
<action idref="workflow_file_details" />
</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_edit_content_properties" />
<action idref="workflow_revert" />
<action idref="delete_file" />
</action-group>
<action-group id="review_wcm_package_item_actions">
<action idref="workflow_edit_content_properties" />
<action idref="workflow_preview_file" />
<action idref="workflow_file_details" />
<action idref="workflow_revert" />
<action idref="delete_file" />
</action-group>
<action-group id="remove_wcm_package_item_actions">
<action idref="workflow_file_details" />
<action idref="remove_package_item" />
</action-group>
<!-- ADM -->
<action-group id="read_package_item_actions">
<action idref="view_content_properties" />
</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="remove_package_item_actions">
<action idref="view_content_properties" />
<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="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>