Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.ecm.webapp.layouts.users.contrib--layouts

This contribution is part of XML component org.nuxeo.ecm.webapp.layouts.users.contrib inside nuxeo-platform-webapp-base-5.6.jar

Extension point

Extension point layouts of component WebLayoutManager.

Contributed items

  • <layout name="users_listing">
          <templates>
            <template mode="any">
              /layouts/layout_listing_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>
          </properties>
          <columns>
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
              </properties>
              <widget>listing_userName</widget>
            </column>
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
              </properties>
              <widget>listing_firstName</widget>
            </column>
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
              </properties>
              <widget>listing_lastName</widget>
            </column>
          </columns>
        </layout>
  • <layout name="groups_listing">
          <templates>
            <template mode="any">
              /layouts/layout_listing_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>
          </properties>
          <columns>
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
              </properties>
              <widget>listing_groupName</widget>
            </column>
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
              </properties>
              <widget>listing_groupLabel</widget>
            </column>
          </columns>
        </layout>

XML source

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

    <layout name="users_listing">
      <templates>
        <template mode="any">
          /layouts/layout_listing_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>
      </properties>
      <columns>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
          </properties>
          <widget>listing_userName</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
          </properties>
          <widget>listing_firstName</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
          </properties>
          <widget>listing_lastName</widget>
        </column>
      </columns>
    </layout>

    <layout name="groups_listing">
      <templates>
        <template mode="any">
          /layouts/layout_listing_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>
      </properties>
      <columns>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
          </properties>
          <widget>listing_groupName</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
          </properties>
          <widget>listing_groupLabel</widget>
        </column>
      </columns>
    </layout>

  </extension>