Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution studio.extensions.easyshare--layouts

This contribution is part of XML component studio.extensions.easyshare inside nuxeo-easyshare-7.10-HF02.jar /OSGI-INF/extensions.xml

Extension point

Extension point layouts of component WebLayoutManager.

Contributed items

  • <layout name="layout@EasyShareFolder-edit">
          <templates>
            <template mode="any">/layouts/easyshare_layout_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget>title</widget>
            </row>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget>description</widget>
            </row>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget>expired</widget>
            </row>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget>hasNotification</widget>
            </row>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget>contactEmail</widget>
            </row>
          </rows>
          <widget name="title" type="text">
            <labels>
              <label mode="any">label.dublincore.title</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>dc:title</field>
            </fields>
            <properties widgetMode="edit">
              <property name="styleClass">dataInputText</property>
              <property name="required">true</property>
            </properties>
          </widget>
          <widget name="description" type="textarea">
            <labels>
              <label mode="any">label.dublincore.description</label>
            </labels>
            <helpLabels>
              <label mode="any">label.eshare.description.help</label>
            </helpLabels>
            <translated>true</translated>
            <fields>
              <field>dc:description</field>
            </fields>
            <properties widgetMode="edit">
              <property name="styleClass">dataInputText</property>
            </properties>
          </widget>
          <widget name="expired" type="datetime">
            <labels>
              <label mode="any">label.dublincore.expirationDate</label>
            </labels>
            <helpLabels>
              <label mode="any">label.eshare.expirationDate.help</label>
            </helpLabels>
            <translated>true</translated>
            <fields>
              <field>dc:expired</field>
            </fields>
            <properties widgetMode="edit">
              <property name="required">true</property>
            </properties>
          </widget>
          <widget name="hasNotification" type="checkbox">
            <labels>
              <label mode="any">label.eshare.hasNotification</label>
            </labels>
            <helpLabels>
              <label mode="any">label.eshare.hasNotification.help</label>
            </helpLabels>
            <translated>true</translated>
            <fields>
              <field>eshare:hasNotification</field>
            </fields>
          </widget>
          <widget name="contactEmail" type="text">
            <labels>
              <label mode="any">label.eshare.contactEmail</label>
            </labels>
            <helpLabels>
              <label mode="any">label.eshare.contactEmail.help</label>
            </helpLabels>
            <translated>true</translated>
            <fields>
              <field>eshare:contactEmail</field>
            </fields>
            <properties widgetMode="any">
              <property name="defaultValue">
                #{currentUser.getEmail()}
              </property>
            </properties>
          </widget>
        </layout>
  • <layout name="layout@EasyShareFolder-view">
          <templates>
            <template mode="any">/layouts/easyshare_layout_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget>title_and_permlink</widget>
            </row>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget>description</widget>
            </row>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget>expired</widget>
            </row>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget>hasNotification</widget>
            </row>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget>contactEmail</widget>
            </row>
          </rows>
          <widget name="title_and_permlink" type="title_and_permlink">
            <labels>
              <label mode="any">label.eshare.title.permlink</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field/>
              <field>uid:major_version</field>
              <field>uid:minor_version</field>
            </fields>
          </widget>
          <widget name="description" type="textarea">
            <labels>
              <label mode="any">label.dublincore.description</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>dc:description</field>
            </fields>
          </widget>
          <widget name="expired" type="datetime">
            <labels>
              <label mode="any">label.dublincore.expirationDate</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>dc:expired</field>
            </fields>
          </widget>
          <widget name="hasNotfication" type="checkbox">
            <labels>
              <label mode="any">label.eshare.hasNotfication</label>
            </labels>
            <helpLabels>
              <label mode="any">label.eshare.hasNotification.help</label>
            </helpLabels>
            <translated>true</translated>
            <fields>
              <field>eshare:hasNotfication</field>
            </fields>
          </widget>
          <widget name="contactEmail" type="text">
            <labels>
              <label mode="any">label.eshare.contactEmail</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>eshare:contactEmail</field>
            </fields>
          </widget>
        </layout>
  • <layout name="layout@EasyShareFolder-header">
          <templates>
            <template mode="any">/layouts/layout_div_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">3</property>
              </properties>
              <widget>header_title_and_permlink</widget>
            </row>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">3</property>
              </properties>
              <widget>collection_header_description</widget>
            </row>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
                <property name="nxl_colspan_1">1</property>
                <property name="nxl_colspan_2">1</property>
              </properties>
              <widget>creator</widget>
              <widget>expired</widget>
              <widget>contactEmail</widget>
            </row>
          </rows>
          <widget name="collection_header_description" type="textarea">
            <fields>
              <field>dc:description</field>
            </fields>
            <labels>
              <label mode="any"/>
            </labels>
            <properties mode="any">
              <property name="styleClass">
                currentDocumentDescription quote
              </property>
            </properties>
          </widget>
          <widget name="creator" type="text">
            <labels>
              <label mode="any">label.dublincore.creator</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>dc:creator</field>
            </fields>
            <properties widgetMode="view">
              <property name="title">Creator</property>
              <property name="styleClass">detail user headerCreator</property>
            </properties>
          </widget>
          <widget name="expired" type="datetime">
            <labels>
              <label mode="any">label.dublincore.expirationDate</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>dc:expired</field>
            </fields>
            <properties widgetMode="view">
              <property name="title">Expiration Date</property>
              <property name="styleClass">tag label label-light headerExpiration</property>
            </properties>
          </widget>
          <widget name="contactEmail" type="text">
            <labels>
              <label mode="any">label.eshare.contactEmail</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>eshare:contactEmail</field>
            </fields>
            <properties widgetMode="view">
              <property name="title">Creator's Email</property>
              <property name="styleClass">detail tag headerEmail</property>
            </properties>
          </widget>
        </layout>

