Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.ecm.platform.rendition.codec--urlpatterns

This contribution is part of XML component org.nuxeo.ecm.platform.rendition.codec inside nuxeo-platform-rendition-web-7.10.jar /OSGI-INF/url-codec-contrib.xml

Url pattern JSF bindings to access renditions

Extension point

Extension point urlpatterns of component URLService.

Contributed items

  • <urlPattern enabled="true" name="rendition">
          <defaultURLPolicy>false</defaultURLPolicy>
          <needBaseURL>true</needBaseURL>
          <needRedirectFilter>false</needRedirectFilter>
          <needFilterPreprocessing>true</needFilterPreprocessing>
          <codecName>rendition</codecName>
          <actionBinding>#{renditionRestHelper.render}</actionBinding>
          <documentViewBinding>#{restHelper.documentView}</documentViewBinding>
          <newDocumentViewBinding>#{restHelper.newDocumentView}
          </newDocumentViewBinding>
        </urlPattern>

XML source

<extension point="urlpatterns" target="org.nuxeo.ecm.platform.ui.web.rest.URLService">
    <documentation>
      Url pattern JSF bindings to access renditions
    </documentation>

    <urlPattern enabled="true" name="rendition">
      <defaultURLPolicy>false</defaultURLPolicy>
      <needBaseURL>true</needBaseURL>
      <needRedirectFilter>false</needRedirectFilter>
      <needFilterPreprocessing>true</needFilterPreprocessing>
      <codecName>rendition</codecName>
      <actionBinding>#{renditionRestHelper.render}</actionBinding>
      <documentViewBinding>#{restHelper.documentView}</documentViewBinding>
      <newDocumentViewBinding>#{restHelper.newDocumentView}
      </newDocumentViewBinding>
    </urlPattern>

  </extension>