Platform Explorer / Nuxeo Platform 9.2

Contribution org.nuxeo.ecm.multi.tenant.directoriesUI--layouts

This contribution is part of XML component org.nuxeo.ecm.multi.tenant.directoriesUI inside nuxeo-multi-tenant-jsf-9.2.jar /OSGI-INF/directories-ui-contrib.xml

Extension Point

Extension point layouts of component WebLayoutManager.

Contributed Items

  • <layout name="multi_tenant_vocabulary">
          <templates>
            <template mode="any">
              /directory/directory_layout_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>multi_tenant_vocabulary_id</widget>
            </row>
            <row>
              <widget>multi_tenant_vocabulary_label</widget>
            </row>
            <row>
              <widget>multi_tenant_vocabulary_obsolete</widget>
            </row>
            <row>
              <widget>multi_tenant_vocabulary_order</widget>
            </row>
          </rows>
        </layout>
  • <layout name="multi_tenant_subtopic_vocabulary">
          <templates>
            <template mode="any">
              /directory/directory_layout_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>parent</widget>
            </row>
            <row>
              <widget>multi_tenant_xvocabulary_id</widget>
            </row>
            <row>
              <widget>multi_tenant_xvocabulary_label</widget>
            </row>
            <row>
              <widget>multi_tenant_xvocabulary_obsolete</widget>
            </row>
            <row>
              <widget>multi_tenant_xvocabulary_order</widget>
            </row>
          </rows>
          <widget name="parent" type="selectOneDirectory">
            <labels>
              <label mode="any">label.vocabulary.entry.parent</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>multitenantxvocabulary:parent</field>
            </fields>
            <properties mode="any">
              <property name="directoryName">topic</property>
              <property name="localize">true</property>
            </properties>
            <properties widgetMode="edit">
              <property name="required">true</property>
            </properties>
          </widget>
        </layout>
  • <layout name="multi_tenant_l10ncoverage_vocabulary">
          <templates>
            <template mode="any">
              /directory/directory_layout_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>parent</widget>
            </row>
            <row>
              <widget>multi_tenant_l10nxvocabulary_id</widget>
            </row>
            <row>
              <widget>multi_tenant_l10nxvocabulary_label_en</widget>
            </row>
            <row>
              <widget>multi_tenant_l10nxvocabulary_label_fr</widget>
            </row>
            <row>
              <widget>multi_tenant_l10nxvocabulary_obsolete</widget>
            </row>
            <row>
              <widget>multi_tenant_l10nxvocabulary_order</widget>
            </row>
          </rows>
          <widget name="parent" type="select_l10n_vocabulary_tree">
            <labels>
              <label mode="any">label.vocabulary.entry.parent</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>multitenantl10nxvocabulary:parent</field>
            </fields>
            <properties mode="any">
              <property name="directoryName">l10ncoverage</property>
              <property name="selectIdOnly">true</property>
            </properties>
            <properties widgetMode="edit">
              <property name="required">true</property>
              <property name="displayObsoleteEntries">true</property>
            </properties>
          </widget>
        </layout>
  • <layout name="multi_tenant_l10nsubjects_vocabulary">
          <templates>
            <template mode="any">
              /directory/directory_layout_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>parent</widget>
            </row>
            <row>
              <widget>multi_tenant_l10nxvocabulary_id</widget>
            </row>
            <row>
              <widget>multi_tenant_l10nxvocabulary_label_en</widget>
            </row>
            <row>
              <widget>multi_tenant_l10nxvocabulary_label_fr</widget>
            </row>
            <row>
              <widget>multi_tenant_l10nxvocabulary_obsolete</widget>
            </row>
            <row>
              <widget>multi_tenant_l10nxvocabulary_order</widget>
            </row>
          </rows>
          <widget name="parent" type="select_l10n_vocabulary_tree">
            <labels>
              <label mode="any">label.vocabulary.entry.parent</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>multitenantl10nxvocabulary:parent</field>
            </fields>
            <properties mode="any">
              <property name="directoryName">l10nsubjects</property>
              <property name="selectIdOnly">true</property>
            </properties>
            <properties widgetMode="edit">
              <property name="required">true</property>
              <property name="displayObsoleteEntries">true</property>
            </properties>
          </widget>
        </layout>

