Platform Explorer / CMF 1.8

Contribution org.nuxeo.cm.actions--actions

This contribution is part of XML component org.nuxeo.cm.actions inside nuxeo-case-management-web-1.8.jar

Extension Point

Extension point actions of component ActionService.

Contributed Items

  • <action enabled="false" id="POPUP_EDIT"/>
  • <action enabled="false" id="POPUP_COPY"/>
  • <action enabled="false" id="POPUP_PASTE"/>
  • <action enabled="false" id="POPUP_MOVE"/>
  • <action enabled="false" id="POPUP_RENAME"/>
  • <action enabled="false" id="POPUP_DEL"/>
  • <action enabled="false" id="POPUP_RIGHTS"/>
  • <action enabled="false" id="POPUP_WORKFLOW"/>
  • <action enabled="false" id="POPUP_DOCUMENT_LOCK"/>
  • <action enabled="false" id="POPUP_DOCUMENT_UNLOCK"/>
  • <action id="documents" label="label.main.tab.case.management" link="view_documents" order="40">
          <category>MAIN_TABS</category>
        </action>
  • <action enabled="true" id="home"/>
  • <action confirm="if( !confirmDeleteDocumentsForever() ) return false;" help="comand.deleteDocs.help" icon="" id="CASEMANAGEMENT_CURRENT_SELECTION_DELETE" label="command.deleteDocs" link="#{cmCaseActions.purgeCaseSelection}">
          <category>CASE_MANAGEMENT_CURRENT_SELECTION_LIST</category>
          <filter id="candDeleteDrafts">
            <rule grant="true">
              <condition>#{cmCaseActions.canPurge}</condition>
            </rule>
          </filter>
        </action>
  • <action enabled="false" help="comand.cm.open.help" icon="" id="CASEMANAGEMENT_CURRENT_SELECTION_OPEN" label="command.cm.open" link="#{cmCaseActions.followTranstionCaseSelection('open')}">
          <category>CASE_MANAGEMENT_CURRENT_SELECTION_LIST</category>
          <filter id="canOpenCase">
            <rule grant="true">
              <condition>
                #{cmCaseActions.canCaseSelectionFollowTransition('open')}
              </condition>
            </rule>
          </filter>
        </action>
  • <action enabled="false" help="comand.cm.process.help" icon="" id="CASEMANAGEMENT_CURRENT_SELECTION_PROCESS" label="command.cm.process" link="#{cmCaseActions.followTranstionCaseSelection('process')}">
          <category>CASE_MANAGEMENT_CURRENT_SELECTION_LIST</category>
          <filter id="canProcessCase">
            <rule grant="true">
              <condition>
                #{cmCaseActions.canCaseSelectionFollowTransition('process')}
              </condition>
            </rule>
          </filter>
        </action>
  • <action enabled="false" help="comand.cm.archive.help" icon="" id="CASEMANAGEMENT_CURRENT_SELECTION_ARCHIVE" label="command.cm.archive" link="#{cmCaseActions.followTranstionCaseSelection('archive')}">
          <category>CASE_MANAGEMENT_CURRENT_SELECTION_LIST</category>
          <filter id="canArchiveCase">
            <rule grant="true">
              <condition>
                #{cmCaseActions.canCaseSelectionFollowTransition('archive')}
              </condition>
            </rule>
          </filter>
        </action>
  • <action id="TAB_MY_SUBSCRIPTIONS">
          <filter-id>isNotCaseItemOrCase</filter-id>
        </action>
  • <action id="TAB_MANAGE_SUBSCRIPTIONS">
          <filter-id>isNotCaseItemOrCase</filter-id>
        </action>
  • <action id="newDocument">
          <filter-id>isNotCmCase</filter-id>
          <filter-id>isNotCaseItem</filter-id>
          <filter-id>isNotMailbox</filter-id>
        </action>
  • <action enabled="false" id="newFile"/>
  • <action id="TAB_CONTENT">
          <filter-id>hideFromMailbox</filter-id>
          <filter-id>isNotCmCase</filter-id>
        </action>
  • <action id="TAB_EDIT">
          <filter-id>hideFromMailbox</filter-id>
        </action>
  • <action id="TAB_MY_SUBSCRIPTIONS">
          <filter-id>hideFromMailbox</filter-id>
        </action>
  • <action id="TAB_CONTENT_HISTORY">
          <filter-id>hideFromMailbox</filter-id>
        </action>
  • <action id="TAB_VIEW">
          <filter-id>isNotCaseItemOrCase</filter-id>
        </action>
  • <action id="TAB_CASE_MANAGEMENT_VIEW" label="label.casemanagement.tab.properties" link="/casemanagement/caseitem/tabs/document_properties.xhtml" order="10">
          <category>VIEW_ACTION_LIST</category>
          <filter-id>isCaseItemOrCase</filter-id>
        </action>
  • <action id="TAB_RELATIONS">
          <filter-id>isNotCaseItemOrCase</filter-id>
        </action>
  • <action id="TAB_CASE_MANAGEMENT_RELATIONS" label="label.casemanagement.tab.relations" link="/casemanagement/caseitem/tabs/document_relations.xhtml" order="30">
          <category>VIEW_ACTION_LIST</category>
          <filter-id>isCaseItemOrCase</filter-id>
        </action>
  • <action id="CM_TAB_FILES_EDIT" label="action.view.files" link="/casemanagement/caseitem/tabs/document_files_edit.xhtml" order="43">
          <category>VIEW_ACTION_LIST</category>
          <filter-id>canEditCase</filter-id>
          <filter-id>canEditCaseItem</filter-id>
          <filter-id>mutable_document</filter-id>
          <filter-id>isCaseItemOrCase</filter-id>
        </action>
  • <action id="TAB_FILES_EDIT">
          <filter-id>isNotCaseItemOrCase</filter-id>
        </action>
  • <action id="CASE_ITEM_CREATE" label="command.create" link="#{cmDocumentActions.createCaseItemInCase}" order="0">
          <category>CASE_ITEM_CREATE_BOTTOM_LIST</category>
        </action>
  • <action id="CANCEL_CASE_ITEM_CREATE" immediate="true" label="command.cancel" link="#{navigationContext.goBack()}" order="10">
          <category>CASE_ITEM_CREATE_BOTTOM_LIST</category>
        </action>
  • <action id="EMPTY_CASE_CREATE" label="command.create" link="#{cmDocumentActions.createEmptyCase}" order="0">
          <category>EMPTY_CASE_CREATE_BOTTOM_LIST</category>
        </action>
  • <action id="CANCEL_CASE_CREATE" immediate="true" label="command.cancel" link="#{navigationContext.goBack()}" order="10">
          <category>EMPTY_CASE_CREATE_BOTTOM_LIST</category>
        </action>
  • <action id="TAB_CONTENT_HISTORY">
          <filter-id>isNotCaseItemOrCase</filter-id>
        </action>
  • <action id="TAB_CASE_MANAGEMENT_HISTORY" label="label.casemanagement.tab.history" link="/casemanagement/caseitem/tabs/document_history.xhtml" order="50">
          <category>VIEW_ACTION_LIST</category>
          <filter-id>isCaseItemOrCase</filter-id>
        </action>
  • <action id="TAB_CASE_MANAGEMENT_ROUTING_HISTORY" label="label.casemanagement.tab.history.routing" link="/casemanagement/case/tabs/document_routing_history.xhtml" order="55">
          <category>VIEW_ACTION_LIST</category>
          <filter-id>isCmCase</filter-id>
        </action>
  • <action id="TAB_PREVIEW">
          <filter-id>isNotCaseItemOrCase</filter-id>
        </action>
  • <action enabled="true" icon="/icons/file.gif" id="TAB_CASE_MANAGEMENT_PREVIEW" label="label.document.preview" link="/casemanagement/caseitem/tabs/document_annotation_preview.xhtml" order="200">
          <category>VIEW_ACTION_LIST</category>
          <filter-id>isCaseItemOrCase</filter-id>
          <filter-id>isCurrentCaseItemPreviewAvailable</filter-id>
        </action>
  • <action enabled="true" icon="/icons/action_add.gif" id="newMailbox" label="label.casemanagement.createMailbox" link="#{documentActions.createDocument('Mailbox')}">
          <category>SUBVIEW_UPPER_LIST</category>
          <filter-id>newCmMailbox</filter-id>
        </action>
  • <action enabled="true" icon="/icons/file.gif" id="editMailbox" label="label.casemanagement.editMailbox" link="/casemanagement/mailbox/tabs/mailbox_edit.xhtml" order="20">
          <category>MANAGE_MAILBOX_ACTION_LIST</category>
        </action>
  • <action enabled="true" icon="/icons/file.gif" id="TAB_MAILBOX_DELEGATION" label="label.casemanagement.delegationMailbox" link="/casemanagement/mailbox/tabs/mailbox_delegation_content.xhtml" order="21">
          <category>MANAGE_MAILBOX_ACTION_LIST</category>
    
        </action>
  • <action enabled="true" icon="/icons/file.gif" id="TAB_MAILBOX_MAILINGLIST" label="label.casemanagement.mailingList" link="/casemanagement/mailbox/tabs/mailbox_mailing_list.xhtml" order="30">
          <category>MANAGE_MAILBOX_ACTION_LIST</category>
    
        </action>
  • <action enabled="true" icon="/icons/file.gif" id="TAB_MAILBOX_INBOX" label="label.casemanagement.inboxMailbox" link="/casemanagement/mailbox/tabs/mailbox_inbox_content.xhtml" order="20">
          <category>VIEW_MAILBOX_ACTION_LIST</category>
        </action>
  • <action enabled="true" icon="/icons/file.gif" id="TAB_MAILBOX_SERVICE" label="label.casemanagement.serviceMailbox" link="/casemanagement/mailbox/tabs/mailbox_service_content.xhtml" order="21">
          <category>VIEW_MAILBOX_ACTION_LIST</category>
          <filter-id>isGenericMailbox</filter-id>
        </action>
  • <action enabled="true" icon="/icons/file.gif" id="TAB_MAILBOX_SENT" label="label.casemanagement.sentMailbox" link="/casemanagement/mailbox/tabs/mailbox_sent_content.xhtml" order="22">
          <category>VIEW_MAILBOX_ACTION_LIST</category>
        </action>
  • <action enabled="true" icon="/icons/file.gif" id="TAB_MAILBOX_DRAFT" label="label.casemanagement.draftMailbox" link="/casemanagement/mailbox/tabs/mailbox_draft_content.xhtml" order="23">
          <category>VIEW_MAILBOX_ACTION_LIST</category>
          <filter-id>canCreateCase</filter-id>
        </action>
  • <action enabled="true" id="SHOW_MANAGE_MAILBOX_ACTION" label="label.casemanagement.action.manage" link="/casemanagement/mailbox/mailbox_manage.xhtml" order="24">
          <category>VIEW_MAILBOX_ACTION_LIST</category>
        </action>
  • <action icon="/icons/case-management_distribute.gif" id="distribute_cm_case" label="label.casemanagement.action.distributionRequest" link="/casemanagement/caseitem/tabs/distribute_cm_case.xhtml" order="10">
          <category>VIEW_ACTION_LIST</category>
          <filter-id>isNotCaseItem</filter-id>
          <filter-id>canDistributeCase</filter-id>
        </action>
  • <action icon="/icons/case-management_distribute.gif" id="choose_particitants" label="label.casemanagement.action.mailboxes" link="/casemanagement/caseitem/chose_participants.xhtml" order="10">
          <category>distribute_cm_case_sub_tab</category>
          <filter-id>canDistributeCase</filter-id>
        </action>
  • <action icon="/icons/case-management_distribute.gif" id="choose_mailinglist" label="label.casemanagement.action.choosemailinglist" link="/casemanagement/caseitem/choose_mailinglist.xhtml" order="10">
          <category>distribute_cm_case_sub_tab</category>
          <filter-id>canDistributeCase</filter-id>
        </action>
  • <action enabled="true" id="distributeAction" label="label.casemanagement.distribution.send" link="#{cmDistributionActions.validateWizard}" order="10">
          <category>DISTRIBUTION_ACTION_BOTTOM_LIST</category>
        </action>
  • <action enabled="true" id="cancelDistribution" label="command.cancel" link="#{cmDistributionActions.cancelWizard}" order="20">
          <category>DISTRIBUTION_ACTION_BOTTOM_LIST</category>
        </action>
  • <action enabled="true" id="addCaseItem" label="action.new.document" link="javascript:Richfaces.showModalPanel('selectDocTypePanel');">
          <category>CASE_ACTION_UPPER_LIST_HREF</category>
          <filter-id>isCmCase</filter-id>
          <filter-id>canEditCase</filter-id>
        </action>
  • <action id="view_comments">
          <filter-id>isNotCaseItemOrCase</filter-id>
        </action>
  • <action enabled="true" id="TAB_CASE_MANAGEMENT_COMMENTS" label="action.view.comments" link="/incl/tabs/document_comments.xhtml" order="80">
          <category>VIEW_ACTION_LIST</category>
          <filter-id>isEmptyCase</filter-id>
          <filter-id>mutable_document</filter-id>
          <filter-id>not_anonymous</filter-id>
        </action>
  • <action enabled="true" id="newComment" label="command.add" link="#{commentManagerActions.addComment}">
          <category>CASE_MANAGEMENT_COMMENT_ACTIONS</category>
        </action>
  • <action enabled="true" id="cancelComment" label="command.cancel" link="#{commentManagerActions.cancelComment}">
          <category>CASE_MANAGEMENT_COMMENT_ACTIONS</category>
        </action>
  • <action enabled="true" icon="/icons/file.gif" id="TAB_MAILBOX_PLANS" label="label.casemanagement.plansMailbox" link="/casemanagement/mailbox/tabs/mailbox_plans_content.xhtml" order="25">
          <category>MANAGE_MAILBOX_ACTION_LIST</category>
    
        </action>
  • <action enabled="true" id="newCaseItemDocument" label="action.new.document" link="javascript:Richfaces.showModalPanel('selectMailboxDocTypePanel');">
          <category>DRAFT_ACTION_UPPER_LIST_HREF</category>
          <filter-id>canCreateCase</filter-id>
        </action>
  • <action icon="/icons/case-management_distribute.gif" id="TAB_DISTRIBUTION_PARTICIPANTS" label="label.casemanagement.action.distributionRequest" link="/casemanagement/caseitem/tabs/distribute_cm_case.xhtml" order="10">
          <category>DISTRIBUTION_CASE_ACTION_LIST</category>
          <filter-id>isCmCase</filter-id>
        </action>
  • <action icon="/icons/case-management_distribute.gif" id="TAB_DISTRIBUTION_FAVORITES" label="label.casemanagement.action.distributionFavorites" link="/incl/tabs/document_content.xhtml" order="10">
          <category>DISTRIBUTION_CASE_ACTION_LIST</category>
          <filter-id>isCmCase</filter-id>
        </action>
  • <action icon="/icons/case-management_distribute.gif" id="TAB_DISTRIBUTION_LISTS" label="label.casemanagement.action.distributionLists" link="/incl/tabs/document_content.xhtml" order="10">
          <category>DISTRIBUTION_CASE_ACTION_LIST</category>
          <filter-id>isCmCase</filter-id>
        </action>
  • <action id="ADD_STEP_BEFORE" link="javascript:document.getElementById('caseView:selectRouteElementsTypeForCreationForm:hiddenDocOrder').value = 'before';Richfaces.showModalPanel('selectRouteElementsTypePanel');"/>
  • <action id="ADD_STEP_AFTER" link="javascript:document.getElementById('caseView:selectRouteElementsTypeForCreationForm:hiddenDocOrder').value = 'after';Richfaces.showModalPanel('selectRouteElementsTypePanel');"/>
  • <action id="ADD_STEP_BETWEEN" link="javascript:document.getElementById('caseView:selectRouteElementsTypeForCreationForm:hiddenDocOrder').value = 'in';Richfaces.showModalPanel('selectRouteElementsTypePanel');"/>
  • <action id="Profile">
          <filter-id>isNotVirtualUser</filter-id>
        </action>

