Platform Explorer / Nuxeo Platform 5.6

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

Services

Extension points

Contributions

XML source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.routing.layouts.webapp">
  <require>org.nuxeo.ecm.platform.forms.layouts.webapp.summary</require>
  <require>org.nuxeo.ecm.platform.forms.layouts.webapp.base</require>
  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
    point="widgettypes">

    <widgetType name="summary_current_route_action">
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/summary/summary_current_route_action.xhtml
      </property>
    </widgetType>
    <widgetType name="summary_current_route_actions_lock">
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/summary/summary_actions_lock_route_widget_template.xhtml
      </property>
    </widgetType>
    <widgetType name="summary_document_route_action">
      <configuration>
        <sinceVersion>1.8</sinceVersion>
        <title>Related route summary</title>
        <description>
          This widgets allows to view/start a route related
          to the current Case.
        </description>
        <categories>
          <!-- deprecated summary => remove from this category -->
          <!-- <category>summary</category> -->
          <category>cmf</category>
        </categories>
        <supportedModes>
          <mode>view</mode>
          <mode>edit</mode>
        </supportedModes>
        <!-- no configurable properties -->
      </configuration>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/summary/summary_document_route_action.xhtml
      </property>
    </widgetType>
  </extension>

  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
    point="widgets">
    <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>

  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
    point="layouts">
    <layout name="document_related_route">
      <templates>
        <template mode="any">/layouts/layout_summary_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>document_related_route</widget>
        </row>
      </rows>
    </layout>
    <layout name="document_routing_instance">
      <templates>
        <template mode="any">/layouts/layout_summary_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>participatingDocuments</widget>
        </row>
      </rows>
    </layout>

    <layout name="step_folder">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>execution_type</widget>
        </row>
      </rows>
    </layout>

    <layout name="conditional_step_folder">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>conditional_step_value</widget>
        </row>
      </rows>
    </layout>

    <layout name="summary_document_route_layout">
      <templates>
        <template mode="any">/layouts/layout_summary_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>summary_current_document_description</widget>
          <widget>summary_current_document_view</widget>
          <widget>summary_current_document_dublincore</widget>
        </row>
        <row>
          <widget>summary_current_document_lc_and_version</widget>
          <widget>summary_current_route_actions_lock</widget>
          <widget>summary_current_route_action</widget>
        </row>
      </rows>
    </layout>

    <layout name="summary_document_route_action">
      <templates>
        <template mode="any">/layouts/layout_summary_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>summary_document_route_action</widget>
        </row>
      </rows>
    </layout>
  </extension>
</component>

Documentation