Platform Explorer / Nuxeo Platform 5.6

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

This contribution is part of XML component org.nuxeo.ecm.platform.routing.layouts inside nuxeo-platform-document-routing-web-5.6.jar

Extension point

Extension point widgets of component WebLayoutManager.

Contributed items

  • <widget name="current_route_description" type="current_route_description"/>
  • <widget name="current_route_show_graph" type="current_route_show_graph"/>
  • <widget name="current_route_abandon" type="current_route_abandon"/>
  • <widget name="current_route_user_tasks" type="current_route_user_tasks"/>
  • <widget name="current_route_open_tasks" type="current_route_open_tasks"/>
  • <widget name="current_route_previous_tasks" type="contentViewWithForms">
          <labels>
            <label mode="any"/>
          </labels>
          <translated>false</translated>
          <properties widgetMode="any">
            <property name="contentViewName">route_past_steps</property>
          </properties>
        </widget>
  • <widget name="current_route_panel_top" type="summary_current_document_custom_actions">
          <labels>
            <label mode="any"/>
          </labels>
          <properties widgetMode="any">
            <property name="category">CURRENT_ROUTE_PANEL_TOP</property>
            <property name="subStyleClass">summaryActions</property>
          </properties>
        </widget>
  • <widget name="current_route_panel_left" type="summary_current_document_custom_actions">
          <labels>
            <label mode="any"/>
          </labels>
          <properties widgetMode="any">
            <property name="category">CURRENT_ROUTE_PANEL_LEFT</property>
            <property name="subStyleClass">summaryActions</property>
          </properties>
        </widget>
  • <widget name="current_route_panel_right" type="summary_current_document_custom_actions">
          <labels>
            <label mode="any"/>
          </labels>
          <properties widgetMode="any">
            <property name="category">CURRENT_ROUTE_PANEL_RIGHT</property>
            <property name="subStyleClass">summaryActions</property>
          </properties>
        </widget>
  • <widget name="current_route_panel_bottom" type="summary_current_document_custom_actions">
          <labels>
            <label mode="any"/>
          </labels>
          <properties widgetMode="any">
            <property name="category">CURRENT_ROUTE_PANEL_BOTTOM</property>
            <property name="subStyleClass">summaryActions</property>
          </properties>
        </widget>
  • <widget name="task_title" type="text">
          <labels>
            <label mode="any">Name</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.task.name</field>
          </fields>
          <properties mode="any">
            <property name="localize">true</property>
          </properties>
        </widget>
  • <widget name="task_directive" type="text">
          <labels>
            <label mode="any">Directive</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.task.directive</field>
          </fields>
          <properties mode="any">
            <property name="localize">true</property>
          </properties>
        </widget>
  • <widget name="task_assignee" type="template">
          <labels>
            <label mode="any">Assignee</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.task.actors</field>
          </fields>
          <properties mode="any">
            <property name="template">
              /widgets/user_suggestion_widget_template.xhtml
            </property>
          </properties>
        </widget>
  • <widget name="task_comments" type="template">
          <labels>
            <label mode="any">Comments</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.task.taskComments</field>
          </fields>
          <properties mode="any">
            <property name="template">
              /widgets/user_suggestion_widget_template.xhtml
            </property>
          </properties>
        </widget>
  • <widget name="task_start_date" type="datetime">
          <labels>
            <label mode="any">Start date</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.dublincore.created</field>
          </fields>
        </widget>
  • <widget name="task_due_date" type="datetime">
          <labels>
            <label mode="any">Due date</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.task.dueDate</field>
          </fields>
        </widget>

XML source

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

    <widget name="current_route_description" type="current_route_description"/>
    <widget name="current_route_show_graph" type="current_route_show_graph"/>
    <widget name="current_route_abandon" type="current_route_abandon"/>
    <widget name="current_route_user_tasks" type="current_route_user_tasks"/>
    <widget name="current_route_open_tasks" type="current_route_open_tasks"/>

    <widget name="current_route_previous_tasks" type="contentViewWithForms">
      <labels>
        <label mode="any"/>
      </labels>
      <translated>false</translated>
      <properties widgetMode="any">
        <property name="contentViewName">route_past_steps</property>
      </properties>
    </widget>

    <widget name="current_route_panel_top" type="summary_current_document_custom_actions">
      <labels>
        <label mode="any"/>
      </labels>
      <properties widgetMode="any">
        <property name="category">CURRENT_ROUTE_PANEL_TOP</property>
        <property name="subStyleClass">summaryActions</property>
      </properties>
    </widget>

    <widget name="current_route_panel_left" type="summary_current_document_custom_actions">
      <labels>
        <label mode="any"/>
      </labels>
      <properties widgetMode="any">
        <property name="category">CURRENT_ROUTE_PANEL_LEFT</property>
        <property name="subStyleClass">summaryActions</property>
      </properties>
    </widget>

    <widget name="current_route_panel_right" type="summary_current_document_custom_actions">
      <labels>
        <label mode="any"/>
      </labels>
      <properties widgetMode="any">
        <property name="category">CURRENT_ROUTE_PANEL_RIGHT</property>
        <property name="subStyleClass">summaryActions</property>
      </properties>
    </widget>

    <widget name="current_route_panel_bottom" type="summary_current_document_custom_actions">
      <labels>
        <label mode="any"/>
      </labels>
      <properties widgetMode="any">
        <property name="category">CURRENT_ROUTE_PANEL_BOTTOM</property>
        <property name="subStyleClass">summaryActions</property>
      </properties>
    </widget>

    <!-- for previous tasks layout -->
    <widget name="task_title" type="text">
      <labels>
        <label mode="any">Name</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.task.name</field>
      </fields>
      <properties mode="any">
        <property name="localize">true</property>
      </properties>
    </widget>
    <widget name="task_directive" type="text">
      <labels>
        <label mode="any">Directive</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.task.directive</field>
      </fields>
      <properties mode="any">
        <property name="localize">true</property>
      </properties>
    </widget>
    <widget name="task_assignee" type="template">
      <labels>
        <label mode="any">Assignee</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.task.actors</field>
      </fields>
      <properties mode="any">
        <property name="template">
          /widgets/user_suggestion_widget_template.xhtml
        </property>
      </properties>
    </widget>
    <widget name="task_comments" type="template">
      <labels>
        <label mode="any">Comments</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.task.taskComments</field>
      </fields>
      <properties mode="any">
        <property name="template">
          /widgets/user_suggestion_widget_template.xhtml
        </property>
      </properties>
    </widget>
    <widget name="task_start_date" type="datetime">
      <labels>
        <label mode="any">Start date</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.dublincore.created</field>
      </fields>
    </widget>
    <widget name="task_due_date" type="datetime">
      <labels>
        <label mode="any">Due date</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.task.dueDate</field>
      </fields>
    </widget>

  </extension>