Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.dam.layouts--layouts

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

Extension point

Extension point layouts of component WebLayoutManager.

Contributed items

  • <layout name="importset">
          <templates>
            <template mode="any">/layouts/layout_summary_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <widget>left</widget>
            </row>
            <row>
              <widget>right</widget>
            </row>
          </rows>
            <widget name="left" type="template">
            <properties mode="any">
              <property name="template">
                /dam/widgets/importset_left_widget.xhtml
              </property>
            </properties>
          </widget>
            <widget name="right" type="template">
            <properties mode="any">
              <property name="template">
                /dam/widgets/importset_right_widget.xhtml
              </property>
            </properties>
          </widget>
        </layout>
  • <layout name="importset_left">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <widget>title</widget>
            </row>
            <row>
              <widget>description</widget>
            </row>
            <row>
              <widget>damc_author</widget>
            </row>
            <row>
              <widget>damc_authoringDate</widget>
            </row>
            <row>
              <widget>coverage</widget>
            </row>
          </rows>
          <widget name="title" type="template">
            <labels>
              <label mode="any">label.dublincore.importset.title</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>dc:title</field>
            </fields>
            <properties mode="any">
              <property name="template">
                /dam/widgets/importset_title_widget.xhtml
              </property>
            </properties>
          </widget>
        </layout>
  • <layout name="importset_right">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <widget>language</widget>
            </row>
            <row>
              <widget>subjects</widget>
            </row>
          </rows>
        </layout>
  • <layout name="dam_common">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <widget>damc_author</widget>
            </row>
            <row>
              <widget>damc_authoringDate</widget>
            </row>
          </rows>
        </layout>
  • <layout name="ip_rights">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <widget>media_type</widget>
            </row>
            <row>
              <widget>geo_broadcast</widget>
            </row>
            <row>
              <widget>copyright_holder</widget>
            </row>
            <row>
              <widget>licence</widget>
            </row>
            <row>
              <widget>embargo_date</widget>
            </row>
            <row>
              <widget>expiration_date</widget>
            </row>
          </rows>
    
          <widget name="media_type" type="selectOneDirectory">
            <translated>true</translated>
            <fields>
              <field>ipr:media_type</field>
            </fields>
            <properties widgetMode="any">
              <property name="directoryName">dam_media_type</property>
              <property name="localize">true</property>
            </properties>
            <properties widgetMode="edit">
              <property name="ordering">label</property>
              <property name="cssStyleClass">dataInputText</property>
            </properties>
          </widget>
          <widget name="geo_broadcast" type="selectOneDirectory">
            <translated>true</translated>
            <fields>
              <field>ipr:geo_broadcast</field>
            </fields>
            <properties widgetMode="any">
              <property name="directoryName">dam_geo_broadcast</property>
              <property name="localize">true</property>
            </properties>
            <properties widgetMode="edit">
              <property name="ordering">label</property>
              <property name="cssStyleClass">dataInputText</property>
            </properties>
          </widget>
          <widget name="copyright_holder" type="text">
            <translated>true</translated>
            <fields>
              <field>ipr:copyright_holder</field>
            </fields>
            <properties widgetMode="edit">
              <property name="styleClass">dataInputText</property>
            </properties>
          </widget>
    
          <widget name="licence" type="template">
            <translated>true</translated>
            <fields>
              <field>ipr:licence</field>
            </fields>
            <properties mode="any">
              <property name="template">/dam/widgets/licence_widget.xhtml</property>
            </properties>
          </widget>
    
          <widget name="embargo_date" type="datetime">
            <translated>true</translated>
            <fields>
              <field>ipr:embargo_date</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>
          <widget name="expiration_date" type="datetime">
            <translated>true</translated>
            <fields>
              <field>ipr:expiration_date</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>
        </layout>
  • <layout name="bulk_edit">
          <templates>
            <template mode="any">/layouts/layout_bulkedit_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <widget>description</widget>
            </row>
            <row>
              <widget>damc_author</widget>
            </row>
            <row>
              <widget>damc_authoringDate</widget>
            </row>
            <row>
              <widget>language</widget>
            </row>
            <row>
              <widget>subjects</widget>
            </row>
            <row>
              <widget>coverage</widget>
            </row>
          </rows>
        </layout>

