Platform Explorer / Nuxeo Platform LTS 2015 7.10

Component org.nuxeo.ecm.platform.routing.dm.layouts.webapp

Services

Extension points

Contributions

XML source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.routing.dm.layouts.webapp">

  <require>org.nuxeo.ecm.platform.routing.layouts.webapp</require>
  <require>com.nuxeo.document.routing.table.widget</require>

  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
    point="widgets">
    <!-- @deprecated since 5.9.2 - Use only routes of type 'graph' -->
    <widget name="actors" type="template">
      <fields>
        <field>tkst:actors</field>
      </fields>
      <labels>
        <label mode="any"></label>
      </labels>
      <properties mode="any">
        <property name="template">
          /widgets/user_suggestion_widget_template.xhtml
        </property>
        <property name="required">true</property>
      </properties>
    </widget>
    <!-- @deprecated since 5.9.2 - Use only routes of type 'graph' -->
    <widget name="directive_task" type="template">
      <fields>
        <field>tkst:directive</field>
      </fields>
      <labels>
        <label mode="any">label.review.directive</label>
      </labels>
      <translated>true</translated>
      <properties mode="any">
        <property name="template">
          /widgets/routing_directive_widget_template.xhtml
        </property>
      </properties>
    </widget>
    <!-- @deprecated since 5.9.2 - Use only routes of type 'graph' -->
    <widget name="directive_publishing_task" type="singleDocumentSuggestion">
      <fields>
        <field>tkst:directive</field>
      </fields>
      <labels>
        <label mode="any">label.widget.task_step.publication</label>
      </labels>
      <translated>true</translated>
      <properties mode="any">
        <property name="documentSuggestion_pageProviderName">
          default_section_suggestion
        </property>
      </properties>
    </widget>
    <!-- @deprecated since 5.9.2 - Use only routes of type 'graph' -->
    <widget name="directive_follow_lc_transion_task" type="text">
      <fields>
        <field>tkst:directive</field>
      </fields>
      <labels>
        <label mode="any">label.widget.review.life.cycle.transition
        </label>
      </labels>
      <translated>true</translated>
    </widget>
    <!-- @deprecated since 5.9.2 - Use only routes of type 'graph' -->
    <widget name="dueDate" type="template">
      <fields>
        <field>tkst:dueDate</field>
      </fields>
      <labels>
        <label mode="any">label.review.duedate</label>
      </labels>
      <translated>true</translated>
      <properties mode="any">
        <property name="template">
          /widgets/routing_duedate_widget_template.xhtml
        </property>
      </properties>
    </widget>
    <!-- @deprecated since 5.9.2 - Use only routes of type 'graph' -->
    <widget name="automaticValidation" type="checkbox">
      <translated>true</translated>
      <fields>
        <field>tkst:automaticValidation</field>
      </fields>
    </widget>
    <!-- @deprecated since 5.9.2 - Use only routes of type 'graph' -->
    <!-- overide the default widget to display the number of comments used 
      by default in routing -->
    <widget name="dr_listing_no_comments" type="list">
      <labels>
        <label mode="any">label.content.header.comments</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.document.tkst.comments</field>
      </fields>
      <properties widgetMode="edit">
        <property name="orderable">false</property>
        <property name="diff">false</property>
        <property name="display">table</property>
        <property name="required">false</property>
        <property name="hideSubLabels">true</property>
      </properties>
      <properties mode="any" />
      <subWidgets>
        <widget name="sub0" type="text">
          <labels>
            <label mode="any"></label>
          </labels>
          <translated>false</translated>
          <fields>
            <field></field>
          </fields>
          <properties mode="any" />
        </widget>
      </subWidgets>
    </widget>

  </extension>

  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
    point="layouts">
    <!-- @deprecated since 5.9.2 - Use only routes of type 'graph' -->
    <layout name="task_step">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>actors</widget>
        </row>
        <row>
          <widget>directive_task</widget>
        </row>
        <row>
          <widget>dueDate</widget>
        </row>
        <row>
          <widget>automaticValidation</widget>
        </row>
      </rows>
    </layout>
    <!-- @deprecated since 5.9.2 - Use only routes of type 'graph' -->
    <layout name="follow_lc_transition_task_step">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>actors</widget>
        </row>
        <row>
          <widget>directive_follow_lc_transion_task</widget>
        </row>
        <row>
          <widget>dueDate</widget>
        </row>
      </rows>
    </layout>
    <!-- @deprecated since 5.9.2 - Use only routes of type 'graph' -->
    <layout name="pusblishing_task_step">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>actors</widget>
        </row>
        <row>
          <widget>directive_publishing_task</widget>
        </row>
        <row>
          <widget>dueDate</widget>
        </row>
      </rows>
    </layout>
    <!-- @deprecated since 5.9.2 - Use only routes of type 'graph' -->
    <layout name="conditional_task_step">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>actors</widget>
        </row>
        <row>
          <widget>directive_conditional_subject</widget>
          <widget>directive_conditional_operator</widget>
          <widget>directive_conditional_value</widget>
          <widget>operatorValidator</widget>
        </row>
        <row>
          <widget>dueDate</widget>
        </row>
      </rows>
      <widget name="directive_conditional_subject" type="text">
        <fields>
          <field>ctkst:subject</field>
        </fields>
        <labels>
          <label mode="any">label.review.directive</label>
        </labels>
        <translated>true</translated>
        <properties widgetMode="edit">
          <property name="required">true</property>
          <property name="validator">
            #{routingTaskActions.validateSubject}
          </property>
        </properties>
      </widget>
      <widget name="directive_conditional_operator" type="template">
        <labels>
          <label mode="any"></label>
        </labels>
        <fields>
          <field>ctkst:operator</field>
        </fields>
        <properties mode="any">
          <property name="template">
            /widgets/routing_directive_operator_widget_template.xhtml
          </property>
        </properties>
        <properties widgetMode="edit">
          <property name="required">true</property>
        </properties>
      </widget>
      <widget name="directive_conditional_value" type="text">
        <labels>
          <label mode="any"></label>
        </labels>
        <fields>
          <field>ctkst:value</field>
        </fields>
        <properties widgetMode="edit">
          <property name="required">true</property>
        </properties>
      </widget>
      <widget name="operatorValidator" type="template">
        <fields>
          <field></field>
        </fields>
        <labels>
          <label mode="any"></label>
        </labels>
        <properties widgetMode="edit">
          <property name="validator">
            #{routingTaskActions.validateValueForOperator}
          </property>
          <property name="template">
            /widgets/operator_value_validation_widget_template.xhtml
          </property>
        </properties>
      </widget>
    </layout>

  </extension>

</component>

Documentation