mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
were both beyond me, and are just the raw conflict merge data. If Kev can't figure out how they should go together by tomorrow AM (for me) I'll dig back in. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4306 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
719 lines
31 KiB
XML
719 lines
31 KiB
XML
<alfresco-config>
|
|
|
|
<config>
|
|
<actions>
|
|
<!-- each action is defined individually and then referenced in an 'action-group' block
|
|
via an 'idref' attribute specifing the action definition to use -->
|
|
|
|
<!-- full example -->
|
|
<action id="example1_edit_doc_http">
|
|
<!-- a list of permissions to evaluate action against before checking other preconditions -->
|
|
<permissions>
|
|
<!-- each permission can be an Allow or Deny check -->
|
|
<permission allow="true">Write</permission>
|
|
<permission allow="false">AddChildren</permission>
|
|
</permissions>
|
|
<!-- the evaluator is a class implementing the org.alfresco.web.action.ActionEvaluator contract,
|
|
it will be executed passing in the context for the outer action component -->
|
|
<evaluator>org.alfresco.web.action.evaluator.EditDocHttpEvaluator</evaluator>
|
|
<!-- label and tooltip can be provided as text or preferable I18N message Id -->
|
|
<label>Edit</label>
|
|
<label-id>edit</label-id>
|
|
<tooltip>My Tooltip</tooltip>
|
|
<tooltip-id>tooltip</tooltip-id>
|
|
<!-- various presentation attributes - generally it is better to provide these as part of the
|
|
parent 'actions' definition to give a consistent look-and-feel to a group of actions -->
|
|
<show-link>false</show-link>
|
|
<style>padding:4px</style>
|
|
<style-class>inlineAction</style-class>
|
|
<image>/images/icons/edit_icon.gif</image>
|
|
<!-- action, action-listener, onclick, href and target action attributes are supported -->
|
|
<action-listener>#{CheckinCheckoutBean.editFile}</action-listener>
|
|
<action>editDocument</action>
|
|
<href>http://...</href>
|
|
<target>new</target>
|
|
<onclick>javascript:myhandler</onclick>
|
|
<!-- script attribute for specifying a javascript file to execute - by Path or NodeRef -->
|
|
<script>/Company Home/Data Dictionary/Scripts/myjavascript.js</script>
|
|
<!-- params specify the <f:param> tags to be generated as children of the action component -->
|
|
<!-- accessable by an ActionEvent handler or passed directly as href/script URL arguments -->
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- Edit document action to open using normal HTTP access or inline Edit if set -->
|
|
<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>
|
|
|
|
<!-- Edit document using WebDav access -->
|
|
<action id="edit_doc_webdav">
|
|
<permissions>
|
|
<permission allow="true">Write</permission>
|
|
</permissions>
|
|
<evaluator>org.alfresco.web.action.evaluator.EditDocWebDavEvaluator</evaluator>
|
|
<label-id>edit</label-id>
|
|
<image>/images/icons/edit_icon.gif</image>
|
|
<!-- NOTE: uses the special 'actionContext' object supplied by the parent actions component -->
|
|
<onclick>javascript:openDoc('#{actionContext.webdavUrl}');</onclick>
|
|
</action>
|
|
|
|
<!-- Edit document using CIFS access -->
|
|
<action id="edit_doc_cifs">
|
|
<permissions>
|
|
<permission allow="true">Write</permission>
|
|
</permissions>
|
|
<evaluator>org.alfresco.web.action.evaluator.EditDocCIFSEvaluator</evaluator>
|
|
<label-id>edit</label-id>
|
|
<image>/images/icons/edit_icon.gif</image>
|
|
<!-- NOTE: uses the special 'actionContext' object supplied by the parent actions component -->
|
|
<href>#{actionContext.cifsPath}</href>
|
|
<target>cifs</target>
|
|
</action>
|
|
|
|
<!-- Checkin document -->
|
|
<action id="checkin_doc">
|
|
<evaluator>org.alfresco.web.action.evaluator.CheckinDocEvaluator</evaluator>
|
|
<label-id>checkin</label-id>
|
|
<image>/images/icons/CheckIn_icon.gif</image>
|
|
<action-listener>#{CheckinCheckoutBean.setupContentAction}</action-listener>
|
|
<action>dialog:checkinFile</action>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- Checkout document -->
|
|
<action id="checkout_doc">
|
|
<evaluator>org.alfresco.web.action.evaluator.CheckoutDocEvaluator</evaluator>
|
|
<label-id>checkout</label-id>
|
|
<image>/images/icons/CheckOut_icon.gif</image>
|
|
<action-listener>#{CheckinCheckoutBean.setupContentAction}</action-listener>
|
|
<action>dialog:checkoutFile</action>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- Cancel checkout document -->
|
|
<action id="cancelcheckout_doc">
|
|
<evaluator>org.alfresco.web.action.evaluator.CancelCheckoutDocEvaluator</evaluator>
|
|
<label-id>undocheckout</label-id>
|
|
<image>/images/icons/undo_checkout.gif</image>
|
|
<action-listener>#{CheckinCheckoutBean.setupContentAction}</action-listener>
|
|
<action>dialog:undoCheckoutFile</action>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- View document details -->
|
|
<action id="details_doc">
|
|
<label-id>view_details</label-id>
|
|
<image>/images/icons/View_details.gif</image>
|
|
<action-listener>#{BrowseBean.setupContentAction}</action-listener>
|
|
<action>dialog:showDocDetails</action>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- View space details -->
|
|
<action id="details_space">
|
|
<label-id>view_details</label-id>
|
|
<image>/images/icons/View_details.gif</image>
|
|
<action-listener>#{BrowseBean.setupSpaceAction}</action-listener>
|
|
<action>dialog:showSpaceDetails</action>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- Preview document in template -->
|
|
<action id="preview_doc">
|
|
<label-id>preview</label-id>
|
|
<image>/images/icons/preview.gif</image>
|
|
<action-listener>#{BrowseBean.setupContentAction}</action-listener>
|
|
<action>dialog:previewContent</action>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- Preview space in template -->
|
|
<action id="preview_space">
|
|
<label-id>preview</label-id>
|
|
<image>/images/icons/preview.gif</image>
|
|
<action-listener>#{BrowseBean.setupSpaceAction}</action-listener>
|
|
<action>dialog:previewSpace</action>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- Delete document -->
|
|
<action id="delete_doc">
|
|
<permissions>
|
|
<permission allow="true">Delete</permission>
|
|
</permissions>
|
|
<evaluator>org.alfresco.web.action.evaluator.DeleteDocEvaluator</evaluator>
|
|
<label-id>delete</label-id>
|
|
<image>/images/icons/delete.gif</image>
|
|
<action-listener>#{BrowseBean.setupContentAction}</action-listener>
|
|
<action>dialog:deleteFile</action>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- Delete space -->
|
|
<action id="delete_space">
|
|
<permissions>
|
|
<permission allow="true">Delete</permission>
|
|
</permissions>
|
|
<label-id>delete</label-id>
|
|
<image>/images/icons/delete.gif</image>
|
|
<action-listener>#{BrowseBean.setupDeleteAction}</action-listener>
|
|
<action>dialog:deleteSpace</action>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- Update document -->
|
|
<action id="update_doc">
|
|
<permissions>
|
|
<permission allow="true">Write</permission>
|
|
</permissions>
|
|
<evaluator>org.alfresco.web.action.evaluator.UpdateDocEvaluator</evaluator>
|
|
<label-id>update</label-id>
|
|
<image>/images/icons/update.gif</image>
|
|
<action-listener>#{CheckinCheckoutBean.setupContentAction}</action-listener>
|
|
<action>dialog:updateFile</action>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- 'Approve' workflow step for document -->
|
|
<action id="approve_doc">
|
|
<evaluator>org.alfresco.web.action.evaluator.ApproveDocEvaluator</evaluator>
|
|
<label>#{actionContext["app:approveStep"]}</label>
|
|
<image>/images/icons/approve.gif</image>
|
|
<action-listener>#{DocumentDetailsBean.approve}</action-listener>
|
|
<action>browse</action>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- 'Reject' workflow step for document -->
|
|
<action id="reject_doc">
|
|
<evaluator>org.alfresco.web.action.evaluator.RejectDocEvaluator</evaluator>
|
|
<label>#{actionContext["app:rejectStep"]}</label>
|
|
<image>/images/icons/reject.gif</image>
|
|
<action-listener>#{DocumentDetailsBean.reject}</action-listener>
|
|
<action>browse</action>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- 'Approve' workflow step for document details page -->
|
|
<action id="approve_doc_details">
|
|
<evaluator>org.alfresco.web.action.evaluator.ApproveDocEvaluator</evaluator>
|
|
<label>#{actionContext.properties["app:approveStep"]}</label>
|
|
<image>/images/icons/approve.gif</image>
|
|
<action-listener>#{DocumentDetailsBean.approve}</action-listener>
|
|
<action>browse</action>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- 'Reject' workflow step for document details page-->
|
|
<action id="reject_doc_details">
|
|
<evaluator>org.alfresco.web.action.evaluator.RejectDocEvaluator</evaluator>
|
|
<label>#{actionContext.properties["app:rejectStep"]}</label>
|
|
<image>/images/icons/reject.gif</image>
|
|
<action-listener>#{DocumentDetailsBean.reject}</action-listener>
|
|
<action>browse</action>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- 'Approve' workflow step for space -->
|
|
<action id="approve_space">
|
|
<evaluator>org.alfresco.web.action.evaluator.ApproveDocEvaluator</evaluator>
|
|
<label>#{actionContext["app:approveStep"]}</label>
|
|
<image>/images/icons/approve.gif</image>
|
|
<action-listener>#{SpaceDetailsBean.approve}</action-listener>
|
|
<action>browse</action>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- 'Reject' workflow step for space -->
|
|
<action id="reject_space">
|
|
<evaluator>org.alfresco.web.action.evaluator.RejectDocEvaluator</evaluator>
|
|
<label>#{actionContext["app:rejectStep"]}</label>
|
|
<image>/images/icons/reject.gif</image>
|
|
<action-listener>#{SpaceDetailsBean.reject}</action-listener>
|
|
<action>browse</action>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- 'Approve' workflow step for space details page -->
|
|
<action id="approve_space_details">
|
|
<evaluator>org.alfresco.web.action.evaluator.ApproveDocEvaluator</evaluator>
|
|
<label>#{actionContext.properties["app:approveStep"]}</label>
|
|
<image>/images/icons/approve.gif</image>
|
|
<action-listener>#{SpaceDetailsBean.approve}</action-listener>
|
|
<action>browse</action>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- 'Reject' workflow step for space details page-->
|
|
<action id="reject_space_details">
|
|
<evaluator>org.alfresco.web.action.evaluator.RejectDocEvaluator</evaluator>
|
|
<label>#{actionContext.properties["app:rejectStep"]}</label>
|
|
<image>/images/icons/reject.gif</image>
|
|
<action-listener>#{SpaceDetailsBean.reject}</action-listener>
|
|
<action>browse</action>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- Cut a document or space to the clipboard, from browse or doc details screens -->
|
|
<action id="cut_node">
|
|
<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="id">#{actionContext.id}</param>
|
|
<!--<param name="parent">#{NavigationBean.currentNodeId}</param>-->
|
|
</params>
|
|
</action>
|
|
|
|
<!-- Copy a document or space to the clipboard, from browse or doc details screens -->
|
|
<action id="copy_node">
|
|
<label-id>copy</label-id>
|
|
<image>/images/icons/copy.gif</image>
|
|
<action-listener>#{ClipboardBean.copyNode}</action-listener>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
<!--<param name="parent">#{NavigationBean.currentNodeId}</param>-->
|
|
</params>
|
|
</action>
|
|
|
|
<!-- Cut a document or space to the clipboard, from space details screen -->
|
|
<!--<action id="cut_space_details">
|
|
<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="id">#{actionContext.id}</param>
|
|
<param name="parent">#{SpaceDetailsBean.space}</param>
|
|
</params>
|
|
</action>-->
|
|
|
|
<!-- Copy a document or space to the clipboard, from space details screen -->
|
|
<!--<action id="copy_space_details">
|
|
<label-id>copy</label-id>
|
|
<image>/images/icons/copy.gif</image>
|
|
<action-listener>#{ClipboardBean.copyNode}</action-listener>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
<param name="parent">#{SpaceDetailsBean.space}</param>
|
|
</params>
|
|
</action>-->
|
|
|
|
<!-- Paste All clipboard items into a space -->
|
|
<action id="paste_all">
|
|
<permissions>
|
|
<permission allow="true">Write</permission>
|
|
</permissions>
|
|
<label-id>paste_all</label-id>
|
|
<image>/images/icons/paste.gif</image>
|
|
<action-listener>#{ClipboardBean.pasteAll}</action-listener>
|
|
</action>
|
|
|
|
<!-- Create content -->
|
|
<action id="create_content">
|
|
<permissions>
|
|
<permission allow="true">CreateChildren</permission>
|
|
</permissions>
|
|
<label-id>create_content</label-id>
|
|
<image>/images/icons/new_content.gif</image>
|
|
<action>wizard:createContent</action>
|
|
</action>
|
|
|
|
<!-- Create XML content type -->
|
|
<action id="create_form">
|
|
<label-id>create_form</label-id>
|
|
<image>/images/icons/new_content.gif</image>
|
|
<action>wizard:createForm</action>
|
|
</action>
|
|
|
|
<!-- Create space -->
|
|
<action id="create_space">
|
|
<permissions>
|
|
<permission allow="true">CreateChildren</permission>
|
|
</permissions>
|
|
<label-id>create_space</label-id>
|
|
<image>/images/icons/create_space.gif</image>
|
|
<action>dialog:createSpace</action>
|
|
</action>
|
|
|
|
<!-- Create Advanced Space Wizard -->
|
|
<action id="create_space_wizard">
|
|
<permissions>
|
|
<permission allow="true">CreateChildren</permission>
|
|
</permissions>
|
|
<label-id>advanced_space_wizard</label-id>
|
|
<image>/images/icons/create_space.gif</image>
|
|
<action>wizard:createSpace</action>
|
|
</action>
|
|
|
|
<!-- Create Website Wizard -->
|
|
<action id="create_website_wizard">
|
|
<!-- TODO: check for role and in Websites folder -->
|
|
<label-id>create_website</label-id>
|
|
<image>/images/icons/create_website.gif</image>
|
|
<action>wizard:createWebsite</action>
|
|
</action>
|
|
|
|
<!-- Manage Space Users -->
|
|
<action id="manage_space_users">
|
|
<permissions>
|
|
<permission allow="true">ChangePermissions</permission>
|
|
</permissions>
|
|
<label-id>manage_invited_users</label-id>
|
|
<image>/images/icons/invite.gif</image>
|
|
<action>dialog:manageInvitedUsers</action>
|
|
<action-listener>#{BrowseBean.setupSpaceAction}</action-listener>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- Manage Space Rules -->
|
|
<action id="manage_space_rules">
|
|
<permissions>
|
|
<permission allow="true">CreateChildren</permission>
|
|
</permissions>
|
|
<label-id>manage_rules</label-id>
|
|
<image>/images/icons/rule.gif</image>
|
|
<action>dialog:manageRules</action>
|
|
<action-listener>#{BrowseBean.setupSpaceAction}</action-listener>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- Email Space Users -->
|
|
<action id="email_space_users">
|
|
<label-id>email_space_users</label-id>
|
|
<image>/images/icons/email_users.gif</image>
|
|
<action>dialog:emailSpaceUsers</action>
|
|
<action-listener>#{BrowseBean.setupSpaceAction}</action-listener>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- Manage Deleted Items -->
|
|
<action id="manage_deleted_items">
|
|
<evaluator>org.alfresco.web.action.evaluator.ShortcutNodeEvaluator</evaluator>
|
|
<label-id>manage_deleted_items</label-id>
|
|
<image>/images/icons/trashcan.gif</image>
|
|
<action>dialog:manageDeletedItems</action>
|
|
</action>
|
|
|
|
<!-- Take Ownership of document -->
|
|
<action id="take_ownership_doc">
|
|
<permissions>
|
|
<permission allow="true">TakeOwnership</permission>
|
|
</permissions>
|
|
<evaluator>org.alfresco.web.action.evaluator.TakeOwnershipDocEvaluator</evaluator>
|
|
<label-id>take_ownership</label-id>
|
|
<image>/images/icons/take_ownership.gif</image>
|
|
<action-listener>#{DocumentDetailsBean.takeOwnership}</action-listener>
|
|
</action>
|
|
|
|
<!-- Take Ownership of space -->
|
|
<action id="take_ownership_space">
|
|
<permissions>
|
|
<permission allow="true">TakeOwnership</permission>
|
|
</permissions>
|
|
<label-id>take_ownership</label-id>
|
|
<image>/images/icons/take_ownership.gif</image>
|
|
<action-listener>#{SpaceDetailsBean.takeOwnership}</action-listener>
|
|
</action>
|
|
|
|
<!-- Unlock document -->
|
|
<action id="unlock_doc">
|
|
<permissions>
|
|
<permission allow="true">Unlock</permission>
|
|
</permissions>
|
|
<evaluator>org.alfresco.web.action.evaluator.UnlockDocEvaluator</evaluator>
|
|
<label-id>unlock</label-id>
|
|
<image>/images/icons/unlock.gif</image>
|
|
<action-listener>#{DocumentDetailsBean.unlock}</action-listener>
|
|
</action>
|
|
|
|
<!-- Manage Content Users -->
|
|
<action id="manage_content_users">
|
|
<permissions>
|
|
<permission allow="true">ChangePermissions</permission>
|
|
</permissions>
|
|
<label-id>manage_content_users</label-id>
|
|
<image>/images/icons/invite.gif</image>
|
|
<action>dialog:manageContentUsers</action>
|
|
<action-listener>#{BrowseBean.setupContentAction}</action-listener>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- Create Shortcut -->
|
|
<action id="create_shortcut">
|
|
<evaluator>org.alfresco.web.action.evaluator.ShortcutNodeEvaluator</evaluator>
|
|
<label-id>create_shortcut</label-id>
|
|
<image>/images/icons/shortcut.gif</image>
|
|
<action-listener>#{UserShortcutsBean.createShortcut}</action-listener>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- Run Other Action (e.g. repo action) -->
|
|
<action id="run_action">
|
|
<label-id>other_action</label-id>
|
|
<image>/images/icons/action.gif</image>
|
|
<action>wizard:runAction</action>
|
|
<action-listener>#{WizardManager.setupParameters}</action-listener>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- Import into Space -->
|
|
<action id="import_space">
|
|
<permissions>
|
|
<permission allow="true">Write</permission>
|
|
</permissions>
|
|
<label-id>import</label-id>
|
|
<image>/images/icons/import.gif</image>
|
|
<action>dialog:import</action>
|
|
<action-listener>#{BrowseBean.setupSpaceAction}</action-listener>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- Export from Space -->
|
|
<action id="export_space">
|
|
<label-id>export</label-id>
|
|
<image>/images/icons/export.gif</image>
|
|
<action>dialog:export</action>
|
|
<action-listener>#{BrowseBean.setupSpaceAction}</action-listener>
|
|
<params>
|
|
<param name="id">#{actionContext.id}</param>
|
|
</params>
|
|
</action>
|
|
|
|
<!-- ReApply Rules -->
|
|
<action id="reapply-rules">
|
|
<label-id>reapply_rules</label-id>
|
|
<image>/images/icons/reapply_rules.gif</image>
|
|
<action-listener>#{RulesBean.reapplyRules}</action-listener>
|
|
</action>
|
|
|
|
<!-- Ignore Inherited Rules -->
|
|
<action id="ignore-inherited-rules">
|
|
<label>#{RulesBean.ignoreInheritedRulesLabelId}</label>
|
|
<image>/images/icons/reapply_rules.gif</image>
|
|
<action-listener>#{RulesBean.ignoreInheritedRules}</action-listener>
|
|
</action>
|
|
|
|
<!-- the 'action-group' elements define unique blocks of actions that reference the actions
|
|
as defined above and can override or supply display elements for the group of actions -->
|
|
<!-- the component is responsible for making the context Node object available with name
|
|
of 'actionContext' so the actions can access it directly to get properties -->
|
|
|
|
<!-- Actions for a document in the Browse screen -->
|
|
<action-group id="document_browse">
|
|
<show-link>false</show-link>
|
|
<style-class>inlineAction</style-class>
|
|
|
|
<action idref="edit_doc_http" />
|
|
<action idref="edit_doc_webdav" />
|
|
<action idref="edit_doc_cifs" />
|
|
<action idref="checkout_doc" />
|
|
<action idref="checkin_doc" />
|
|
<action idref="details_doc" />
|
|
<action idref="preview_doc" />
|
|
|
|
<!-- Example action defined in-line rather than by reference
|
|
<action id="example2_checkout_doc">
|
|
<permissions>
|
|
<permission allow="true">CheckOut</permission>
|
|
</permissions>
|
|
<evaluator>org.alfresco.web.action.evaluator.CheckoutDocEvaluator</evaluator>
|
|
<label-id>checkout</label-id>
|
|
<image>/images/icons/CheckOut_icon.gif</image>
|
|
<action-listener>#{CheckinCheckoutBean.setupContentAction}</action-listener>
|
|
<action>checkoutFile</action>
|
|
</action>-->
|
|
|
|
</action-group>
|
|
|
|
<!-- Actions Menu for a document in the Browse screen -->
|
|
<action-group id="document_browse_menu">
|
|
<action idref="delete_doc" />
|
|
<action idref="update_doc" />
|
|
<action idref="cancelcheckout_doc" />
|
|
<action idref="approve_doc" />
|
|
<action idref="reject_doc" />
|
|
<action idref="cut_node" />
|
|
<action idref="copy_node" />
|
|
</action-group>
|
|
|
|
<!-- Actions for a space in the Browse screen -->
|
|
<action-group id="space_browse">
|
|
<show-link>false</show-link>
|
|
<style-class>inlineAction</style-class>
|
|
|
|
<action idref="preview_space" />
|
|
<action idref="cut_node" />
|
|
<action idref="copy_node" />
|
|
<action idref="details_space" />
|
|
</action-group>
|
|
|
|
<!-- Actions Menu for a space in the Browse screen -->
|
|
<action-group id="space_browse_menu">
|
|
<action idref="delete_space" />
|
|
<action idref="approve_space" />
|
|
<action idref="reject_space" />
|
|
</action-group>
|
|
|
|
<!-- Actions Menu for Create in Browse screen -->
|
|
<action-group id="browse_create_menu">
|
|
<action idref="create_content" />
|
|
<action idref="create_form" />
|
|
<action idref="create_website_wizard" />
|
|
<action idref="create_space" />
|
|
<action idref="create_space_wizard" />
|
|
</action-group>
|
|
|
|
<!-- Actions Menu for More Actions in Browse screen -->
|
|
<action-group id="browse_actions_menu">
|
|
<action idref="details_space" />
|
|
<action idref="delete_space" />
|
|
<action idref="cut_node" />
|
|
<action idref="copy_node" />
|
|
<action idref="paste_all" />
|
|
<action idref="manage_space_users" />
|
|
<action idref="manage_space_rules" />
|
|
<action idref="manage_deleted_items" />
|
|
</action-group>
|
|
|
|
<!-- Actions Menu for Document Details screen -->
|
|
<action-group id="doc_details_actions">
|
|
<action idref="checkout_doc" />
|
|
<action idref="checkin_doc" />
|
|
<action idref="cancelcheckout_doc" />
|
|
<action idref="approve_doc_details" />
|
|
<action idref="reject_doc_details" />
|
|
<action idref="edit_doc_http" />
|
|
<!-- TODO: add these once the appropriate props (webdavUrl and cifsPath) are added
|
|
to the node bean as resolvers (probably need to change valuebindings also)
|
|
<action idref="edit_doc_webdav" />
|
|
<action idref="edit_doc_cifs" />
|
|
-->
|
|
<action idref="update_doc" />
|
|
<action idref="cut_node" />
|
|
<action idref="copy_node" />
|
|
<action idref="delete_doc" />
|
|
<action idref="unlock_doc" />
|
|
<action idref="take_ownership_doc" />
|
|
<action idref="manage_content_users" />
|
|
<action idref="create_shortcut" />
|
|
<action idref="preview_doc" />
|
|
<action idref="run_action" />
|
|
</action-group>
|
|
|
|
<!-- Actions Menu for Space Details screen -->
|
|
<action-group id="space_details_actions">
|
|
<action idref="approve_space_details" />
|
|
<action idref="reject_space_details" />
|
|
<action idref="cut_node" />
|
|
<action idref="copy_node" />
|
|
<action idref="delete_space" />
|
|
<action idref="import_space" />
|
|
<action idref="export_space" />
|
|
<action idref="create_shortcut" />
|
|
<action idref="take_ownership_space" />
|
|
<action idref="manage_space_users" />
|
|
<action idref="manage_space_rules" />
|
|
<action idref="email_space_users" />
|
|
<action idref="preview_space" />
|
|
<action idref="run_action" />
|
|
</action-group>
|
|
|
|
<!-- Actions Menu for File Link Details screen -->
|
|
<action-group id="filelink_details_actions">
|
|
<action idref="cut_node" />
|
|
<action idref="copy_node" />
|
|
<action idref="delete_doc" />
|
|
<action idref="take_ownership_doc" />
|
|
<action idref="manage_content_users" />
|
|
<action idref="run_action" />
|
|
</action-group>
|
|
|
|
<!-- Actions Menu for Folder Link Details screen -->
|
|
<action-group id="spacelink_details_actions">
|
|
<action idref="cut_node" />
|
|
<action idref="copy_node" />
|
|
<action idref="delete_doc" />
|
|
<action idref="take_ownership_space" />
|
|
<action idref="manage_content_users" />
|
|
<action idref="run_action" />
|
|
</action-group>
|
|
|
|
<!-- Actions Menu for Manage Rules screen -->
|
|
<action-group id="rules_actions_menu">
|
|
<action idref="reapply-rules" />
|
|
<action idref="ignore-inherited-rules" />
|
|
</action-group>
|
|
|
|
</actions>
|
|
</config>
|
|
|
|
</alfresco-config>
|