Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.ecm.collections.listing--layouts

This contribution is part of XML component org.nuxeo.ecm.collections.listing inside nuxeo-platform-collections-jsf-7.10-HF01.jar /OSGI-INF/collection-layout-listing-contrib.xml

Extension point

Extension point layouts of component WebLayoutManager.

Contributed items

  • <layout name="collections_listing" type="listingTable">
          <properties mode="any">
            <property name="showListingHeader">true</property>
            <property name="showRowEvenOddClass">true</property>
            <property name="display">table</property>
          </properties>
          <columns>
            <column>
              <properties mode="any">
                <property name="isListingSelectionBoxWithCurrentDocument">
                  true
                </property>
                <property name="useFirstWidgetLabelAsColumnHeader">false</property>
                <property name="columnStyleClass">iconColumn</property>
              </properties>
              <properties mode="csv">
                <property name="isHidden">true</property>
              </properties>
              <properties mode="pdf">
                <property name="isHidden">true</property>
              </properties>
              <widget>listing_ajax_selection_box_with_current_document</widget>
            </column>
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">false</property>
                <property name="columnStyleClass">iconColumn</property>
              </properties>
              <widget>listing_icon_type</widget>
            </column>
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
                <property name="sortPropertyName">dc:title</property>
              </properties>
              <widget>listing_title_link</widget>
            </column>
            <column>
              <properties mode="any">
                <property name="columnStyleClass">iconColumn</property>
              </properties>
              <properties mode="csv">
                <property name="isHidden">true</property>
              </properties>
              <properties mode="pdf">
                <property name="isHidden">true</property>
              </properties>
              <widget>listing_lock_icon</widget>
            </column>
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
                <property name="sortPropertyName">dc:modified</property>
              </properties>
              <widget>listing_modification_date</widget>
            </column>
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
                <property name="sortPropertyName">dc:lastContributor</property>
              </properties>
              <widget>listing_last_contributor</widget>
            </column>
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
              </properties>
              <widget>listing_manage_collection</widget>
            </column>
          </columns>
        </layout>

XML source

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

    <layout name="collections_listing" type="listingTable">
      <properties mode="any">
        <property name="showListingHeader">true</property>
        <property name="showRowEvenOddClass">true</property>
        <property name="display">table</property>
      </properties>
      <columns>
        <column>
          <properties mode="any">
            <property name="isListingSelectionBoxWithCurrentDocument">
              true
            </property>
            <property name="useFirstWidgetLabelAsColumnHeader">false</property>
            <property name="columnStyleClass">iconColumn</property>
          </properties>
          <properties mode="csv">
            <property name="isHidden">true</property>
          </properties>
          <properties mode="pdf">
            <property name="isHidden">true</property>
          </properties>
          <widget>listing_ajax_selection_box_with_current_document</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">false</property>
            <property name="columnStyleClass">iconColumn</property>
          </properties>
          <widget>listing_icon_type</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
            <property name="sortPropertyName">dc:title</property>
          </properties>
          <widget>listing_title_link</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="columnStyleClass">iconColumn</property>
          </properties>
          <properties mode="csv">
            <property name="isHidden">true</property>
          </properties>
          <properties mode="pdf">
            <property name="isHidden">true</property>
          </properties>
          <widget>listing_lock_icon</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
            <property name="sortPropertyName">dc:modified</property>
          </properties>
          <widget>listing_modification_date</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
            <property name="sortPropertyName">dc:lastContributor</property>
          </properties>
          <widget>listing_last_contributor</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
          </properties>
          <widget>listing_manage_collection</widget>
        </column>
      </columns>
    </layout>

  </extension>