Files
alfresco-community-repo/config/alfresco/web-client-config-wcm-actions.xml
Derek Hulley cc218b118e Merged V2.1 to HEAD
6486: Fix for AWC-1134 (Made minimum length for username and password configurable)
   6487: Added "copy.verbose" property to build script to list all files being copied in the 'deploy-tomcat-exploded' and 'deploy-webclient-changes' targets
   6488: Changed default CIFS server to remove underscore as it can cause problems with OpenOffice.
   6489: Fix for WCM-498 (Expired items that are deleted are not represented as such in the change request dialog or submit dialog)
   6490: Fix for WCM-446 and WCM-624. Multi-select and All operations in Modified Files list respect items in workflow and ignore them.
   6491: Fixes profoundly brain dead behavior in AVMLockingService.init().
   6492: Refactoring of LookupCache to be clustering compatible
   6493: Staging and locking changes
   6494: WCM Revert action moved to end of all action lists to avoid accidently clicking it (as it has no confirmation screen!)
   6496: Fixes for WCM-746 and WCM-747 - Edit File Properties and Edit Folder Properties working correctly again for AVM objects.
   6497: Enable virtualization server to be (re)started at any point prior or during the startup of the alfresco webapp (fixes WCM-750).
   6498: WCM-742 - moving locks from the preview sandbox to the main user sandbox.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6739 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-10 23:15:37 +00:00

457 lines
18 KiB
XML

