Platform Explorer / Nuxeo Platform 6.0

Extension point standalone-filters

Documentation

Extension Point for registering Standalone Filters.

The XML syntax is:

    <standalone-filter name="filter name">
        <engine>engine name</engine>
        <class>org.nuxeo.theme.filters.FilterClass</class>
    </standalone-filter>

where: - 'engine' is the name of the Engine for which the Filter will be applied. (Optional) - 'class' is the Java class extending org.nuxeo.theme.rendering.StandaloneFilter

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-theme-html-6.0.jar
    <extension point="standalone-filters" target="org.nuxeo.theme.services.ThemeService">
    
        <standalone-filter name="collect xmlns">
          <class>
            org.nuxeo.theme.html.filters.standalone.XmlNamespaces
          </class>
        </standalone-filter>
    
        <standalone-filter name="control fragment visibility">
          <class>
            org.nuxeo.theme.html.filters.standalone.FragmentVisibility
          </class>
        </standalone-filter>
      </extension>
  • nuxeo-theme-webengine-6.0.jar
    <extension point="standalone-filters" target="org.nuxeo.theme.services.ThemeService">
    
        <standalone-filter name="write fragment tag" template-engine="freemarker">
          <class>
            org.nuxeo.theme.webengine.fm.filters.standalone.FragmentTag
          </class>
        </standalone-filter>
    
        <standalone-filter name="control fragment visibility" template-engine="freemarker">
          <class>
            org.nuxeo.theme.html.filters.standalone.FragmentVisibility
          </class>
        </standalone-filter>
    
        <standalone-filter name="set element name" template-engine="freemarker">
          <class>
            org.nuxeo.theme.html.filters.standalone.ElementName
          </class>
        </standalone-filter>
    
      </extension>
  • nuxeo-theme-jsf-6.0.jar
    <extension point="standalone-filters" target="org.nuxeo.theme.services.ThemeService">
    
        <standalone-filter name="write fragment tag" template-engine="jsf-facelets">
          <class>
            org.nuxeo.theme.jsf.filters.standalone.FragmentTag
          </class>
        </standalone-filter>
    
        <standalone-filter name="collect xmlns" template-engine="jsf-facelets">
          <class>
            org.nuxeo.theme.html.filters.standalone.XmlNamespaces
          </class>
        </standalone-filter>
    
        <standalone-filter name="control fragment visibility" template-engine="jsf-facelets">
          <class>
            org.nuxeo.theme.html.filters.standalone.FragmentVisibility
          </class>
        </standalone-filter>
    
        <standalone-filter name="set element name" template-engine="jsf-facelets">
          <class>
            org.nuxeo.theme.html.filters.standalone.ElementName
          </class>
        </standalone-filter>
    
      </extension>