Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.ecm.collaboration.urlservice--urlpatterns

This contribution is part of XML component org.nuxeo.ecm.collaboration.urlservice inside nuxeo-social-workspace-web-5.6.jar

Extension point

Extension point urlpatterns of component URLService.

Contributed items

  • <urlPattern enabled="true" name="collaboration">
          <defaultURLPolicy>false</defaultURLPolicy>
          <needBaseURL>true</needBaseURL>
          <needRedirectFilter>true</needRedirectFilter>
          <needFilterPreprocessing>true</needFilterPreprocessing>
          <codecName>doccollaboration</codecName>
          <actionBinding>#{restHelper.initContextFromRestRequest}</actionBinding>
          <documentViewBindingApplies>
            #{mainTabsActions.isOnMainTab('collaboration')}
          </documentViewBindingApplies>
          <documentViewBinding>#{restHelper.documentView}</documentViewBinding>
          <newDocumentViewBinding>
            #{restHelper.getNewDocumentView(null)}
          </newDocumentViewBinding>
          <bindings>
            <binding callGetter="false" name="tabId">
              #{webActions.currentTabId}
            </binding>
            <binding callGetter="false" name="subTabId">
              #{webActions.currentSubTabId}
            </binding>
            <binding name="tabIds">#{socialWorkspaceActions.collaborationMainTab}</binding>
            <binding callGetter="false" name="language">
              #{restHelper.localeString}
            </binding>
          </bindings>
        </urlPattern>

XML source

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

    <urlPattern enabled="true" name="collaboration">
      <defaultURLPolicy>false</defaultURLPolicy>
      <needBaseURL>true</needBaseURL>
      <needRedirectFilter>true</needRedirectFilter>
      <needFilterPreprocessing>true</needFilterPreprocessing>
      <codecName>doccollaboration</codecName>
      <actionBinding>#{restHelper.initContextFromRestRequest}</actionBinding>
      <documentViewBindingApplies>
        #{mainTabsActions.isOnMainTab('collaboration')}
      </documentViewBindingApplies>
      <documentViewBinding>#{restHelper.documentView}</documentViewBinding>
      <newDocumentViewBinding>
        #{restHelper.getNewDocumentView(null)}
      </newDocumentViewBinding>
      <bindings>
        <binding callGetter="false" name="tabId">
          #{webActions.currentTabId}
        </binding>
        <binding callGetter="false" name="subTabId">
          #{webActions.currentSubTabId}
        </binding>
        <binding name="tabIds">#{socialWorkspaceActions.collaborationMainTab}</binding>
        <binding callGetter="false" name="language">
          #{restHelper.localeString}
        </binding>
      </bindings>
    </urlPattern>

  </extension>