Platform Explorer / Nuxeo Platform LTS 2019 10.10

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

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

Extension Point

Extension point types of component TypeService.

Registration Order

14
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <type coretype="TemplateSource" id="TemplateSource">
          <label>TemplateSource</label>
          <icon>/icons/sourcetemplate.png</icon>
          <bigIcon>/icons/sourcetemplate_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>fileWithoutTemplate</layout>
          </layouts>
          <layouts mode="view">
            <layout>heading</layout>
            <layout>templateOptions</layout>
            <layout>templateParams</layout>
          </layouts>
          <layouts mode="edit">
            <layout>heading</layout>
            <!-- <layout>templateOptions</layout>  -->
            <layout>fileWithoutTemplate</layout>
          </layouts>
        </type>

XML Source

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

    <type coretype="TemplateSource" id="TemplateSource">
      <label>TemplateSource</label>
      <icon>/icons/sourcetemplate.png</icon>
      <bigIcon>/icons/sourcetemplate_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>fileWithoutTemplate</layout>
      </layouts>
      <layouts mode="view">
        <layout>heading</layout>
        <layout>templateOptions</layout>
        <layout>templateParams</layout>
      </layouts>
      <layouts mode="edit">
        <layout>heading</layout>
        <!-- <layout>templateOptions</layout>  -->
        <layout>fileWithoutTemplate</layout>
      </layouts>
    </type>

  </extension>