Platform Explorer / Nuxeo Platform 9.2

Contribution org.nuxeo.ecm.platform.rendition.search.layouts.contrib--layouts

This contribution is part of XML component org.nuxeo.ecm.platform.rendition.search.layouts.contrib inside nuxeo-platform-rendition-web-9.2.jar /OSGI-INF/search-layouts-contrib.xml

Extension Point

Extension point layouts of component WebLayoutManager.

Contributed Items

  • <layout name="stored_rendition_search">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <widget>stored_rendition_search_title</widget>
            </row>
            <row>
              <widget>stored_rendition_search_creation_min</widget>
              <widget>stored_rendition_search_creation_max</widget>
            </row>
            <row>
              <widget>stored_rendition_search_source_modification_min</widget>
              <widget>stored_rendition_search_source_modification_max</widget>
            </row>
            <row>
              <widget>stored_rendition_search_rendition_name</widget>
            </row>
            <row>
              <widget>stored_rendition_search_rendition_variant</widget>
            </row>
          </rows>
        </layout>
  • <layout name="renditions_listing" type="listingTable">
          <columns>
            <column alwaysSelected="true" name="selection">
              <properties>
                <property name="isListingSelectionBoxWithCurrentDocument">true</property>
                <property name="useFirstWidgetLabelAsColumnHeader">false</property>
                <property name="columnStyleClass">iconColumn</property>
                <property name="label">label.selection.column.checkbox</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 name="icon_type">
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">false</property>
                <property name="columnStyleClass">iconColumn</property>
                <property name="label">label.selection.column.icon_type</property>
              </properties>
              <widget>listing_icon_type</widget>
            </column>
            <column name="title_link" selectedByDefault="true">
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
                <property name="sortPropertyName">dc:title</property>
                <property name="label">label.selection.column.title_link</property>
              </properties>
              <widget>listing_rendition_title_link</widget>
            </column>
            <column name="rendition_source_title_link" selectedByDefault="true">
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
                <property name="label">label.rendition.source_title_link</property>
              </properties>
              <widget>listing_rendition_source_title_link</widget>
            </column>
            <column name="rendition_source_modification_date" selectedByDefault="true">
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
                <property name="label">label.rendition.sourceModificationDate</property>
              </properties>
              <widget>listing_rendition_source_modification_date</widget>
            </column>
            <column name="rendition_name" selectedByDefault="true">
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
                <property name="label">label.rendition.renditionName</property>
              </properties>
              <widget>listing_rendition_name</widget>
            </column>
            <column name="rendition_variant" selectedByDefault="true">
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
                <property name="label">label.rendition.renditionVariant</property>
              </properties>
              <widget>listing_rendition_variant</widget>
            </column>
          </columns>
        </layout>

XML Source

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

    <layout name="stored_rendition_search">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <widget>stored_rendition_search_title</widget>
        </row>
        <row>
          <widget>stored_rendition_search_creation_min</widget>
          <widget>stored_rendition_search_creation_max</widget>
        </row>
        <row>
          <widget>stored_rendition_search_source_modification_min</widget>
          <widget>stored_rendition_search_source_modification_max</widget>
        </row>
        <row>
          <widget>stored_rendition_search_rendition_name</widget>
        </row>
        <row>
          <widget>stored_rendition_search_rendition_variant</widget>
        </row>
      </rows>
    </layout>

    <layout name="renditions_listing" type="listingTable">
      <columns>
        <column alwaysSelected="true" name="selection">
          <properties>
            <property name="isListingSelectionBoxWithCurrentDocument">true</property>
            <property name="useFirstWidgetLabelAsColumnHeader">false</property>
            <property name="columnStyleClass">iconColumn</property>
            <property name="label">label.selection.column.checkbox</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 name="icon_type">
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">false</property>
            <property name="columnStyleClass">iconColumn</property>
            <property name="label">label.selection.column.icon_type</property>
          </properties>
          <widget>listing_icon_type</widget>
        </column>
        <column name="title_link" selectedByDefault="true">
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
            <property name="sortPropertyName">dc:title</property>
            <property name="label">label.selection.column.title_link</property>
          </properties>
          <widget>listing_rendition_title_link</widget>
        </column>
        <column name="rendition_source_title_link" selectedByDefault="true">
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
            <property name="label">label.rendition.source_title_link</property>
          </properties>
          <widget>listing_rendition_source_title_link</widget>
        </column>
        <column name="rendition_source_modification_date" selectedByDefault="true">
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
            <property name="label">label.rendition.sourceModificationDate</property>
          </properties>
          <widget>listing_rendition_source_modification_date</widget>
        </column>
        <column name="rendition_name" selectedByDefault="true">
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
            <property name="label">label.rendition.renditionName</property>
          </properties>
          <widget>listing_rendition_name</widget>
        </column>
        <column name="rendition_variant" selectedByDefault="true">
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
            <property name="label">label.rendition.renditionVariant</property>
          </properties>
          <widget>listing_rendition_variant</widget>
        </column>
      </columns>
    </layout>

  </extension>