Platform Explorer / Nuxeo Platform LTS 2017 9.10

Contribution org.nuxeo.ecm.platform.routing.layouts.webapp--layouts

This contribution is part of XML component org.nuxeo.ecm.platform.routing.layouts.webapp inside nuxeo-routing-web-9.10.jar /OSGI-INF/document-routing-layouts-contrib.xml

Extension Point

Extension point layouts of component WebLayoutManager.

Contributed Items

  • <layout name="document_related_route">
          <templates>
            <template mode="any">/layouts/layout_summary_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>document_related_route</widget>
            </row>
          </rows>
        </layout>
  • <layout name="document_routing_instance">
          <templates>
            <template mode="any">/layouts/layout_summary_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>participatingDocuments</widget>
            </row>
          </rows>
        </layout>
  • <layout name="step_folder">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>execution_type</widget>
            </row>
          </rows>
        </layout>
  • <layout name="conditional_step_folder">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>conditional_step_value</widget>
            </row>
          </rows>
        </layout>
  • <layout name="summary_document_route_layout">
          <templates>
            <template mode="any">/layouts/layout_summary_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>summary_current_document_description</widget>
              <widget>summary_current_document_view</widget>
              <widget>summary_current_document_dublincore</widget>
            </row>
            <row>
              <widget>summary_current_document_lc_and_version</widget>
              <widget>summary_current_route_actions_lock</widget>
            </row>
          </rows>
        </layout>
  • <layout name="summary_document_route_action">
          <templates>
            <template mode="any">/layouts/layout_summary_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>summary_document_route_action</widget>
            </row>
          </rows>
        </layout>
  • <layout name="document_route_header">
          <!--@since 5.7.1 -->
          <templates>
            <template mode="any">/layouts/layout_div_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <widget>header_title_and_permlink_localized</widget>
            </row>
            <row>
              <widget>header_description</widget>
            </row>
          </rows>
        </layout>
  • <layout name="document_route_models_listing_ajax">
          <!--@since 5.7.1 -->
          <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>
          </templates>
          <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_localized</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="columnStyleClass">iconColumn</property>
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
                <property name="isSortable">false</property>
              </properties>
              <widget>listing_version</widget>
            </column>
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
                <property name="sortPropertyName">
                  ecm:currentLifeCycleState
                </property>
              </properties>
              <widget>listing_lifecycle</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_livedit_link</widget>
            </column>
          </columns>
        </layout>

XML Source

<extension point="layouts" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    <layout name="document_related_route">
      <templates>
        <template mode="any">/layouts/layout_summary_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>document_related_route</widget>
        </row>
      </rows>
    </layout>
    <layout name="document_routing_instance">
      <templates>
        <template mode="any">/layouts/layout_summary_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>participatingDocuments</widget>
        </row>
      </rows>
    </layout>

    <layout name="step_folder">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>execution_type</widget>
        </row>
      </rows>
    </layout>

    <!--@deprecated since 5.9.2, use only routes of type 'graph'  -->
    <layout name="conditional_step_folder">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>conditional_step_value</widget>
        </row>
      </rows>
    </layout>

    <layout name="summary_document_route_layout">
      <templates>
        <template mode="any">/layouts/layout_summary_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>summary_current_document_description</widget>
          <widget>summary_current_document_view</widget>
          <widget>summary_current_document_dublincore</widget>
        </row>
        <row>
          <widget>summary_current_document_lc_and_version</widget>
          <widget>summary_current_route_actions_lock</widget>
        </row>
      </rows>
    </layout>

    <layout name="summary_document_route_action">
      <templates>
        <template mode="any">/layouts/layout_summary_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>summary_document_route_action</widget>
        </row>
      </rows>
    </layout>
    
    <layout name="document_route_header">
      <!--@since 5.7.1 -->
      <templates>
        <template mode="any">/layouts/layout_div_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <widget>header_title_and_permlink_localized</widget>
        </row>
        <row>
          <widget>header_description</widget>
        </row>
      </rows>
    </layout>
    
    <layout name="document_route_models_listing_ajax">
      <!--@since 5.7.1 -->
      <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>
      </templates>
      <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_localized</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="columnStyleClass">iconColumn</property>
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
            <property name="isSortable">false</property>
          </properties>
          <widget>listing_version</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
            <property name="sortPropertyName">
              ecm:currentLifeCycleState
            </property>
          </properties>
          <widget>listing_lifecycle</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_livedit_link</widget>
        </column>
      </columns>
    </layout>
  </extension>