XML Source

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

    <layout name="multi_tenant_vocabulary">
      <templates>
        <template mode="any">
          /directory/directory_layout_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>multi_tenant_vocabulary_id</widget>
        </row>
        <row>
          <widget>multi_tenant_vocabulary_label</widget>
        </row>
        <row>
          <widget>multi_tenant_vocabulary_obsolete</widget>
        </row>
        <row>
          <widget>multi_tenant_vocabulary_order</widget>
        </row>
      </rows>
    </layout>

    <layout name="multi_tenant_subtopic_vocabulary">
      <templates>
        <template mode="any">
          /directory/directory_layout_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>parent</widget>
        </row>
        <row>
          <widget>multi_tenant_xvocabulary_id</widget>
        </row>
        <row>
          <widget>multi_tenant_xvocabulary_label</widget>
        </row>
        <row>
          <widget>multi_tenant_xvocabulary_obsolete</widget>
        </row>
        <row>
          <widget>multi_tenant_xvocabulary_order</widget>
        </row>
      </rows>
      <widget name="parent" type="selectOneDirectory">
        <labels>
          <label mode="any">label.vocabulary.entry.parent</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>multitenantxvocabulary:parent</field>
        </fields>
        <properties mode="any">
          <property name="directoryName">topic</property>
          <property name="localize">true</property>
        </properties>
        <properties widgetMode="edit">
          <property name="required">true</property>
        </properties>
      </widget>
    </layout>

    <layout name="multi_tenant_l10ncoverage_vocabulary">
      <templates>
        <template mode="any">
          /directory/directory_layout_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>parent</widget>
        </row>
        <row>
          <widget>multi_tenant_l10nxvocabulary_id</widget>
        </row>
        <row>
          <widget>multi_tenant_l10nxvocabulary_label_en</widget>
        </row>
        <row>
          <widget>multi_tenant_l10nxvocabulary_label_fr</widget>
        </row>
        <row>
          <widget>multi_tenant_l10nxvocabulary_obsolete</widget>
        </row>
        <row>
          <widget>multi_tenant_l10nxvocabulary_order</widget>
        </row>
      </rows>
      <widget name="parent" type="select_l10n_vocabulary_tree">
        <labels>
          <label mode="any">label.vocabulary.entry.parent</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>multitenantl10nxvocabulary:parent</field>
        </fields>
        <properties mode="any">
          <property name="directoryName">l10ncoverage</property>
          <property name="selectIdOnly">true</property>
        </properties>
        <properties widgetMode="edit">
          <property name="required">true</property>
          <property name="displayObsoleteEntries">true</property>
        </properties>
      </widget>
    </layout>

    <layout name="multi_tenant_l10nsubjects_vocabulary">
      <templates>
        <template mode="any">
          /directory/directory_layout_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>parent</widget>
        </row>
        <row>
          <widget>multi_tenant_l10nxvocabulary_id</widget>
        </row>
        <row>
          <widget>multi_tenant_l10nxvocabulary_label_en</widget>
        </row>
        <row>
          <widget>multi_tenant_l10nxvocabulary_label_fr</widget>
        </row>
        <row>
          <widget>multi_tenant_l10nxvocabulary_obsolete</widget>
        </row>
        <row>
          <widget>multi_tenant_l10nxvocabulary_order</widget>
        </row>
      </rows>
      <widget name="parent" type="select_l10n_vocabulary_tree">
        <labels>
          <label mode="any">label.vocabulary.entry.parent</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>multitenantl10nxvocabulary:parent</field>
        </fields>
        <properties mode="any">
          <property name="directoryName">l10nsubjects</property>
          <property name="selectIdOnly">true</property>
        </properties>
        <properties widgetMode="edit">
          <property name="required">true</property>
          <property name="displayObsoleteEntries">true</property>
        </properties>
      </widget>
    </layout>
  </extension>