XML source

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

    <layout name="importset">
      <templates>
        <template mode="any">/layouts/layout_summary_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <widget>left</widget>
        </row>
        <row>
          <widget>right</widget>
        </row>
      </rows>
        <widget name="left" type="template">
        <properties mode="any">
          <property name="template">
            /dam/widgets/importset_left_widget.xhtml
          </property>
        </properties>
      </widget>
        <widget name="right" type="template">
        <properties mode="any">
          <property name="template">
            /dam/widgets/importset_right_widget.xhtml
          </property>
        </properties>
      </widget>
    </layout>

    <layout name="importset_left">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <widget>title</widget>
        </row>
        <row>
          <widget>description</widget>
        </row>
        <row>
          <widget>damc_author</widget>
        </row>
        <row>
          <widget>damc_authoringDate</widget>
        </row>
        <row>
          <widget>coverage</widget>
        </row>
      </rows>
      <widget name="title" type="template">
        <labels>
          <label mode="any">label.dublincore.importset.title</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>dc:title</field>
        </fields>
        <properties mode="any">
          <property name="template">
            /dam/widgets/importset_title_widget.xhtml
          </property>
        </properties>
      </widget>
    </layout>

    <layout name="importset_right">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <widget>language</widget>
        </row>
        <row>
          <widget>subjects</widget>
        </row>
      </rows>
    </layout>

    <layout name="dam_common">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <widget>damc_author</widget>
        </row>
        <row>
          <widget>damc_authoringDate</widget>
        </row>
      </rows>
    </layout>

    <layout name="ip_rights">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <widget>media_type</widget>
        </row>
        <row>
          <widget>geo_broadcast</widget>
        </row>
        <row>
          <widget>copyright_holder</widget>
        </row>
        <row>
          <widget>licence</widget>
        </row>
        <row>
          <widget>embargo_date</widget>
        </row>
        <row>
          <widget>expiration_date</widget>
        </row>
      </rows>

      <widget name="media_type" type="selectOneDirectory">
        <translated>true</translated>
        <fields>
          <field>ipr:media_type</field>
        </fields>
        <properties widgetMode="any">
          <property name="directoryName">dam_media_type</property>
          <property name="localize">true</property>
        </properties>
        <properties widgetMode="edit">
          <property name="ordering">label</property>
          <property name="cssStyleClass">dataInputText</property>
        </properties>
      </widget>
      <widget name="geo_broadcast" type="selectOneDirectory">
        <translated>true</translated>
        <fields>
          <field>ipr:geo_broadcast</field>
        </fields>
        <properties widgetMode="any">
          <property name="directoryName">dam_geo_broadcast</property>
          <property name="localize">true</property>
        </properties>
        <properties widgetMode="edit">
          <property name="ordering">label</property>
          <property name="cssStyleClass">dataInputText</property>
        </properties>
      </widget>
      <widget name="copyright_holder" type="text">
        <translated>true</translated>
        <fields>
          <field>ipr:copyright_holder</field>
        </fields>
        <properties widgetMode="edit">
          <property name="styleClass">dataInputText</property>
        </properties>
      </widget>

      <widget name="licence" type="template">
        <translated>true</translated>
        <fields>
          <field>ipr:licence</field>
        </fields>
        <properties mode="any">
          <property name="template">/dam/widgets/licence_widget.xhtml</property>
        </properties>
      </widget>

      <widget name="embargo_date" type="datetime">
        <translated>true</translated>
        <fields>
          <field>ipr:embargo_date</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>
      <widget name="expiration_date" type="datetime">
        <translated>true</translated>
        <fields>
          <field>ipr:expiration_date</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>
    </layout>

    <layout name="bulk_edit">
      <templates>
        <template mode="any">/layouts/layout_bulkedit_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <widget>description</widget>
        </row>
        <row>
          <widget>damc_author</widget>
        </row>
        <row>
          <widget>damc_authoringDate</widget>
        </row>
        <row>
          <widget>language</widget>
        </row>
        <row>
          <widget>subjects</widget>
        </row>
        <row>
          <widget>coverage</widget>
        </row>
      </rows>
    </layout>

  </extension>