XML source

<extension point="layouts" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    <layout name="layout@EasyShareFolder-edit">
      <templates>
        <template mode="any">/layouts/easyshare_layout_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>title</widget>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>description</widget>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>expired</widget>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>hasNotification</widget>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>contactEmail</widget>
        </row>
      </rows>
      <widget name="title" type="text">
        <labels>
          <label mode="any">label.dublincore.title</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>dc:title</field>
        </fields>
        <properties widgetMode="edit">
          <property name="styleClass">dataInputText</property>
          <property name="required">true</property>
        </properties>
      </widget>
      <widget name="description" type="textarea">
        <labels>
          <label mode="any">label.dublincore.description</label>
        </labels>
        <helpLabels>
          <label mode="any">label.eshare.description.help</label>
        </helpLabels>
        <translated>true</translated>
        <fields>
          <field>dc:description</field>
        </fields>
        <properties widgetMode="edit">
          <property name="styleClass">dataInputText</property>
        </properties>
      </widget>
      <widget name="expired" type="datetime">
        <labels>
          <label mode="any">label.dublincore.expirationDate</label>
        </labels>
        <helpLabels>
          <label mode="any">label.eshare.expirationDate.help</label>
        </helpLabels>
        <translated>true</translated>
        <fields>
          <field>dc:expired</field>
        </fields>
        <properties widgetMode="edit">
          <property name="required">true</property>
        </properties>
      </widget>
      <widget name="hasNotification" type="checkbox">
        <labels>
          <label mode="any">label.eshare.hasNotification</label>
        </labels>
        <helpLabels>
          <label mode="any">label.eshare.hasNotification.help</label>
        </helpLabels>
        <translated>true</translated>
        <fields>
          <field>eshare:hasNotification</field>
        </fields>
      </widget>
      <widget name="contactEmail" type="text">
        <labels>
          <label mode="any">label.eshare.contactEmail</label>
        </labels>
        <helpLabels>
          <label mode="any">label.eshare.contactEmail.help</label>
        </helpLabels>
        <translated>true</translated>
        <fields>
          <field>eshare:contactEmail</field>
        </fields>
        <properties widgetMode="any">
          <property name="defaultValue">
            #{currentUser.getEmail()}
          </property>
        </properties>
      </widget>
    </layout>
    <layout name="layout@EasyShareFolder-view">
      <templates>
        <template mode="any">/layouts/easyshare_layout_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>title_and_permlink</widget>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>description</widget>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>expired</widget>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>hasNotification</widget>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>contactEmail</widget>
        </row>
      </rows>
      <widget name="title_and_permlink" type="title_and_permlink">
        <labels>
          <label mode="any">label.eshare.title.permlink</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field/>
          <field>uid:major_version</field>
          <field>uid:minor_version</field>
        </fields>
      </widget>
      <widget name="description" type="textarea">
        <labels>
          <label mode="any">label.dublincore.description</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>dc:description</field>
        </fields>
      </widget>
      <widget name="expired" type="datetime">
        <labels>
          <label mode="any">label.dublincore.expirationDate</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>dc:expired</field>
        </fields>
      </widget>
      <widget name="hasNotfication" type="checkbox">
        <labels>
          <label mode="any">label.eshare.hasNotfication</label>
        </labels>
        <helpLabels>
          <label mode="any">label.eshare.hasNotification.help</label>
        </helpLabels>
        <translated>true</translated>
        <fields>
          <field>eshare:hasNotfication</field>
        </fields>
      </widget>
      <widget name="contactEmail" type="text">
        <labels>
          <label mode="any">label.eshare.contactEmail</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>eshare:contactEmail</field>
        </fields>
      </widget>
    </layout>
    <layout name="layout@EasyShareFolder-header">
      <templates>
        <template mode="any">/layouts/layout_div_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">3</property>
          </properties>
          <widget>header_title_and_permlink</widget>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">3</property>
          </properties>
          <widget>collection_header_description</widget>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
            <property name="nxl_colspan_1">1</property>
            <property name="nxl_colspan_2">1</property>
          </properties>
          <widget>creator</widget>
          <widget>expired</widget>
          <widget>contactEmail</widget>
        </row>
      </rows>
      <widget name="collection_header_description" type="textarea">
        <fields>
          <field>dc:description</field>
        </fields>
        <labels>
          <label mode="any"/>
        </labels>
        <properties mode="any">
          <property name="styleClass">
            currentDocumentDescription quote
          </property>
        </properties>
      </widget>
      <widget name="creator" type="text">
        <labels>
          <label mode="any">label.dublincore.creator</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>dc:creator</field>
        </fields>
        <properties widgetMode="view">
          <property name="title">Creator</property>
          <property name="styleClass">detail user headerCreator</property>
        </properties>
      </widget>
      <widget name="expired" type="datetime">
        <labels>
          <label mode="any">label.dublincore.expirationDate</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>dc:expired</field>
        </fields>
        <properties widgetMode="view">
          <property name="title">Expiration Date</property>
          <property name="styleClass">tag label label-light headerExpiration</property>
        </properties>
      </widget>
      <widget name="contactEmail" type="text">
        <labels>
          <label mode="any">label.eshare.contactEmail</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>eshare:contactEmail</field>
        </fields>
        <properties widgetMode="view">
          <property name="title">Creator's Email</property>
          <property name="styleClass">detail tag headerEmail</property>
        </properties>
      </widget>
    </layout>
  </extension>