Platform Explorer / Nuxeo Platform 5.6

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

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

Extension point

Extension point widgets of component WebLayoutManager.

Contributed items

  • <widget name="summary_current_route_action" type="summary_current_route_action"/>
  • <widget name="summary_document_route_action" type="summary_document_route_action"/>
  • <widget name="summary_current_route_actions_lock" type="summary_current_route_actions_lock"/>
  • <widget name="participatingDocuments" type="template">
          <labels>
            <label mode="any">label.document.routing.participatingDocuments
            </label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>docri:participatingDocuments</field>
          </fields>
          <properties mode="any">
            <property name="template">
              /document_routing_widgets/document_suggestion_widget_template.xhtml
            </property>
          </properties>
          <properties widgetMode="edit">
            <property name="cssStyleClass">dataInputText</property>
          </properties>
        </widget>
  • <widget name="execution_type" type="selectOneDirectory">
          <fields>
            <field>stepf:execution</field>
          </fields>
          <labels>
            <label mode="any">label.step.folder.execution.type</label>
          </labels>
          <translated>true</translated>
          <properties widgetMode="edit">
            <property name="required">true</property>
          </properties>
          <properties widgetMode="any">
            <property name="directoryName">execution_type</property>
            <property name="localize">true</property>
          </properties>
        </widget>
  • <widget name="document_related_route" type="template">
          <labels>
            <label mode="any">label.document.routing.related.route</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>relatedRouteModelDocumentId</field>
          </fields>
          <properties mode="any">
            <property name="template">
              /document_routing_widgets/routing_combobox_widget_template.xhtml
            </property>
          </properties>
          <properties widgetMode="edit">
            <property name="cssStyleClass">dataInputText</property>
          </properties>
        </widget>
  • <widget name="conditional_step_value" type="template">
          <translated>true</translated>
          <fields>
            <field>condstepf:posOfChildStepToRunNext</field>
          </fields>
          <properties mode="any">
            <property name="required">true</property>
            <property name="template">
              /document_routing_widgets/conditional_folder_options_widget_template.xhtml
            </property>
          </properties>
        </widget>
  • <widget name="workflow_name" type="text">
          <labels>
            <label mode="any">Workflow Name</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.extendedInfos['workflowName'].serializableValue</field>
          </fields>
        </widget>
  • <widget name="workflow_name" type="text">
          <labels>
            <label mode="any">Workflow Name</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.extendedInfos['workflowName'].serializableValue</field>
          </fields>
        </widget>
  • <widget name="workflow_description" type="text">
          <labels>
            <label mode="any">Description</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.extendedInfos['workflowDescription'].serializableValue</field>
          </fields>
        </widget>
  • <widget name="workflow_initiator" type="text">
          <labels>
            <label mode="any">Initiator</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.extendedInfos['workflowInitiator'].serializableValue</field>
          </fields>
        </widget>
  • <widget name="workflow_start_date" type="datetime">
          <labels>
            <label mode="any">Start Date</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.extendedInfos['workflowStartDate'].serializableValue</field>
          </fields>
        </widget>
  • <widget name="workflow_end_date" type="datetime">
          <labels>
            <label mode="any">End Date</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.extendedInfos['workflowEndDate'].serializableValue</field>
          </fields>
        </widget>

XML source

<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    <widget name="summary_current_route_action" type="summary_current_route_action"/>
    <widget name="summary_document_route_action" type="summary_document_route_action"/>
    <widget name="summary_current_route_actions_lock" type="summary_current_route_actions_lock"/>

    <widget name="participatingDocuments" type="template">
      <labels>
        <label mode="any">label.document.routing.participatingDocuments
        </label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>docri:participatingDocuments</field>
      </fields>
      <properties mode="any">
        <property name="template">
          /document_routing_widgets/document_suggestion_widget_template.xhtml
        </property>
      </properties>
      <properties widgetMode="edit">
        <property name="cssStyleClass">dataInputText</property>
      </properties>
    </widget>

    <widget name="execution_type" type="selectOneDirectory">
      <fields>
        <field>stepf:execution</field>
      </fields>
      <labels>
        <label mode="any">label.step.folder.execution.type</label>
      </labels>
      <translated>true</translated>
      <properties widgetMode="edit">
        <property name="required">true</property>
      </properties>
      <properties widgetMode="any">
        <property name="directoryName">execution_type</property>
        <property name="localize">true</property>
      </properties>
    </widget>

    <widget name="document_related_route" type="template">
      <labels>
        <label mode="any">label.document.routing.related.route</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>relatedRouteModelDocumentId</field>
      </fields>
      <properties mode="any">
        <property name="template">
          /document_routing_widgets/routing_combobox_widget_template.xhtml
        </property>
      </properties>
      <properties widgetMode="edit">
        <property name="cssStyleClass">dataInputText</property>
      </properties>
    </widget>

    <widget name="conditional_step_value" type="template">
      <translated>true</translated>
      <fields>
        <field>condstepf:posOfChildStepToRunNext</field>
      </fields>
      <properties mode="any">
        <property name="required">true</property>
        <property name="template">
          /document_routing_widgets/conditional_folder_options_widget_template.xhtml
        </property>
      </properties>
    </widget>
    <!-- Widget set for route content view layout route_content_view_layout -->
    <widget name="workflow_name" type="text">
      <labels>
        <label mode="any">Workflow Name</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.extendedInfos['workflowName'].serializableValue</field>
      </fields>
    </widget>
    <widget name="workflow_name" type="text">
      <labels>
        <label mode="any">Workflow Name</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.extendedInfos['workflowName'].serializableValue</field>
      </fields>
    </widget>
    <widget name="workflow_description" type="text">
      <labels>
        <label mode="any">Description</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.extendedInfos['workflowDescription'].serializableValue</field>
      </fields>
    </widget>
    <widget name="workflow_initiator" type="text">
      <labels>
        <label mode="any">Initiator</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.extendedInfos['workflowInitiator'].serializableValue</field>
      </fields>
    </widget>
    <widget name="workflow_start_date" type="datetime">
      <labels>
        <label mode="any">Start Date</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.extendedInfos['workflowStartDate'].serializableValue</field>
      </fields>
    </widget>
    <widget name="workflow_end_date" type="datetime">
      <labels>
        <label mode="any">End Date</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.extendedInfos['workflowEndDate'].serializableValue</field>
      </fields>
    </widget>
  </extension>