Platform Explorer / Nuxeo Platform 9.2

Component studio.extensions.nuxeo-routing-default.jsf

Contributions

XML Source

<?xml version="1.0" encoding="UTF-8"?>
<component name="studio.extensions.nuxeo-routing-default.jsf" version="1.0.0">
  <extension target="org.nuxeo.ecm.directory.ui.DirectoryUIManager" point="directories">
    <directory name="WorkflowType" layout="vocabulary" sortField="label"/>
  </extension>
  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager" point="layouts">
    <layout name="Task2169@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>review_result</widget>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>comment</widget>
        </row>
      </rows>
      <widget name="review_result" type="htmltext">
        <labels>
          <label mode="any">wf.parallelDocumentReview.consolidate.form.review_brief</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>['review_result']</field>
        </fields>
        <widgetModes>
          <mode value="edit">view</mode>
        </widgetModes>
      </widget>
      <widget name="comment" type="textarea">
        <labels>
          <label mode="any">wf.parallelDocumentReview.comment</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>['comment']</field>
        </fields>
      </widget>
    </layout>
    <layout name="Task2556@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>comment</widget>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>end_date</widget>
        </row>
      </rows>
      <widget name="participants" type="multipleUsersSuggestion">
        <labels>
          <label mode="any">wf.parallelDocumentReview.ParticipantsOnTheReview</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>['participants']</field>
        </fields>
        <properties widgetMode="edit">
          <property name="orderable">true</property>
          <property name="placeholder">label.security.search</property>
          <property name="width">70%</property>
          <property name="prefixed">true</property>
          <property name="required">#{request.getParameter('button') == 'start_review'}</property>
        </properties>
      </widget>
      <widget name="comment" type="textarea">
        <labels>
          <label mode="any">wf.parallelDocumentReview.comment</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>['comment']</field>
        </fields>
      </widget>
      <widget name="end_date" type="datetime">
        <labels>
          <label mode="any">wf.parallelDocumentReview.endDate</label>
        </labels>
        <helpLabels>
          <label mode="any">wf.parallelDocumentReview.endDate.help</label>
        </helpLabels>
        <translated>true</translated>
        <fields>
          <field>['end_date']</field>
        </fields>
        <properties widgetMode="edit">
          <property name="required">#{request.getParameter('button') == 'start_review'}</property>
        </properties>
      </widget>
    </layout>
    <layout name="Task328d@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>initiatorComment</widget>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>comment</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>
      <widget name="initiatorComment" type="textarea">
        <labels>
          <label mode="any">wf.parallelDocumentReview.initiatorComment</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>['initiatorComment']</field>
        </fields>
        <widgetModes>
          <mode value="edit">view</mode>
        </widgetModes>
      </widget>
      <widget name="comment" type="textarea">
        <labels>
          <label mode="any">wf.parallelDocumentReview.reviewerComment</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>['comment']</field>
        </fields>
      </widget>
    </layout>
    <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>comment</widget>
        </row>
      </rows>
      <widget name="participants" type="multipleUsersSuggestion">
        <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="placeholder">label.security.search</property>
          <property name="width">70%</property>
          <property name="prefixed">true</property>
          <property name="helpLabel">wf.serialDocumentReview.ParticipantsOnTheReview.order</property>
          <property name="required">#{request.getParameter('button') == 'start_review'}</property>
        </properties>
      </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">#{request.getParameter('button') == 'start_review'}</property>
        </properties>
        <properties widgetMode="view">
          <property name="localize">true</property>
          <property name="directoryName">WorkflowType</property>
        </properties>
      </widget>
      <widget name="comment" type="textarea">
        <labels>
          <label mode="any">wf.serialDocumentReview.comment</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>['comment']</field>
        </fields>
      </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>
    <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>comment</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>
        <widgetModes>
          <mode value="edit">view</mode>
        </widgetModes>
      </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>
      </widget>
      <widget name="comment" type="textarea">
        <labels>
          <label mode="any">wf.serialDocumentReview.YourComment</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>['comment']</field>
        </fields>
      </widget>
    </layout>
  </extension>
</component>