Platform Explorer / Nuxeo Platform LTS 2019 10.10

Contribution org.nuxeo.ecm.platform.forms.layouts.webapp.types--layouttypes

This contribution is part of XML component org.nuxeo.ecm.platform.forms.layouts.webapp.types inside nuxeo-platform-webapp-base-10.10-HF33.jar /OSGI-INF/layouttypes-contrib.xml

Extension Point

Extension point layouttypes of component WebLayoutManager.

Registration Order

1
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

  • <layoutType name="listingTable">
          <templates>
            <template mode="any">
              /layouts/layout_listing_ajax_template.xhtml
            </template>
            <template mode="csv">
              /layouts/layout_listing_csv_template.xhtml
            </template>
            <template mode="pdf">
              /layouts/layout_listing_pdf_template.xhtml
            </template>
            <template mode="edit_columns">
              /layouts/layout_column_selection_template.xhtml
            </template>
            <template mode="edit_sort_infos">
              /layouts/layout_sort_infos_template.xhtml
            </template>
            <template mode="edit_sort_infos_map">
              /layouts/layout_sort_infos_template.xhtml
            </template>
          </templates>
          <configuration>
            <title>Layout listing displayed as table.</title>
            <properties>
              <defaultValues mode="any">
                <property name="showListingHeader">true</property>
                <property name="showRowEvenOddClass">true</property>
              </defaultValues>
            </properties>
          </configuration>
        </layoutType>
  • <layoutType name="listingThumbnail">
          <templates>
            <template mode="any">
              /layouts/layout_listing_thumbnail_template.xhtml
            </template>
            <template mode="csv">
              /layouts/layout_listing_csv_template.xhtml
            </template>
            <template mode="pdf">
              /layouts/layout_listing_pdf_template.xhtml
            </template>
            <template mode="edit_columns">
              /layouts/layout_column_selection_template.xhtml
            </template>
            <template mode="edit_sort_infos">
              /layouts/layout_sort_infos_template.xhtml
            </template>
            <template mode="edit_sort_infos_map">
              /layouts/layout_sort_infos_template.xhtml
            </template>
          </templates>
          <configuration>
            <title>Layout listing displayed as thumbnail.</title>
            <description>
              <p>This layout type displays the layout in a box style using another layout for the box heading.</p>
            </description>
            <properties>
              <defaultValues mode="any">
                <property name="display">block</property>
                <property name="thumbnailHeaderLayout">listing_thumbnail_header</property>
                <property name="before_template">/layouts/layout_listing_thumbnail_infoview.xhtml</property>
              </defaultValues>
            </properties>
          </configuration>
        </layoutType>

XML Source

<extension point="layouttypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <layoutType name="listingTable">
      <templates>
        <template mode="any">
          /layouts/layout_listing_ajax_template.xhtml
        </template>
        <template mode="csv">
          /layouts/layout_listing_csv_template.xhtml
        </template>
        <template mode="pdf">
          /layouts/layout_listing_pdf_template.xhtml
        </template>
        <template mode="edit_columns">
          /layouts/layout_column_selection_template.xhtml
        </template>
        <template mode="edit_sort_infos">
          /layouts/layout_sort_infos_template.xhtml
        </template>
        <template mode="edit_sort_infos_map">
          /layouts/layout_sort_infos_template.xhtml
        </template>
      </templates>
      <configuration>
        <title>Layout listing displayed as table.</title>
        <properties>
          <defaultValues mode="any">
            <property name="showListingHeader">true</property>
            <property name="showRowEvenOddClass">true</property>
          </defaultValues>
        </properties>
      </configuration>
    </layoutType>

    <layoutType name="listingThumbnail">
      <templates>
        <template mode="any">
          /layouts/layout_listing_thumbnail_template.xhtml
        </template>
        <template mode="csv">
          /layouts/layout_listing_csv_template.xhtml
        </template>
        <template mode="pdf">
          /layouts/layout_listing_pdf_template.xhtml
        </template>
        <template mode="edit_columns">
          /layouts/layout_column_selection_template.xhtml
        </template>
        <template mode="edit_sort_infos">
          /layouts/layout_sort_infos_template.xhtml
        </template>
        <template mode="edit_sort_infos_map">
          /layouts/layout_sort_infos_template.xhtml
        </template>
      </templates>
      <configuration>
        <title>Layout listing displayed as thumbnail.</title>
        <description>
          <p>This layout type displays the layout in a box style using another layout for the box heading.</p>
        </description>
        <properties>
          <defaultValues mode="any">
            <property name="display">block</property>
            <property name="thumbnailHeaderLayout">listing_thumbnail_header</property>
            <property name="before_template">/layouts/layout_listing_thumbnail_infoview.xhtml</property>
          </defaultValues>
        </properties>
      </configuration>
    </layoutType>

  </extension>