XML Source

<extension point="actions" target="org.nuxeo.ecm.platform.actions.ActionService">

    <!-- Disable POPUP Actions -->
    <action enabled="false" id="POPUP_EDIT"/>
    <action enabled="false" id="POPUP_COPY"/>
    <action enabled="false" id="POPUP_PASTE"/>
    <action enabled="false" id="POPUP_MOVE"/>
    <action enabled="false" id="POPUP_RENAME"/>
    <action enabled="false" id="POPUP_DEL"/>
    <action enabled="false" id="POPUP_RIGHTS"/>
    <action enabled="false" id="POPUP_WORKFLOW"/>
    <action enabled="false" id="POPUP_DOCUMENT_LOCK"/>
    <action enabled="false" id="POPUP_DOCUMENT_UNLOCK"/>

    <!-- add back login/logout + personal workspace links (see NXP-6418) -->
    <action id="documents" label="label.main.tab.case.management" link="view_documents" order="40">
      <category>MAIN_TABS</category>
    </action>
    <action enabled="true" id="home"/>
    <!-- end of login/logout actions -->

    <!-- Actions for the document selection -->

    <action confirm="if( !confirmDeleteDocumentsForever() ) return false;" help="comand.deleteDocs.help" icon="" id="CASEMANAGEMENT_CURRENT_SELECTION_DELETE" label="command.deleteDocs" link="#{cmCaseActions.purgeCaseSelection}">
      <category>CASE_MANAGEMENT_CURRENT_SELECTION_LIST</category>
      <filter id="candDeleteDrafts">
        <rule grant="true">
          <condition>#{cmCaseActions.canPurge}</condition>
        </rule>
      </filter>
    </action>

    <action enabled="false" help="comand.cm.open.help" icon="" id="CASEMANAGEMENT_CURRENT_SELECTION_OPEN" label="command.cm.open" link="#{cmCaseActions.followTranstionCaseSelection('open')}">
      <category>CASE_MANAGEMENT_CURRENT_SELECTION_LIST</category>
      <filter id="canOpenCase">
        <rule grant="true">
          <condition>
            #{cmCaseActions.canCaseSelectionFollowTransition('open')}
          </condition>
        </rule>
      </filter>
    </action>

    <action enabled="false" help="comand.cm.process.help" icon="" id="CASEMANAGEMENT_CURRENT_SELECTION_PROCESS" label="command.cm.process" link="#{cmCaseActions.followTranstionCaseSelection('process')}">
      <category>CASE_MANAGEMENT_CURRENT_SELECTION_LIST</category>
      <filter id="canProcessCase">
        <rule grant="true">
          <condition>
            #{cmCaseActions.canCaseSelectionFollowTransition('process')}
          </condition>
        </rule>
      </filter>
    </action>

    <action enabled="false" help="comand.cm.archive.help" icon="" id="CASEMANAGEMENT_CURRENT_SELECTION_ARCHIVE" label="command.cm.archive" link="#{cmCaseActions.followTranstionCaseSelection('archive')}">
      <category>CASE_MANAGEMENT_CURRENT_SELECTION_LIST</category>
      <filter id="canArchiveCase">
        <rule grant="true">
          <condition>
            #{cmCaseActions.canCaseSelectionFollowTransition('archive')}
          </condition>
        </rule>
      </filter>
    </action>

    <!-- filter out some actions -->

    <action id="TAB_MY_SUBSCRIPTIONS">
      <filter-id>isNotCaseItemOrCase</filter-id>
    </action>

    <action id="TAB_MANAGE_SUBSCRIPTIONS">
      <filter-id>isNotCaseItemOrCase</filter-id>
    </action>

    <!-- action id="TAB_EDIT">
      <filter-id>isNotCaseItemOrCase</filter-id>
      </action>
      
      <action id="TAB_METADATA_VIEW">
      <filter-id>isNotCaseItemOrCase</filter-id>
      </action>
      
      <action id="TAB_METADATA_EDIT">
      <filter-id>isNotCaseItemOrCase</filter-id>
      </action -->

    <!-- remove useless -->
    <action id="newDocument">
      <filter-id>isNotCmCase</filter-id>
      <filter-id>isNotCaseItem</filter-id>
      <filter-id>isNotMailbox</filter-id>
    </action>
    <action enabled="false" id="newFile"/>
    <action id="TAB_CONTENT">
      <filter-id>hideFromMailbox</filter-id>
      <filter-id>isNotCmCase</filter-id>
    </action>
    <action id="TAB_EDIT">
      <filter-id>hideFromMailbox</filter-id>
    </action>
    <action id="TAB_MY_SUBSCRIPTIONS">
      <filter-id>hideFromMailbox</filter-id>
    </action>
    <action id="TAB_CONTENT_HISTORY">
      <filter-id>hideFromMailbox</filter-id>
    </action>

    <!-- case/case item tab actions -->
    <!-- redefine some tabs -->
    <action id="TAB_VIEW">
      <filter-id>isNotCaseItemOrCase</filter-id>
    </action>
    <action id="TAB_CASE_MANAGEMENT_VIEW" label="label.casemanagement.tab.properties" link="/casemanagement/caseitem/tabs/document_properties.xhtml" order="10">
      <category>VIEW_ACTION_LIST</category>
      <filter-id>isCaseItemOrCase</filter-id>
    </action>

    <action id="TAB_RELATIONS">
      <filter-id>isNotCaseItemOrCase</filter-id>
    </action>
    <action id="TAB_CASE_MANAGEMENT_RELATIONS" label="label.casemanagement.tab.relations" link="/casemanagement/caseitem/tabs/document_relations.xhtml" order="30">
      <category>VIEW_ACTION_LIST</category>
      <filter-id>isCaseItemOrCase</filter-id>
    </action>

    <action id="CM_TAB_FILES_EDIT" label="action.view.files" link="/casemanagement/caseitem/tabs/document_files_edit.xhtml" order="43">
      <category>VIEW_ACTION_LIST</category>
      <filter-id>canEditCase</filter-id>
      <filter-id>canEditCaseItem</filter-id>
      <filter-id>mutable_document</filter-id>
      <filter-id>isCaseItemOrCase</filter-id>
    </action>

    <action id="TAB_FILES_EDIT">
      <filter-id>isNotCaseItemOrCase</filter-id>
    </action>

    <action id="CASE_ITEM_CREATE" label="command.create" link="#{cmDocumentActions.createCaseItemInCase}" order="0">
      <category>CASE_ITEM_CREATE_BOTTOM_LIST</category>
    </action>

    <action id="CANCEL_CASE_ITEM_CREATE" immediate="true" label="command.cancel" link="#{navigationContext.goBack()}" order="10">
      <category>CASE_ITEM_CREATE_BOTTOM_LIST</category>
    </action>

    <action id="EMPTY_CASE_CREATE" label="command.create" link="#{cmDocumentActions.createEmptyCase}" order="0">
      <category>EMPTY_CASE_CREATE_BOTTOM_LIST</category>
    </action>

    <action id="CANCEL_CASE_CREATE" immediate="true" label="command.cancel" link="#{navigationContext.goBack()}" order="10">
      <category>EMPTY_CASE_CREATE_BOTTOM_LIST</category>
    </action>

    <action id="TAB_CONTENT_HISTORY">
      <filter-id>isNotCaseItemOrCase</filter-id>
    </action>
    <action id="TAB_CASE_MANAGEMENT_HISTORY" label="label.casemanagement.tab.history" link="/casemanagement/caseitem/tabs/document_history.xhtml" order="50">
      <category>VIEW_ACTION_LIST</category>
      <filter-id>isCaseItemOrCase</filter-id>
    </action>
    <action id="TAB_CASE_MANAGEMENT_ROUTING_HISTORY" label="label.casemanagement.tab.history.routing" link="/casemanagement/case/tabs/document_routing_history.xhtml" order="55">
      <category>VIEW_ACTION_LIST</category>
      <filter-id>isCmCase</filter-id>
    </action>

    <action id="TAB_PREVIEW">
      <filter-id>isNotCaseItemOrCase</filter-id>
    </action>
    <action enabled="true" icon="/icons/file.gif" id="TAB_CASE_MANAGEMENT_PREVIEW" label="label.document.preview" link="/casemanagement/caseitem/tabs/document_annotation_preview.xhtml" order="200">
      <category>VIEW_ACTION_LIST</category>
      <filter-id>isCaseItemOrCase</filter-id>
      <filter-id>isCurrentCaseItemPreviewAvailable</filter-id>
    </action>

    <!-- Mailbox Actions -->
    <action enabled="true" icon="/icons/action_add.gif" id="newMailbox" label="label.casemanagement.createMailbox" link="#{documentActions.createDocument('Mailbox')}">
      <category>SUBVIEW_UPPER_LIST</category>
      <filter-id>newCmMailbox</filter-id>
    </action>

    <action enabled="true" icon="/icons/file.gif" id="editMailbox" label="label.casemanagement.editMailbox" link="/casemanagement/mailbox/tabs/mailbox_edit.xhtml" order="20">
      <category>MANAGE_MAILBOX_ACTION_LIST</category>
    </action>

    <action enabled="true" icon="/icons/file.gif" id="TAB_MAILBOX_DELEGATION" label="label.casemanagement.delegationMailbox" link="/casemanagement/mailbox/tabs/mailbox_delegation_content.xhtml" order="21">
      <category>MANAGE_MAILBOX_ACTION_LIST</category>

    </action>

    <action enabled="true" icon="/icons/file.gif" id="TAB_MAILBOX_MAILINGLIST" label="label.casemanagement.mailingList" link="/casemanagement/mailbox/tabs/mailbox_mailing_list.xhtml" order="30">
      <category>MANAGE_MAILBOX_ACTION_LIST</category>

    </action>

    <!-- Mailbox View Action -->
    <action enabled="true" icon="/icons/file.gif" id="TAB_MAILBOX_INBOX" label="label.casemanagement.inboxMailbox" link="/casemanagement/mailbox/tabs/mailbox_inbox_content.xhtml" order="20">
      <category>VIEW_MAILBOX_ACTION_LIST</category>
    </action>

    <action enabled="true" icon="/icons/file.gif" id="TAB_MAILBOX_SERVICE" label="label.casemanagement.serviceMailbox" link="/casemanagement/mailbox/tabs/mailbox_service_content.xhtml" order="21">
      <category>VIEW_MAILBOX_ACTION_LIST</category>
      <filter-id>isGenericMailbox</filter-id>
    </action>

    <action enabled="true" icon="/icons/file.gif" id="TAB_MAILBOX_SENT" label="label.casemanagement.sentMailbox" link="/casemanagement/mailbox/tabs/mailbox_sent_content.xhtml" order="22">
      <category>VIEW_MAILBOX_ACTION_LIST</category>
    </action>

    <action enabled="true" icon="/icons/file.gif" id="TAB_MAILBOX_DRAFT" label="label.casemanagement.draftMailbox" link="/casemanagement/mailbox/tabs/mailbox_draft_content.xhtml" order="23">
      <category>VIEW_MAILBOX_ACTION_LIST</category>
      <filter-id>canCreateCase</filter-id>
    </action>

    <action enabled="true" id="SHOW_MANAGE_MAILBOX_ACTION" label="label.casemanagement.action.manage" link="/casemanagement/mailbox/mailbox_manage.xhtml" order="24">
      <category>VIEW_MAILBOX_ACTION_LIST</category>
    </action>
    <!-- Case Management actions -->

    <action icon="/icons/case-management_distribute.gif" id="distribute_cm_case" label="label.casemanagement.action.distributionRequest" link="/casemanagement/caseitem/tabs/distribute_cm_case.xhtml" order="10">
      <category>VIEW_ACTION_LIST</category>
      <filter-id>isNotCaseItem</filter-id>
      <filter-id>canDistributeCase</filter-id>
    </action>

    <action icon="/icons/case-management_distribute.gif" id="choose_particitants" label="label.casemanagement.action.mailboxes" link="/casemanagement/caseitem/chose_participants.xhtml" order="10">
      <category>distribute_cm_case_sub_tab</category>
      <filter-id>canDistributeCase</filter-id>
    </action>

    <action icon="/icons/case-management_distribute.gif" id="choose_mailinglist" label="label.casemanagement.action.choosemailinglist" link="/casemanagement/caseitem/choose_mailinglist.xhtml" order="10">
      <category>distribute_cm_case_sub_tab</category>
      <filter-id>canDistributeCase</filter-id>
    </action>

    <action enabled="true" id="distributeAction" label="label.casemanagement.distribution.send" link="#{cmDistributionActions.validateWizard}" order="10">
      <category>DISTRIBUTION_ACTION_BOTTOM_LIST</category>
    </action>

    <action enabled="true" id="cancelDistribution" label="command.cancel" link="#{cmDistributionActions.cancelWizard}" order="20">
      <category>DISTRIBUTION_ACTION_BOTTOM_LIST</category>
    </action>

    <action enabled="true" id="addCaseItem" label="action.new.document" link="javascript:Richfaces.showModalPanel('selectDocTypePanel');">
      <category>CASE_ACTION_UPPER_LIST_HREF</category>
      <filter-id>isCmCase</filter-id>
      <filter-id>canEditCase</filter-id>
    </action>
    <!-- End Mail Distribution actions -->
    <!-- remove usual comment tab for correspondance documents -->
    <action id="view_comments">
      <filter-id>isNotCaseItemOrCase</filter-id>
    </action>

    <action enabled="true" id="TAB_CASE_MANAGEMENT_COMMENTS" label="action.view.comments" link="/incl/tabs/document_comments.xhtml" order="80">
      <category>VIEW_ACTION_LIST</category>
      <filter-id>isEmptyCase</filter-id>
      <filter-id>mutable_document</filter-id>
      <filter-id>not_anonymous</filter-id>
    </action>

    <action enabled="true" id="newComment" label="command.add" link="#{commentManagerActions.addComment}">
      <category>CASE_MANAGEMENT_COMMENT_ACTIONS</category>
    </action>

    <action enabled="true" id="cancelComment" label="command.cancel" link="#{commentManagerActions.cancelComment}">
      <category>CASE_MANAGEMENT_COMMENT_ACTIONS</category>
    </action>

    <!-- end of envelope/document tab actions -->

    <!-- Mailbox Management Actions -->
    <action enabled="true" icon="/icons/file.gif" id="TAB_MAILBOX_PLANS" label="label.casemanagement.plansMailbox" link="/casemanagement/mailbox/tabs/mailbox_plans_content.xhtml" order="25">
      <category>MANAGE_MAILBOX_ACTION_LIST</category>

    </action>

    <action enabled="true" id="newCaseItemDocument" label="action.new.document" link="javascript:Richfaces.showModalPanel('selectMailboxDocTypePanel');">
      <category>DRAFT_ACTION_UPPER_LIST_HREF</category>
      <filter-id>canCreateCase</filter-id>
    </action>

    <!-- End of Mailbox Management Actions -->


    <action icon="/icons/case-management_distribute.gif" id="TAB_DISTRIBUTION_PARTICIPANTS" label="label.casemanagement.action.distributionRequest" link="/casemanagement/caseitem/tabs/distribute_cm_case.xhtml" order="10">
      <category>DISTRIBUTION_CASE_ACTION_LIST</category>
      <filter-id>isCmCase</filter-id>
    </action>

    <action icon="/icons/case-management_distribute.gif" id="TAB_DISTRIBUTION_FAVORITES" label="label.casemanagement.action.distributionFavorites" link="/incl/tabs/document_content.xhtml" order="10">
      <category>DISTRIBUTION_CASE_ACTION_LIST</category>
      <filter-id>isCmCase</filter-id>
    </action>

    <action icon="/icons/case-management_distribute.gif" id="TAB_DISTRIBUTION_LISTS" label="label.casemanagement.action.distributionLists" link="/incl/tabs/document_content.xhtml" order="10">
      <category>DISTRIBUTION_CASE_ACTION_LIST</category>
      <filter-id>isCmCase</filter-id>
    </action>

    <!-- routing action -->

    <action id="ADD_STEP_BEFORE" link="javascript:document.getElementById('caseView:selectRouteElementsTypeForCreationForm:hiddenDocOrder').value = 'before';Richfaces.showModalPanel('selectRouteElementsTypePanel');"/>

    <action id="ADD_STEP_AFTER" link="javascript:document.getElementById('caseView:selectRouteElementsTypeForCreationForm:hiddenDocOrder').value = 'after';Richfaces.showModalPanel('selectRouteElementsTypePanel');"/>

    <action id="ADD_STEP_BETWEEN" link="javascript:document.getElementById('caseView:selectRouteElementsTypeForCreationForm:hiddenDocOrder').value = 'in';Richfaces.showModalPanel('selectRouteElementsTypePanel');"/>

    <!-- hide profile for Administrator user -->
    <action id="Profile">
      <filter-id>isNotVirtualUser</filter-id>
    </action>
    
  </extension>