Files
alfresco-community-repo/config/alfresco/web-client-config-forum-actions.xml
Derek Hulley 6c3b7b8cd6 Merged V3.2 to HEAD
15897: Merged V3.1 to V3.2
      14485: (RECORD ONLY) ETHREEOH-1937
      14915: (RECORD ONLY) Fix for ETHREEOH-2011: chaining-authentication-context.xml.sample
      14954: (RECORD ONLY) Fix merge error
      14966: (RECORD ONLY) Merged V2.2 to V3.1
         14131: *RECORD ONLY*
         14605: Merged HEAD to V2.2 (workaround for ETWOTWO-1137)
            14368: Fix for ETHREEOH-1936
         14607: Fixed NPE in TextMiningContentTransformer: Lead-up to fix for ETWOTWO-1174
      14992: (RECORD ONLY) Updated svn:mergeinfo for V2.1-A
      15080: Applied suggested fix for ETHREEOH-2252: Emailed content created in wrong space
      15131: Merged V2.1-A to V3.1 (ETHREEOH-2270)
         13465: Fix for ADB-161 ACT 7870 - added 'xsd' to mimetype map.
      15134: Merged V2.2 to V3.1
         14332: (RECORD-ONLY)
         14717: (RECORD-ONLY)
         14745: (RECORD-ONLY)
         14746: Fixed error relating to detection and clean-up of duplicate child associations
         14759: Missed check-in: Set transactionService for post-transaction duplicate child assoc cleanup
         14761: (RECORD-ONLY)
         14885: (RECORD-ONLY)
         14893: (RECORD-ONLY)
         14903: (RECORD-ONLY)
      15204: Fixed ETHREEOH-2303: FixNameCrcValuesPatch throws ConstraintViolationException during upgrade ...
      15214: Fixed ETHREEOH-1861: Offline synchronization updates file content without any changes
      15271: Applied patch fix: Imported users don't conform to case-sensitivity switch
      15352: ETHREEOH-2322
      15361: ETHREEOH-1112
      15369: ETHREEOH-2448
      15419: ETHREEOH-2479
      15431: ETHREEOH-2520 and ETHREEOH-2521
      15587: (RECORD ONLY) Moved Enterprise-only scripts to correct location
      15616: Fix ETHREEOH-2581 - WCM layered folder - can't submit deleted file
      15675: WCM fixes (ETHREEOH-2110 & ETHREEOH-2645)
      15836: Check for null username in ContentUsage service getUserUsage() method
      15840: (RECORD ONLY) Merged V3.2 to V3.1
         14760: Fix for ALFCOM-586 - trims and ignores leading/trailing whitespace before validation in JSF client forms.
      15841: Fixes for ETHREEOH-2702 and ETHREEOH-2687
      15860: (RECORD ONLY) Added Oracle and MS SQL Server config
      15891: Removed unused compiler directive
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /alfresco/BRANCHES/DEV/BELARUS/ETHREEOH-2221:r14753
   Merged /alfresco/BRANCHES/V2.1-A: lots
   Merged /alfresco/BRANCHES/V2.2:r14131,14332,14605,14607,14717,14745-14746,14759,14761,14885,14893,14903
   Merged /alfresco/BRANCHES/V3.1:r14485,14915,14954,14966,14992,15080,15131,15134,15204,15214,15271,15352,15361,15369,15419,15431,15587,15616,15675,15818,15836,15840-15841,15860,15891
   Merged /alfresco/BRANCHES/V3.2:r15897


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

368 lines
15 KiB
XML

