Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.dam.layouts--widgets

This contribution is part of XML component org.nuxeo.dam.layouts inside nuxeo-dam-web-5.6-RC3.jar

Extension point

Extension point widgets of component WebLayoutManager.

Contributed items

  • <widget name="damc_author" type="text">
          <labels>
            <label mode="any">label.dam_common.author</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>damc:author</field>
          </fields>
          <properties widgetMode="edit">
            <property name="styleClass">dataInputText</property>
          </properties>
        </widget>
  • <widget name="damc_authoringDate" type="datetime">
          <labels>
            <label mode="any">label.dam_common.authoringDate</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>damc:authoringDate</field>
          </fields>
          <properties widgetMode="view">
            <property name="pattern">#{nxu:basicDateFormater()}</property>
          </properties>
          <properties widgetMode="edit">
            <property name="format">#{nxu:basicDateFormater()}</property>
            <property name="styleClass">dataInputTextDate</property>
          </properties>
        </widget>

XML source

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

    <widget name="damc_author" type="text">
      <labels>
        <label mode="any">label.dam_common.author</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>damc:author</field>
      </fields>
      <properties widgetMode="edit">
        <property name="styleClass">dataInputText</property>
      </properties>
    </widget>

    <widget name="damc_authoringDate" type="datetime">
      <labels>
        <label mode="any">label.dam_common.authoringDate</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>damc:authoringDate</field>
      </fields>
      <properties widgetMode="view">
        <property name="pattern">#{nxu:basicDateFormater()}</property>
      </properties>
      <properties widgetMode="edit">
        <property name="format">#{nxu:basicDateFormater()}</property>
        <property name="styleClass">dataInputTextDate</property>
      </properties>
    </widget>

  </extension>