Platform Explorer / Nuxeo Platform 5.6

Component org.nuxeo.dam.URLService

Services

Extension points

Contributions

XML source

<?xml version="1.0" encoding="UTF-8"?>
<component name="org.nuxeo.dam.URLService">

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

  <documentation>
    Contributions for DAM basic rest navigation through the application.

    @version 1.0
    @author Benjamin JALON (bjalon@nuxeo.com)
  </documentation>

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

    <documentation>
      Nuxeo DAM url pattern.
    </documentation>

    <urlPattern name="dam" enabled="true">
      <defaultURLPolicy>false</defaultURLPolicy>
      <needBaseURL>true</needBaseURL>
      <needRedirectFilter>true</needRedirectFilter>
      <needFilterPreprocessing>true</needFilterPreprocessing>
      <codecName>docpathdam</codecName>
      <actionBinding>#{restHelper.initContextFromRestRequest}</actionBinding>
      <documentViewBindingApplies>
        #{mainTabsActions.isOnMainTab('dam')}
      </documentViewBindingApplies>
      <documentViewBinding>#{restHelper.documentView}</documentViewBinding>
      <newDocumentViewBinding>
        #{restHelper.getNewDocumentView(null)}
      </newDocumentViewBinding>
      <bindings>
        <binding name="tabIds">#{webActions.currentTabIds}</binding>
        <binding name="language" callGetter="false">
          #{restHelper.localeString}
        </binding>
      </bindings>
    </urlPattern>

  </extension>

  <extension
    target="org.nuxeo.ecm.platform.url.service.DocumentViewCodecService"
    point="codecs">

    <documentViewCodec name="docpathdam" enabled="true" default="false"
      prefix="nxdam"
      class="org.nuxeo.ecm.platform.url.codec.DocumentPathCodec" />

  </extension>

</component>

Documentation

Contributions for DAM basic rest navigation through the application.

@version 1.0