<alfresco-config>
<config>
<actions>
<!-- Edit WCM document -->
<action id="edit_file">
<permissions>
<permission allow="true">Write</permission>
</permissions>
<evaluator>org.alfresco.web.action.evaluator.WCMWorkflowEvaluator</evaluator>
<label-id>edit</label-id>
<image>/images/icons/edit_icon.gif</image>
<action-listener>#{AVMBrowseBean.setupEditAction}</action-listener>
<params>
<param name="id">#{actionContext.id}</param>
</params>
</action>
<!-- Delete AVM file -->
<action id="delete_file">
<permissions>
<permission allow="true">Delete</permission>
</permissions>
<evaluator>org.alfresco.web.action.evaluator.WCMWorkflowEvaluator</evaluator>
<label-id>delete</label-id>
<image>/images/icons/delete.gif</image>
<action-listener>#{AVMBrowseBean.setupContentAction}</action-listener>
<action>dialog:deleteAvmFile</action>
<params>
<param name="id">#{actionContext.id}</param>
</params>
</action>
<!-- Delete AVM file, with a return navigation outcome parameter -->
<action id="delete_file_browse">
<permissions>
<permission allow="true">Delete</permission>
</permissions>
<evaluator>org.alfresco.web.action.evaluator.WCMWorkflowEvaluator</evaluator>
<label-id>delete</label-id>
<image>/images/icons/delete.gif</image>
<action-listener>#{AVMBrowseBean.setupContentAction}</action-listener>
<action>dialog:deleteAvmFileBrowse</action>
<params>
<param name="id">#{actionContext.id}</param>
</params>
</action>
<!-- Delete AVM folder -->
<action id="delete_folder">
<permissions>
<permission allow="true">Delete</permission>
</permissions>
<evaluator>org.alfresco.web.action.evaluator.WCMWorkflowEvaluator</evaluator>
<label-id>delete</label-id>
<image>/images/icons/delete.gif</image>
<action-listener>#{AVMBrowseBean.setupContentAction}</action-listener>
<action>dialog:deleteAvmFolder</action>
<params>
<param name="id">#{actionContext.id}</param>
</params>
</action>
<!-- Delete AVM folder, with a return navigation outcome parameter -->
<action id="delete_folder_browse">
<permissions>
<permission allow="true">Delete</permission>
</permissions>
<evaluator>org.alfresco.web.action.evaluator.WCMWorkflowEvaluator</evaluator>
<label-id>delete</label-id>
<image>/images/icons/delete.gif</image>
<action-listener>#{AVMBrowseBean.setupContentAction}</action-listener>
<action>dialog:deleteAvmFolderBrowse</action>
<params>
<param name="id">#{actionContext.id}</param>
</params>
</action>
<!-- Submit AVM node -->
<action id="submit">
<permissions>
<permission allow="true">Write</permission>
</permissions>
<evaluator>org.alfresco.web.action.evaluator.WCMWorkflowDeletedEvaluator</evaluator>
<label-id>submit</label-id>
<image>/images/icons/submit.gif</image>
<action-listener>#{AVMBrowseBean.setupContentAction}</action-listener>
<action>dialog:submitSandboxItems</action>
<params>
<param name="id">#{actionContext.id}</param>
</params>
</action>
<!-- Revert AVM node -->
<action id="revert">
<permissions>
<permission allow="true">Write</permission>
</permissions>
<evaluator>org.alfresco.web.action.evaluator.WCMWorkflowDeletedEvaluator</evaluator>
<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="preview_folder">
<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="preview_file">
<label-id>file_preview</label-id>
<image>/images/icons/preview_website.gif</image>
<href>#{actionContext.previewUrl}</href>
<target>new</target>
</action>
<!-- Create AVM ad-hoc Content -->
<action id="create_avm_content">
<permissions>
<permission allow="true">CreateChildren</permission>
</permissions>
<evaluator>org.alfresco.web.action.evaluator.WCMStagingReadonlyEvaluator</evaluator>
<label-id>sandbox_create</label-id>
<image>/images/icons/new_content.gif</image>
<action>wizard:createWebContent</action>
</action>
<!-- Create AVM folder -->
<action id="create_folder">
<permissions>
<permission allow="true">CreateChildren</permission>
</permissions>
<evaluator>org.alfresco.web.action.evaluator.WCMStagingReadonlyEvaluator</evaluator>
<label-id>create_folder</label-id>
<image>/images/icons/create_space.gif</image>
<action>dialog:createAvmFolder</action>
</action>
<!-- Create AVM webapp folder -->
<action id="create_webapp">
<permissions>
<permission allow="true">CreateChildren</permission>
</permissions>
<label-id>create_webapp</label-id>
<image>/images/icons/create_webapp.gif</image>
<action>dialog:createWebappFolder</action>
</action>
<!-- Upload Content -->
<action id="add_content">
<permissions>
<permission allow="true">CreateChildren</permission>
</permissions>
<evaluator>org.alfresco.web.action.evaluator.WCMStagingReadonlyEvaluator</evaluator>
<label-id>add_content</label-id>
<image>/images/icons/add.gif</image>
<action>addAvmContent</action>
<action-listener>#{AddAvmContentDialog.start}</action-listener>
</action>
<!-- Bulk Import -->
<action id="bulk_import">
<permissions>
<permission allow="true">CreateChildren</permission>
</permissions>
<evaluator>org.alfresco.web.action.evaluator.WCMStagingReadonlyEvaluator</evaluator>
<label-id>import_website_content</label-id>
<image>/images/icons/import_website.gif</image>
<action>dialog:importContent</action>
<action-listener>#{ImportWebsiteDialog.start}</action-listener>
</action>
<!-- Update document -->
<action id="update_file">
<permissions>
<permission allow="true">Write</permission>
</permissions>
<evaluator>org.alfresco.web.action.evaluator.WCMWorkflowEvaluator</evaluator>
<label-id>update</label-id>
<image>/images/icons/update.gif</image>
<action-listener>#{AVMBrowseBean.setupContentAction}</action-listener>
<action>dialog:updateAvmFile</action>
<params>
<param name="id">#{actionContext.id}</param>
</params>
</action>
<!-- View File details -->
<action id="file_details">
<permissions>
<permission allow="true">Read</permission>
</permissions>
<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="folder_details">
<permissions>
<permission allow="true">Read</permission>
</permissions>
<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>
<!-- Invite Website Users -->
<action id="invite_website_users">
<permissions>
<permission allow="true">ChangePermissions</permission>
</permissions>
<label-id>invite_website_users</label-id>
<image>/images/icons/invite.gif</image>
<action>wizard:inviteWebUsers</action>
<!-- TODO: change this to setup avmstore prop on wizard -->
<action-listener>#{BrowseBean.setupSpaceAction}</action-listener>
<params>
<param name="id">#{actionContext.id}</param>
</params>
</action>
<!-- Edit Web Project wizard -->
<action id="edit_website">
<permissions>
<permission allow="true">Write,CreateChildren</permission>
</permissions>
<label-id>edit_website</label-id>
<image>/images/icons/edit_website.gif</image>
<action>wizard:editWebsite</action>
<action-listener>#{BrowseBean.setupSpaceAction}</action-listener>
<params>
<param name="id">#{actionContext.id}</param>
</params>
</action>
<!-- Cut a file or folder to the clipboard -->
<action id="cut_avm_node">
<evaluator>org.alfresco.web.action.evaluator.WCMWorkflowEvaluator</evaluator>
<permissions>
<permission allow="true">Delete</permission>
</permissions>
<label-id>cut</label-id>
<image>/images/icons/cut.gif</image>
<action-listener>#{ClipboardBean.cutNode}</action-listener>
<params>
<param name="ref">#{actionContext.nodeRef}</param>
<!--<param name="parent">#{NavigationBean.currentNodeId}</param>-->
</params>
</action>
<!-- Copy a file or folder to the clipboard -->
<action id="copy_avm_node">
<permissions>
<permission allow="true">Read</permission>
</permissions>
<label-id>copy</label-id>
<image>/images/icons/copy.gif</image>
<action-listener>#{ClipboardBean.copyNode}</action-listener>
<params>
<param name="ref">#{actionContext.nodeRef}</param>
<!--<param name="parent">#{NavigationBean.currentNodeId}</param>-->
</params>
</action>
<!-- Actions for a file in the AVM Browse screen -->
<action-group id="avm_file_browse">
<show-link>false</show-link>
<action idref="edit_file" />
<action idref="update_file" />
<action idref="preview_file" />
<action idref="cut_avm_node" />
<action idref="copy_avm_node" />
<action idref="file_details" />
<action idref="delete_file_browse" />
</action-group>
<!-- Actions for a folder in the AVM Browse screen -->
<action-group id="avm_folder_browse">
<show-link>false</show-link>
<action idref="preview_folder" />
<action idref="cut_avm_node" />
<action idref="copy_avm_node" />
<action idref="folder_details" />
<action idref="delete_folder_browse" />
</action-group>
<!-- Actions for a file in Modified Files list -->
<action-group id="avm_file_modified">
<show-link>false</show-link>
<action idref="edit_file" />
<action idref="update_file" />
<action idref="submit" />
<action idref="preview_file" />
<action idref="copy_avm_node" />
<action idref="file_details" />
<action idref="delete_file" />
<action idref="revert" />
</action-group>
<!-- Actions for a folder in Modified Files list -->
<action-group id="avm_folder_modified">
<show-link>false</show-link>
<action idref="submit" />
<action idref="preview_folder" />
<action idref="copy_avm_node" />
<action idref="folder_details" />
<action idref="delete_folder" />
<action idref="revert" />
</action-group>
<!-- Actions for a deleted node in Modified Files list -->
<action-group id="avm_deleted_modified">
<show-link>false</show-link>
<action idref="submit" />
<action idref="revert" />
</action-group>
<!-- Actions for the Create menu in the sandbox browse screen -->
<action-group id="avm_create_menu">
<show-link>false</show-link>
<action idref="add_content" />
<action idref="create_avm_content" />
<action idref="create_folder" />
<action idref="bulk_import" />
</action-group>
<!-- Actions for the More Actions menu in the sandbox browse screen -->
<action-group id="avm_more_menu">
<show-link>false</show-link>
</action-group>
<!-- Actions for the File Details action menu -->
<action-group id="avm_file_details">
<show-link>false</show-link>
<action idref="cut_avm_node" />
<action idref="copy_avm_node" />
<action idref="edit_file" />
<action idref="update_file" />
<action idref="delete_file_browse" />
</action-group>
<!-- Actions for the Folder Details action menu -->
<action-group id="avm_folder_details">
<show-link>false</show-link>
<action idref="cut_avm_node" />
<action idref="copy_avm_node" />
<action idref="delete_folder_browse" />
</action-group>
<!-- Actions for the Web Project Details action menu -->
<action-group id="website_details_actions">
<show-link>false</show-link>
<!-- TODO: removed until cut/copy supported -->
<!-- <action idref="cut_node" />
<action idref="copy_node" />-->
<action idref="delete_space" />
<action idref="take_ownership_space" />
<action idref="edit_website" />
<action idref="invite_website_users" />
<action idref="create_shortcut" />
<action idref="run_action" />
</action-group>
<!-- Actions Menu for More Actions in Web Project screen -->
<action-group id="browse_website_menu">
<action idref="details_space" />
<action idref="create_webapp" />
<action idref="edit_website" />
<action idref="invite_website_users" />
<action idref="delete_space" />
</action-group>
<!-- Actions for files containing broken links -->
<action-group id="broken_file_actions">
<action idref="edit_file" />
<action idref="update_file" />
<action idref="preview_file" />
</action-group>
<!-- Actions for web forms containing broken links -->
<action-group id="broken_form_actions">
<action idref="edit_file" />
</action-group>
</actions>
</config>
<config evaluator="node-type" condition="wca:webfolder">
<actions>
<!-- Override actions for WCM Website space type in the Browse screen -->
<action-group id="space_browse">
<show-link>false</show-link>
<!-- hide the cut and copy operations for website space -->
<action idref="cut_node" hide="true" />
<action idref="copy_node" hide="true" />
</action-group>
</actions>
</config>
<config evaluator="node-type" condition="wca:formfolder">
<actions>
<!-- Override actions for WCM Form container type in the Browse screen -->
<action-group id="space_browse">
<show-link>false</show-link>
<!-- add the edit form action -->
<action idref="edit_form"/>
<action idref="regenerate_renditions"/>
<!-- hide the cut and copy operations for web form -->
<action idref="cut_node" hide="true" />
<action idref="copy_node" hide="true" />
</action-group>
<!-- Override actions for current node More Actions menu in Browse screen -->
<action-group id="browse_actions_menu">
<!-- add the edit form action -->
<action idref="edit_form" />
<action idref="regenerate_renditions" />
<!-- hide the cut and copy operations for web form -->
<action idref="cut_node" hide="true" />
<action idref="copy_node" hide="true" />
</action-group>
<!-- Override actions Menu for Space Details screen -->
<action-group id="space_details_actions">
<!-- add the edit form action -->
<action idref="edit_form" />
<action idref="regenerate_renditions" />
<!-- hide the cut and copy operations for web form -->
<action idref="cut_node" hide="true" />
<action idref="copy_node" hide="true" />
</action-group>
</actions>
</config>
</alfresco-config>