Platform Explorer / Nuxeo Platform 5.6

Contribution studio.extensions.nuxeo-routing-default--layouts

This contribution is part of XML component studio.extensions.nuxeo-routing-default inside nuxeo-platform-document-routing-default-5.6.jar

Extension point

Extension point layouts of component WebLayoutManager.

Contributed items

  • <layout name="Task38e@taskLayout">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget>participants</widget>
            </row>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget>validationOrReview</widget>
            </row>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget>initiatorComment</widget>
            </row>
          </rows>
          <widget name="participants" type="multiplePrefixedUsersSuggestion">
            <labels>
              <label mode="any">wf.serialDocumentReview.ParticipantsOnTheReview</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>['participants']</field>
            </fields>
            <properties widgetMode="edit">
              <property name="orderable">true</property>
              <property name="required">true</property>
            </properties>
            <properties mode="any"/>
          </widget>
          <widget name="validationOrReview" type="selectOneDirectory">
            <labels>
              <label mode="any">wf.serialDocumentReview.validationOrSimpleReview</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>['validationOrReview']</field>
            </fields>
            <widgetModes>
              <mode value="edit">#{currentDocument. currentLifeCycleState =='project'?'edit':'hidden'}</mode>
            </widgetModes>
            <properties widgetMode="edit">
              <property name="localize">true</property>
              <property name="directoryName">WorkflowType</property>
              <property name="required">true</property>
            </properties>
            <properties widgetMode="view">
              <property name="localize">true</property>
              <property name="directoryName">WorkflowType</property>
            </properties>
            <properties mode="any"/>
          </widget>
          <widget name="initiatorComment" type="textarea">
            <labels>
              <label mode="any">wf.serialDocumentReview.comment</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>['initiatorComment']</field>
            </fields>
            <properties mode="any"/>
          </widget>
        </layout>
  • <layout name="Task6d8@taskLayout">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget>participants</widget>
            </row>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget>initiatorComment</widget>
            </row>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget>assigneeComment</widget>
            </row>
          </rows>
          <widget name="participants" type="list">
            <labels>
              <label mode="any">wf.serialDocumentReview.ParticipantsOnTheReview</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>['participants']</field>
            </fields>
            <widgetModes>
              <mode value="edit">view</mode>
            </widgetModes>
            <properties widgetMode="view">
              <property name="display">table</property>
              <property name="hideSubLabels">true</property>
            </properties>
            <properties mode="any"/>
            <subWidgets>
              <widget name="sub0" type="text">
                <labels>
                  <label mode="any"/>
                </labels>
                <translated>false</translated>
                <fields>
                  <field/>
                </fields>
                <properties mode="any"/>
              </widget>
            </subWidgets>
          </widget>
          <widget name="initiatorComment" type="textarea">
            <labels>
              <label mode="any">wf.serialDocumentReview.InitiatorComment</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>['initiatorComment']</field>
            </fields>
            <widgetModes>
              <mode value="edit">view</mode>
            </widgetModes>
            <properties mode="any"/>
          </widget>
          <widget name="assigneeComment" type="textarea">
            <labels>
              <label mode="any">wf.serialDocumentReview.YourComment</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>['assigneeComment']</field>
            </fields>
            <properties mode="any"/>
          </widget>
        </layout>
  • <layout name="Task542@taskLayout">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget/>
            </row>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget/>
            </row>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget/>
            </row>
          </rows>
        </layout>

XML source

<extension point="layouts" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    <layout name="Task38e@taskLayout">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>participants</widget>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>validationOrReview</widget>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>initiatorComment</widget>
        </row>
      </rows>
      <widget name="participants" type="multiplePrefixedUsersSuggestion">
        <labels>
          <label mode="any">wf.serialDocumentReview.ParticipantsOnTheReview</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>['participants']</field>
        </fields>
        <properties widgetMode="edit">
          <property name="orderable">true</property>
          <property name="required">true</property>
        </properties>
        <properties mode="any"/>
      </widget>
      <widget name="validationOrReview" type="selectOneDirectory">
        <labels>
          <label mode="any">wf.serialDocumentReview.validationOrSimpleReview</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>['validationOrReview']</field>
        </fields>
        <widgetModes>
          <mode value="edit">#{currentDocument. currentLifeCycleState =='project'?'edit':'hidden'}</mode>
        </widgetModes>
        <properties widgetMode="edit">
          <property name="localize">true</property>
          <property name="directoryName">WorkflowType</property>
          <property name="required">true</property>
        </properties>
        <properties widgetMode="view">
          <property name="localize">true</property>
          <property name="directoryName">WorkflowType</property>
        </properties>
        <properties mode="any"/>
      </widget>
      <widget name="initiatorComment" type="textarea">
        <labels>
          <label mode="any">wf.serialDocumentReview.comment</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>['initiatorComment']</field>
        </fields>
        <properties mode="any"/>
      </widget>
    </layout>
    <layout name="Task6d8@taskLayout">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>participants</widget>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>initiatorComment</widget>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>assigneeComment</widget>
        </row>
      </rows>
      <widget name="participants" type="list">
        <labels>
          <label mode="any">wf.serialDocumentReview.ParticipantsOnTheReview</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>['participants']</field>
        </fields>
        <widgetModes>
          <mode value="edit">view</mode>
        </widgetModes>
        <properties widgetMode="view">
          <property name="display">table</property>
          <property name="hideSubLabels">true</property>
        </properties>
        <properties mode="any"/>
        <subWidgets>
          <widget name="sub0" type="text">
            <labels>
              <label mode="any"/>
            </labels>
            <translated>false</translated>
            <fields>
              <field/>
            </fields>
            <properties mode="any"/>
          </widget>
        </subWidgets>
      </widget>
      <widget name="initiatorComment" type="textarea">
        <labels>
          <label mode="any">wf.serialDocumentReview.InitiatorComment</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>['initiatorComment']</field>
        </fields>
        <widgetModes>
          <mode value="edit">view</mode>
        </widgetModes>
        <properties mode="any"/>
      </widget>
      <widget name="assigneeComment" type="textarea">
        <labels>
          <label mode="any">wf.serialDocumentReview.YourComment</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>['assigneeComment']</field>
        </fields>
        <properties mode="any"/>
      </widget>
    </layout>
    <layout name="Task542@taskLayout">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget/>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget/>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget/>
        </row>
      </rows>
    </layout>
  </extension>