Platform Explorer / Nuxeo Platform LTS 2019 10.10

Contribution org.nuxeo.ecm.platform.routing.dashboard.layouts--widgets

This contribution is part of XML component org.nuxeo.ecm.platform.routing.dashboard.layouts inside nuxeo-routing-dashboard-10.10-HF33.jar /OSGI-INF/document-routing-dashboard-layouts-contrib.xml

Extension Point

Extension point widgets of component WebLayoutManager.

Registration Order

33
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <widget name="routing_task_name" type="text">
          <labels>
            <label mode="any">label.workflow.task.name</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.nt.name</field>
          </fields>
          <properties mode="any">
            <property name="localize">true</property>
          </properties>
        </widget>
  • <widget name="routing_task_target_document" type="multipleDocumentsSuggestion">
          <labels>
            <label mode="any">label.document</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.nt.targetDocumentsIds</field>
          </fields>
        </widget>
  • <widget name="routing_task_duedate" type="datetime">
          <labels>
            <label mode="any">label.widget.task_step.dueDate</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.nt.dueDate</field>
          </fields>
          <properties mode="any">
            <property name="format">#{nxu:dateAndTimeFormatter('medium')}
            </property>
            <property name="timeZone">#{timeZone}</property>
          </properties>
        </widget>
  • <widget name="routing_task_directive" type="text">
          <labels>
            <label mode="any">label.widget.task_step.directive</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.nt.directive</field>
          </fields>
          <properties mode="any">
            <property name="localize">true</property>
          </properties>
        </widget>
  • <widget name="routing_task_actors" type="multiplePrefixedUsersSuggestion">
          <labels>
            <label mode="any">label.document.route.content.header.actors
            </label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.nt.actors</field>
          </fields>
          <properties mode="any">
            <property name="localize">true</property>
          </properties>
        </widget>
  • <widget name="routing_task_comments" type="list">
          <labels>
            <label mode="any">label.content.header.comments</label>
          </labels>
          <fields>
            <field>data.nt.taskComments</field>
          </fields>
          <properties mode="any">
            <property name="localize">true</property>
            <property name="hideSubLabels">true</property>
          </properties>
          <subWidgets>
            <widget name="comment" type="text">
              <fields>
                <field/>
              </fields>
            </widget>
          </subWidgets>
        </widget>
  • <widget name="routing_task_workflow_name" type="listing_workflow_name_task">
          <labels>
            <label mode="any">label.review.type</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.nt.processId</field>
          </fields>
          <properties mode="any">
            <property name="localize">true</property>
          </properties>
        </widget>
  • <widget name="routing_task_process_btn" type="listing_process_task">
          <labels>
            <label mode="any"/>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data</field>
            <field>data.nt.targetDocumentsIds</field>
          </fields>
          <properties mode="any">
            <property name="tab">TAB_ROUTE_WORKFLOW</property>
          </properties>
        </widget>
  • <widget name="workflowTabs" type="tabs">
          <properties mode="view">
            <property name="actionsDisplay">links</property>
            <property name="addForm">true</property>
            <property name="useAjaxForm">false</property>
            <property name="category">WORKFLOW_DASHBOARD</property>
            <property name="actions">#{webActions.getActionsList('WORKFLOW_DASHBOARD')}</property>
            <property name="currentTabAction">#{webActions.getCurrentTabAction('WORKFLOW_DASHBOARD')}</property>
            <property name="overallDisplay">horizontal_block</property>
          </properties>
        </widget>

XML Source

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

    <!-- Listing widgets -->
    <widget name="routing_task_name" type="text">
      <labels>
        <label mode="any">label.workflow.task.name</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.nt.name</field>
      </fields>
      <properties mode="any">
        <property name="localize">true</property>
      </properties>
    </widget>

    <widget name="routing_task_target_document" type="multipleDocumentsSuggestion">
      <labels>
        <label mode="any">label.document</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.nt.targetDocumentsIds</field>
      </fields>
    </widget>

    <widget name="routing_task_duedate" type="datetime">
      <labels>
        <label mode="any">label.widget.task_step.dueDate</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.nt.dueDate</field>
      </fields>
      <properties mode="any">
        <property name="format">#{nxu:dateAndTimeFormatter('medium')}
        </property>
        <property name="timeZone">#{timeZone}</property>
      </properties>
    </widget>

    <widget name="routing_task_directive" type="text">
      <labels>
        <label mode="any">label.widget.task_step.directive</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.nt.directive</field>
      </fields>
      <properties mode="any">
        <property name="localize">true</property>
      </properties>
    </widget>

    <widget name="routing_task_actors" type="multiplePrefixedUsersSuggestion">
      <labels>
        <label mode="any">label.document.route.content.header.actors
        </label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.nt.actors</field>
      </fields>
      <properties mode="any">
        <property name="localize">true</property>
      </properties>
    </widget>

    <widget name="routing_task_comments" type="list">
      <labels>
        <label mode="any">label.content.header.comments</label>
      </labels>
      <fields>
        <field>data.nt.taskComments</field>
      </fields>
      <properties mode="any">
        <property name="localize">true</property>
        <property name="hideSubLabels">true</property>
      </properties>
      <subWidgets>
        <widget name="comment" type="text">
          <fields>
            <field/>
          </fields>
        </widget>
      </subWidgets>
    </widget>

    <widget name="routing_task_workflow_name" type="listing_workflow_name_task">
      <labels>
        <label mode="any">label.review.type</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.nt.processId</field>
      </fields>
      <properties mode="any">
        <property name="localize">true</property>
      </properties>
    </widget>

    <widget name="routing_task_process_btn" type="listing_process_task">
      <labels>
        <label mode="any"/>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data</field>
        <field>data.nt.targetDocumentsIds</field>
      </fields>
      <properties mode="any">
        <property name="tab">TAB_ROUTE_WORKFLOW</property>
      </properties>
    </widget>
    <!-- Listing widgets -->

    <widget name="workflowTabs" type="tabs">
      <properties mode="view">
        <property name="actionsDisplay">links</property>
        <property name="addForm">true</property>
        <property name="useAjaxForm">false</property>
        <property name="category">WORKFLOW_DASHBOARD</property>
        <property name="actions">#{webActions.getActionsList('WORKFLOW_DASHBOARD')}</property>
        <property name="currentTabAction">#{webActions.getCurrentTabAction('WORKFLOW_DASHBOARD')}</property>
        <property name="overallDisplay">horizontal_block</property>
      </properties>
    </widget>

  </extension>