Platform Explorer / CMF 1.8

Contribution org.nuxeo.ecm.platform.routing.actions--actions

This contribution is part of XML component org.nuxeo.ecm.platform.routing.actions inside nuxeo-platform-document-routing-web-5.4.3-I20110729.jar

Extension Point

Extension point actions of component ActionService.

Contributed Items

  • <action id="TAB_CONTENT">
          <filter-id>isNotRoute</filter-id>
        </action>
  • <action icon="/icons/file.gif" id="TAB_DOCUMENT_ROUTE_CONTENT" label="action.view.content" link="/incl/tabs/document_route_content.xhtml" order="10">
          <category>VIEW_ACTION_LIST</category>
          <filter-id>isRoute</filter-id>
        </action>
  • <action icon="/icons/file.gif" id="TAB_DOCUMENT_ROUTE_ELEMENTS" label="action.view.document.routing.elements" link="/incl/tabs/document_route_content_elements.xhtml" order="100">
          <category>VIEW_ACTION_LIST</category>
          <filter-id>isRoute</filter-id>
        </action>
  • <action icon="/icons/pdf.png" id="route_to_pdf" label="action.pdf.route" link="#{routeToPdfActionBean.doRenderView('view_pdf_route.faces')}" order="20">
          <category>DOCUMENT_UPPER_ACTION</category>
          <filter-id>isRoute</filter-id>
        </action>
  • <action icon="/icons/pdf.png" id="related_route_to_pdf" label="action.pdf.route" link="#{routeToPdfActionBean.doRenderView('view_pdf_related_route.faces')}" order="20">
          <category>DOCUMENT_UPPER_ACTION</category>
          <filter-id>isRoutable</filter-id>
          <filter-id>hasRelatedRouteStarted</filter-id>
        </action>
  • <action id="TAB_CASE_MANAGEMENT_VIEW_RELATED_ROUTE" label="label.document.routing.related.route" link="/incl/tabs/related_document_route_preview.xhtml" order="250">
          <category>VIEW_ACTION_LIST</category>
          <filter-id>isRoutable</filter-id>
          <filter-id>hasRelatedRouteStarted</filter-id>
        </action>
  • <action id="CANCEL_RELATED_ROUTE" label="label.document.routing.cancel.route" link="#{routingActions.cancelRoute()}" order="10">
          <category>ATTACHED_ROUTE_LIST</category>
          <filter-id>hasRelatedRouteStarted</filter-id>
          <filter-id>isEditableRoute</filter-id>
        </action>
  • <action id="SAVE_ATTACHED_ROUTE_AS_NEW_INSTANCE" label="label.document.routing.saveAsNew" link="#{routingActions.saveRouteAsNewInstance()}" order="10">
          <category>ATTACHED_ROUTE_LIST</category>
          <filter-id>hasRelatedRouteStarted</filter-id>
        </action>
  • <action id="SAVE_ROUTE_AS_NEW_INSTANCE" label="label.document.routing.saveAsNew" link="#{routingActions.saveRouteAsNewInstance()}" order="10">
          <category>ROUTE_LIST</category>
        </action>
  • <action icon="/icons/add.png" id="ADD_STEP_BEFORE" label="command.add.routeelement.before" link="javascript:document.getElementById('selectRouteElementsTypeForCreationForm:hiddenDocOrder').value = 'before';Richfaces.showModalPanel('selectRouteElementsTypePanel');">
          <category>ADD_STEP_ACTIONS_LIST</category>
          <filter-id>isNotRunning</filter-id>
          <filter-id>isEditableRoute</filter-id>
        </action>
  • <action icon="/icons/add.png" id="ADD_STEP_AFTER" label="command.add.routeelement.after" link="javascript:document.getElementById('selectRouteElementsTypeForCreationForm:hiddenDocOrder').value = 'after';Richfaces.showModalPanel('selectRouteElementsTypePanel');">
          <category>ADD_STEP_ACTIONS_LIST</category>
          <filter-id>isEditableRoute</filter-id>
        </action>
  • <action icon="/icons/add.png" id="ADD_STEP_BETWEEN" label="command.add.routeelement.in" link="javascript:document.getElementById('selectRouteElementsTypeForCreationForm:hiddenDocOrder').value = 'in';Richfaces.showModalPanel('selectRouteElementsTypePanel');">
          <category>ADD_STEP_IN_FORK_ACTIONS_LIST</category>
          <filter-id>isNotRunning</filter-id>
          <filter-id>isEditableRoute</filter-id>
        </action>
  • <action icon="/icons/delete.png" id="REMOVE_STEP" label="command.delete" link="#{routingActions.removeStep}">
          <category>REMOVE_STEP_ACTIONS_LIST</category>
          <filter-id>isNotRunning</filter-id>
          <filter-id>isEditableRoute</filter-id>
        </action>
  • <action icon="/icons/modify.png" id="UPDATE_STEP" label="command.edit" link="#{routingActions.editStep}">
          <category>EDIT_STEP_ACTIONS_LIST</category>
          <filter-id>isNotRunning</filter-id>
          <filter-id>isEditableRoute</filter-id>
        </action>
  • <action icon="/icons/routing_move_up.png" id="MOVE_STEP_UP" label="command.selection.moveUp" link="#{routingActions.moveRouteElement('up')}">
          <category>EDIT_STEP_ACTIONS_LIST</category>
          <filter-id>isNotRunning</filter-id>
          <filter-id>isEditableRoute</filter-id>
        </action>
  • <action icon="/icons/routing_move_down.png" id="MOVE_STEP_DOWN" label="command.selection.moveDown" link="#{routingActions.moveRouteElement('down')}">
          <category>EDIT_STEP_ACTIONS_LIST</category>
          <filter-id>isNotRunning</filter-id>
          <filter-id>isEditableRoute</filter-id>
        </action>

