Platform Explorer / CMF 1.8

Contribution org.nuxeo.ecm.usersettings.web.api.layouts--layouts

This contribution is part of XML component org.nuxeo.ecm.usersettings.web.api.layouts inside nuxeo-user-settings-web-5.4.2-HF05.jar

Extension Point

Extension point layouts of component WebLayoutManager.

Contributed Items

  • <layout name="defaultSettings">
          <templates>
            <template mode="any">/layouts/user_settings_layout_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>language</widget>
            </row>
          </rows>
          <widget name="language" type="text">
            <labels>
              <label mode="any">label.settings.language</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>dset:language</field>
            </fields>
            <properties widgetMode="edit">
              <property name="styleClass">dataInputText</property>
            </properties>
          </widget>
    
        </layout>
  • <layout name="navigationSettings">
          <templates>
            <template mode="any">/layouts/user_settings_layout_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>homePage</widget>
            </row>
            <row>
              <widget>pagination</widget>
            </row>
            <row>
              <widget>fullNavigation</widget>
            </row>
          </rows>
          <widget name="homePage" type="text">
            <labels>
              <label mode="any">label.settings.homePage</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>nset:homePage</field>
            </fields>
            <properties widgetMode="edit">
              <property name="styleClass">dataInputText</property>
            </properties>
          </widget>
          <widget name="pagination" type="text">
            <labels>
              <label mode="any">label.settings.pagination</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>nset:pagination</field>
            </fields>
            <properties widgetMode="edit">
              <property name="styleClass">dataInputText</property>
            </properties>
          </widget>
          <widget name="fullNavigation" type="checkbox">
            <labels>
              <label mode="any">label.settings.fullNavigation</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>nset:fullNavigation</field>
            </fields>
          </widget>
    
        </layout>
  • <layout name="vcard">
          <templates>
            <template mode="any">/layouts/user_settings_layout_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>N</widget>
            </row>
          </rows>
          <widget name="N" type="text">
            <labels>
              <label mode="any">label.settings.vcard.name</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>vc:N</field>
            </fields>
            <properties widgetMode="edit">
              <property name="styleClass">dataInputText</property>
            </properties>
          </widget>
    
        </layout>

XML Source

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

    <layout name="defaultSettings">
      <templates>
        <template mode="any">/layouts/user_settings_layout_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>language</widget>
        </row>
      </rows>
      <widget name="language" type="text">
        <labels>
          <label mode="any">label.settings.language</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>dset:language</field>
        </fields>
        <properties widgetMode="edit">
          <property name="styleClass">dataInputText</property>
        </properties>
      </widget>

    </layout>

    <layout name="navigationSettings">
      <templates>
        <template mode="any">/layouts/user_settings_layout_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>homePage</widget>
        </row>
        <row>
          <widget>pagination</widget>
        </row>
        <row>
          <widget>fullNavigation</widget>
        </row>
      </rows>
      <widget name="homePage" type="text">
        <labels>
          <label mode="any">label.settings.homePage</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>nset:homePage</field>
        </fields>
        <properties widgetMode="edit">
          <property name="styleClass">dataInputText</property>
        </properties>
      </widget>
      <widget name="pagination" type="text">
        <labels>
          <label mode="any">label.settings.pagination</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>nset:pagination</field>
        </fields>
        <properties widgetMode="edit">
          <property name="styleClass">dataInputText</property>
        </properties>
      </widget>
      <widget name="fullNavigation" type="checkbox">
        <labels>
          <label mode="any">label.settings.fullNavigation</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>nset:fullNavigation</field>
        </fields>
      </widget>

    </layout>

    <layout name="vcard">
      <templates>
        <template mode="any">/layouts/user_settings_layout_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>N</widget>
        </row>
      </rows>
      <widget name="N" type="text">
        <labels>
          <label mode="any">label.settings.vcard.name</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>vc:N</field>
        </fields>
        <properties widgetMode="edit">
          <property name="styleClass">dataInputText</property>
        </properties>
      </widget>

    </layout>

	</extension>