Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.ecm.virtualnavigation.directory.DirectoryTreeService.contrib--trees

This contribution is part of XML component org.nuxeo.ecm.virtualnavigation.directory.DirectoryTreeService.contrib inside nuxeo-platform-virtualnavigation-web-5.6.jar

Extension point

Extension point trees of component DirectoryTreeService.

Contributed items

  • <directoryTree contentView="bySubjectsContentView" field="subjects" label="base.navigation.subjects" name="bySubjectsNavigation" outcome="subjects_virtual_navigation" schema="querynav">
          <directory>topic</directory>
          <directory>subtopic</directory>
        </directoryTree>
  • <directoryTree contentView="byCoverageContentView" field="coverage" label="base.navigation.coverage" name="byCoverageNavigation" outcome="coverage_virtual_navigation" schema="querynav">
          <directory>continent</directory>
          <directory>country</directory>
        </directoryTree>

XML source

<extension point="trees" target="org.nuxeo.ecm.webapp.directory.DirectoryTreeService">

    <directoryTree contentView="bySubjectsContentView" field="subjects" label="base.navigation.subjects" name="bySubjectsNavigation" outcome="subjects_virtual_navigation" schema="querynav">
      <directory>topic</directory>
      <directory>subtopic</directory>
    </directoryTree>

    <directoryTree contentView="byCoverageContentView" field="coverage" label="base.navigation.coverage" name="byCoverageNavigation" outcome="coverage_virtual_navigation" schema="querynav">
      <directory>continent</directory>
      <directory>country</directory>
    </directoryTree>

  </extension>