Platform Explorer / Nuxeo Platform 9.2

Contribution org.nuxeo.platform.TemplateSources.jaxrs.types.contrib--types

This contribution is part of XML component org.nuxeo.platform.TemplateSources.jaxrs.types.contrib inside nuxeo-template-rendering-jaxrs-9.2.jar /OSGI-INF/types-contrib.xml

Extension Point

Extension point types of component TypeService.

Contributed Items

  • <type coretype="WebTemplateSource" id="WebTemplateSource">
          <label>WebTemplateSource</label>
          <icon>/icons/webtemplate.png</icon>
          <bigIcon>/icons/webtemplate_100.png</bigIcon>
          <default-view>view_documents</default-view>
          <category>SimpleDocument</category>
          <layouts mode="create">
            <layout>heading</layout>
            <layout>templateOptionsWizard</layout>
            <layout>templateOptions</layout>
            <layout>note</layout>
          </layouts>
          <layouts mode="view">
            <layout>heading</layout>
            <layout>note</layout>
            <layout>templateOptions</layout>
            <layout>templateParams</layout>
            <layout>linkedTemplateBasedDocs</layout>
          </layouts>
          <layouts mode="edit">
            <layout>heading</layout>
            <layout>note</layout>
          </layouts>
        </type>

XML Source

<extension point="types" target="org.nuxeo.ecm.platform.types.TypeService">

    <type coretype="WebTemplateSource" id="WebTemplateSource">
      <label>WebTemplateSource</label>
      <icon>/icons/webtemplate.png</icon>
      <bigIcon>/icons/webtemplate_100.png</bigIcon>
      <default-view>view_documents</default-view>
      <category>SimpleDocument</category>
      <layouts mode="create">
        <layout>heading</layout>
        <layout>templateOptionsWizard</layout>
        <layout>templateOptions</layout>
        <layout>note</layout>
      </layouts>
      <layouts mode="view">
        <layout>heading</layout>
        <layout>note</layout>
        <layout>templateOptions</layout>
        <layout>templateParams</layout>
        <layout>linkedTemplateBasedDocs</layout>
      </layouts>
      <layouts mode="edit">
        <layout>heading</layout>
        <layout>note</layout>
      </layouts>
    </type>

  </extension>