Platform Explorer / CMF 1.8

Component org.nuxeo.cm.URLService.contrib

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.cm.URLService.contrib">

  <require>org.nuxeo.ecm.platform.ui.web.rest.URLService.contrib</require>

  <extension target="org.nuxeo.ecm.platform.ui.web.rest.URLService"
    point="urlpatterns">

    <documentation>
      Override default document view to provide currentEmail info
    </documentation>

    <!-- override: component does not implement merging -->
    <urlPattern name="default" enabled="false" />

    <urlPattern name="cm" enabled="true">
      <defaultURLPolicy>true</defaultURLPolicy>
      <needBaseURL>true</needBaseURL>
      <needRedirectFilter>true</needRedirectFilter>
      <needFilterPreprocessing>true</needFilterPreprocessing>
      <codecName>docpath</codecName>
      <actionBinding>#{restHelper.initContextFromRestRequest}</actionBinding>
      <documentViewBinding>#{restHelper.documentView}</documentViewBinding>
      <newDocumentViewBinding>
        #{restHelper.newDocumentView}
      </newDocumentViewBinding>
      <bindings>
        <binding name="tabId">#{webActions.currentTabId}</binding>
        <binding name="subTabId">#{webActions.currentSubTabId}</binding>
        <binding name="currentCaseItemId">#{cmContextActions.currentCaseItemId}</binding>
        <binding name="tabIds">#{webActions.currentTabIds}</binding>
      </bindings>
    </urlPattern>

  </extension>

</component>