Platform Explorer / Nuxeo Platform LTS 2017 9.10

Extension point contextExtension

Documentation

Extension allowing to register a new ContentExtensionFactory that will be used to add custom objects inside the rendering context.

Contribution Descriptors

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-template-rendering-core-9.10.jar /OSGI-INF/templateprocessor-contrib.xml
    <extension point="contextExtension" target="org.nuxeo.template.service.TemplateProcessorComponent">
    
        <documentation>Adds Repository features in the context
          <ul>
            <li>core.getParent()</li>
            <li>core.getChildren()</li>
          </ul>
        </documentation>
    
        <contextFactory class="org.nuxeo.template.context.extensions.CoreExtensionFactory" name="core">
        </contextFactory>
    
      </extension>
  • nuxeo-template-rendering-jaxrs-9.10.jar /OSGI-INF/templateprocessor-contrib.xml
    <extension point="contextExtension" target="org.nuxeo.template.service.TemplateProcessorComponent">
    
        <documentation>Adds helper function to manage REST resources urls
          <ul>
            <li>jaxrs.getResourceUrl(resourceName)</li>
          </ul>
        </documentation>
    
        <contextFactory class="org.nuxeo.template.jaxrs.context.ExtensionFactory" name="jaxrs">
        </contextFactory>
    
      </extension>