XML Source

<extension point="actions" target="org.nuxeo.ecm.platform.actions.ActionService">
    <action id="TAB_CONTENT">
      <filter-id>isNotRoute</filter-id>
    </action>

    <action icon="/icons/file.gif" id="TAB_DOCUMENT_ROUTE_CONTENT" label="action.view.content" link="/incl/tabs/document_route_content.xhtml" order="10">
      <category>VIEW_ACTION_LIST</category>
      <filter-id>isRoute</filter-id>
    </action>

    <action icon="/icons/file.gif" id="TAB_DOCUMENT_ROUTE_ELEMENTS" label="action.view.document.routing.elements" link="/incl/tabs/document_route_content_elements.xhtml" order="100">
      <category>VIEW_ACTION_LIST</category>
      <filter-id>isRoute</filter-id>
    </action>

    <action icon="/icons/pdf.png" id="route_to_pdf" label="action.pdf.route" link="#{routeToPdfActionBean.doRenderView('view_pdf_route.faces')}" order="20">
      <category>DOCUMENT_UPPER_ACTION</category>
      <filter-id>isRoute</filter-id>
    </action>

    <action icon="/icons/pdf.png" id="related_route_to_pdf" label="action.pdf.route" link="#{routeToPdfActionBean.doRenderView('view_pdf_related_route.faces')}" order="20">
      <category>DOCUMENT_UPPER_ACTION</category>
      <filter-id>isRoutable</filter-id>
      <filter-id>hasRelatedRouteStarted</filter-id>
    </action>

    <action id="TAB_CASE_MANAGEMENT_VIEW_RELATED_ROUTE" label="label.document.routing.related.route" link="/incl/tabs/related_document_route_preview.xhtml" order="250">
      <category>VIEW_ACTION_LIST</category>
      <filter-id>isRoutable</filter-id>
      <filter-id>hasRelatedRouteStarted</filter-id>
    </action>

    <action id="CANCEL_RELATED_ROUTE" label="label.document.routing.cancel.route" link="#{routingActions.cancelRoute()}" order="10">
      <category>ATTACHED_ROUTE_LIST</category>
      <filter-id>hasRelatedRouteStarted</filter-id>
      <filter-id>isEditableRoute</filter-id>
    </action>

    <action id="SAVE_ATTACHED_ROUTE_AS_NEW_INSTANCE" label="label.document.routing.saveAsNew" link="#{routingActions.saveRouteAsNewInstance()}" order="10">
      <category>ATTACHED_ROUTE_LIST</category>
      <filter-id>hasRelatedRouteStarted</filter-id>
    </action>

    <action id="SAVE_ROUTE_AS_NEW_INSTANCE" label="label.document.routing.saveAsNew" link="#{routingActions.saveRouteAsNewInstance()}" order="10">
      <category>ROUTE_LIST</category>
    </action>

    <action icon="/icons/add.png" id="ADD_STEP_BEFORE" label="command.add.routeelement.before" link="javascript:document.getElementById('selectRouteElementsTypeForCreationForm:hiddenDocOrder').value = 'before';Richfaces.showModalPanel('selectRouteElementsTypePanel');">
      <category>ADD_STEP_ACTIONS_LIST</category>
      <filter-id>isNotRunning</filter-id>
      <filter-id>isEditableRoute</filter-id>
    </action>

    <action icon="/icons/add.png" id="ADD_STEP_AFTER" label="command.add.routeelement.after" link="javascript:document.getElementById('selectRouteElementsTypeForCreationForm:hiddenDocOrder').value = 'after';Richfaces.showModalPanel('selectRouteElementsTypePanel');">
      <category>ADD_STEP_ACTIONS_LIST</category>
      <filter-id>isEditableRoute</filter-id>
    </action>

    <action icon="/icons/add.png" id="ADD_STEP_BETWEEN" label="command.add.routeelement.in" link="javascript:document.getElementById('selectRouteElementsTypeForCreationForm:hiddenDocOrder').value = 'in';Richfaces.showModalPanel('selectRouteElementsTypePanel');">
      <category>ADD_STEP_IN_FORK_ACTIONS_LIST</category>
      <filter-id>isNotRunning</filter-id>
      <filter-id>isEditableRoute</filter-id>
    </action>

    <action icon="/icons/delete.png" id="REMOVE_STEP" label="command.delete" link="#{routingActions.removeStep}">
      <category>REMOVE_STEP_ACTIONS_LIST</category>
      <filter-id>isNotRunning</filter-id>
      <filter-id>isEditableRoute</filter-id>
    </action>

    <action icon="/icons/modify.png" id="UPDATE_STEP" label="command.edit" link="#{routingActions.editStep}">
      <category>EDIT_STEP_ACTIONS_LIST</category>
      <filter-id>isNotRunning</filter-id>
      <filter-id>isEditableRoute</filter-id>
    </action>

    <action icon="/icons/routing_move_up.png" id="MOVE_STEP_UP" label="command.selection.moveUp" link="#{routingActions.moveRouteElement('up')}">
      <category>EDIT_STEP_ACTIONS_LIST</category>
      <filter-id>isNotRunning</filter-id>
      <filter-id>isEditableRoute</filter-id>
    </action>

    <action icon="/icons/routing_move_down.png" id="MOVE_STEP_DOWN" label="command.selection.moveDown" link="#{routingActions.moveRouteElement('down')}">
      <category>EDIT_STEP_ACTIONS_LIST</category>
      <filter-id>isNotRunning</filter-id>
      <filter-id>isEditableRoute</filter-id>
    </action>

  </extension>