<alfresco-config>
<config>
<actions>
<!-- Forums overrides the checkin document action - as it has more complex evaluation
logic which takes into account any child forums attached to the node. -->
<!-- Checkin document -->
<action id="checkin_doc">
<evaluator>org.alfresco.web.action.evaluator.ForumsCheckinDocEvaluator</evaluator>
<label-id>checkin</label-id>
<image>/images/icons/CheckIn_icon.gif</image>
<action-listener>#{CheckinCheckoutDialog.setupContentAction}</action-listener>
<action>dialog:checkinFile</action>
<params>
<param name="id">#{actionContext.id}</param>
</params>
</action>
<!-- Override the cut action to check for discussions, don't allow them to be cut -->
<!-- Cut a document or space to the clipboard, from browse or doc details screens -->
<action id="cut_node">
<evaluator>org.alfresco.web.action.evaluator.DiscussionCutEvaluator</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>
<!-- Override the copy action to check for discussions, don't allow them to be copied -->
<!-- Copy a document or space to the clipboard, from browse or doc details screens -->
<action id="copy_node">
<evaluator>org.alfresco.web.action.evaluator.DiscussionCopyEvaluator</evaluator>
<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>
<!-- Discuss document or space e.g. jump to Forums view for this node -->
<action id="discuss_node">
<evaluator>org.alfresco.web.action.evaluator.DiscussNodeEvaluator</evaluator>
<label-id>discuss</label-id>
<image>/images/icons/forum-16.gif</image>
<action-listener>#{ForumsBean.discuss}</action-listener>
<params>
<param name="id">#{actionContext.id}</param>
</params>
</action>
<!-- Discuss document or space e.g. jump to Forums view for this node -->
<action id="create_forum_node">
<permissions>
<permission allow="true">Collaborator</permission>
</permissions>
<evaluator>org.alfresco.web.action.evaluator.CreateForumNodeEvaluator</evaluator>
<label-id>start_discussion</label-id>
<image>/images/icons/create_forum.gif</image>
<action>dialog:createDiscussion</action>
<action-listener>#{DialogManager.setupParameters}</action-listener>
<params>
<param name="id">#{actionContext.id}</param>
</params>
</action>
<!-- Discuss multilingual content e.g. jump to Forums view for this node -->
<action id="create_forum_ml_node">
<evaluator>org.alfresco.web.action.evaluator.CreateForumMLNodeEvaluator</evaluator>
<label-id>start_discussion</label-id>
<image>/images/icons/create_forum.gif</image>
<action>dialog:createDiscussion</action>
<action-listener>#{DialogManager.setupParameters}</action-listener>
<params>
<param name="id">#{actionContext.id}</param>
</params>
</action>
<!-- Create a Forums space -->
<action id="create_forums">
<permissions>
<permission allow="true">CreateChildren</permission>
</permissions>
<label-id>create_forums</label-id>
<image>/images/icons/create_forums.gif</image>
<action>dialog:createForums</action>
</action>
<!-- Create a Forum -->
<action id="create_forum">
<permissions>
<permission allow="true">CreateChildren</permission>
</permissions>
<label-id>create_forum</label-id>
<image>/images/icons/create_forum.gif</image>
<action>dialog:createForum</action>
</action>
<!-- Delete a Forums space -->
<action id="delete_forums">
<permissions>
<permission allow="true">Delete</permission>
</permissions>
<label-id>delete_forums</label-id>
<image>/images/icons/delete_forums.gif</image>
<action>dialog:deleteSpace</action>
<action-listener>#{BrowseBean.setupDeleteAction}</action-listener>
<params>
<param name="id">#{actionContext.id}</param>
</params>
</action>
<!-- Delete a Forum space -->
<action id="delete_forum">
<permissions>
<permission allow="true">Delete</permission>
</permissions>
<label-id>delete_forum</label-id>
<image>/images/icons/delete_forum.gif</image>
<action>dialog:deleteSpace</action>
<action-listener>#{BrowseBean.setupDeleteAction}</action-listener>
<params>
<param name="id">#{actionContext.id}</param>
</params>
</action>
<!-- Create a Topic -->
<action id="create_topic">
<permissions>
<permission allow="true">CreateChildren</permission>
</permissions>
<label-id>create_topic</label-id>
<image>/images/icons/create_topic.gif</image>
<action>dialog:createTopic</action>
</action>
<!-- Delete a Topic -->
<action id="delete_topic">
<permissions>
<permission allow="true">Delete</permission>
</permissions>
<label-id>delete_topic</label-id>
<image>/images/icons/delete_topic.gif</image>
<action>dialog:deleteSpace</action>
<action-listener>#{BrowseBean.setupDeleteAction}</action-listener>
<params>
<param name="id">#{actionContext.id}</param>
</params>
</action>
<!-- Create a Topic -->
<action id="create_post">
<permissions>
<permission allow="true">CreateChildren</permission>
</permissions>
<label-id>post_to_topic</label-id>
<image>/images/icons/create_post.gif</image>
<action>dialog:createPost</action>
</action>
<!-- Post a reply to a Topic -->
<action id="post_reply">
<permissions>
<permission allow="true">CreateChildren</permission>
</permissions>
<label-id>post_reply</label-id>
<image>/images/icons/post_reply.gif</image>
<action>dialog:createReply</action>
<action-listener>#{BrowseBean.setupContentAction}</action-listener>
<params>
<param name="id">#{actionContext.id}</param>
</params>
</action>
<!-- Edit an existing Post -->
<action id="edit_post">
<permissions>
<permission allow="true">Write</permission>
</permissions>
<label-id>edit_post</label-id>
<image>/images/icons/edit_post.gif</image>
<action>dialog:editPost</action>
<action-listener>#{BrowseBean.setupContentAction}</action-listener>
<params>
<param name="id">#{actionContext.id}</param>
</params>
</action>
<!-- Delete a Post -->
<action id="delete_post">
<permissions>
<permission allow="true">Delete</permission>
</permissions>
<label-id>delete_post</label-id>
<image>/images/icons/delete.gif</image>
<action>dialog:deleteFile</action>
<action-listener>#{BrowseBean.setupContentAction}</action-listener>
<params>
<param name="id">#{actionContext.id}</param>
</params>
</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 -->
<!-- Override browse actions and doc/space details screen actions for the Forums module -->
<!-- Actions for a document in the Browse screen -->
<action-group id="document_browse">
<show-link>false</show-link>
<action idref="discuss_node" />
</action-group>
<!-- Actions Menu for a document in the Browse screen -->
<action-group id="document_browse_menu">
<action idref="create_forum_node" />
</action-group>
<!-- Actions for a space in the Browse screen -->
<action-group id="space_browse">
<show-link>false</show-link>
<action idref="discuss_node" />
</action-group>
<!-- Actions Menu for a space in the Browse screen -->
<action-group id="space_browse_menu">
<action idref="create_forum_node" />
</action-group>
<!-- Actions Menu for Document Details screen -->
<action-group id="doc_details_actions">
<action idref="discuss_node" />
<action idref="create_forum_node" />
</action-group>
<!-- Actions Menu for Multilingual Document Details screen -->
<action-group id="multilingual_details_actions">
<action idref="create_forum_ml_node" />
<action idref="discuss_node" />
</action-group>
<!-- Actions Menu for Space Details screen -->
<action-group id="space_details_actions">
<action idref="discuss_node" />
<action idref="create_forum_node" />
</action-group>
<!-- Actions Menu for Forums Details page -->
<action-group id="forums_details_actions">
<action idref="cut_node" />
<action idref="copy_node" />
<action idref="delete_space" />
<action idref="export_space" />
<action idref="manage_space_users" />
<action idref="create_shortcut" />
</action-group>
<!-- Actions Menu for Forum Details page -->
<action-group id="forum_details_actions">
<action idref="cut_node" />
<action idref="copy_node" />
<action idref="delete_space" />
<action idref="manage_space_users" />
<action idref="create_shortcut" />
</action-group>
<!-- Actions Menu for Topic Details page -->
<action-group id="topic_details_actions">
<action idref="cut_node" />
<action idref="copy_node" />
<action idref="delete_space" />
<action idref="manage_space_users" />
<action idref="create_shortcut" />
</action-group>
<!-- Create Actions Menu for Forums view -->
<action-group id="forums_create_menu">
<action idref="create_forums" />
<action idref="create_forum" />
</action-group>
<!-- More Actions Menu for Forums view -->
<action-group id="forums_actions_menu">
<action idref="details_space" />
<action idref="delete_forums" />
<action idref="cut_node" />
<action idref="copy_node" />
<action idref="paste_all" />
<action idref="manage_space_users" />
<action idref="export_space" />
</action-group>
<!-- Actions for a Forums Space or Forum in Forums view -->
<action-group id="forums_actions">
<show-link>false</show-link>
<style-class>inlineAction</style-class>
<action idref="cut_node" />
<action idref="copy_node" />
<action idref="delete_space" />
<action idref="details_space" />
</action-group>
<!-- Create Actions Menu for Forum view -->
<action-group id="forum_create_menu">
<action idref="create_topic" />
</action-group>
<!-- More Actions Menu for Forum view -->
<action-group id="forum_actions_menu">
<action idref="details_space" />
<action idref="delete_forum" />
<action idref="cut_node" />
<action idref="copy_node" />
<action idref="paste_all" />
<action idref="manage_space_users" />
</action-group>
<!-- Actions for topics in Forum view -->
<action-group id="forum_actions">
<show-link>false</show-link>
<style-class>inlineAction</style-class>
<action idref="cut_node" />
<action idref="copy_node" />
<action idref="delete_topic" />
<action idref="details_space" />
</action-group>
<!-- Create Actions Menu for Topic view -->
<action-group id="topic_create_menu">
<action idref="create_post" />
</action-group>
<!-- More Actions Menu for Topic view -->
<action-group id="topic_actions_menu">
<action idref="details_space" />
<action idref="delete_topic" />
<action idref="cut_node" />
<action idref="copy_node" />
<action idref="manage_space_users" />
</action-group>
<!-- Actions for topics in Topic view -->
<action-group id="topic_actions">
<show-link>false</show-link>
<style-class>inlineAction</style-class>
<action idref="post_reply" />
<action idref="edit_post" />
<action idref="delete_post" />
</action-group>
</actions>
</config>
</alfresco-config>