Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.ecm.platform.routing.layouts.summary--widgettypes

This contribution is part of XML component org.nuxeo.ecm.platform.routing.layouts.summary inside nuxeo-routing-web-7.10-HF01.jar /OSGI-INF/layouts-summary-contrib.xml

Extension point

Extension point widgettypes of component WebLayoutManager.

Contributed items

  • <widgetType name="summary_document_route">
          <configuration>
            <sinceVersion>5.6</sinceVersion>
            <title>Workflow Process</title>
            <description>
              <p>
                If there is no route started on the current document, this widget
                displays a form to select and launch a workflow.
              </p>
              <p>
                If there is already a route started, it displays the name of
                the started route.
              </p>
            </description>
            <handlingLabels>true</handlingLabels>
            <categories>
              <category>summary</category>
            </categories>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
            <!-- no configurable properties -->
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/summary/document_route_widget_template.xhtml
          </property>
        </widgetType>

    If there is no route started on the current document, this widget displays a form to select and launch a workflow.

    If there is already a route started, it displays the name of the started route.

XML source

<extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    <widgetType name="summary_document_route">
      <configuration>
        <sinceVersion>5.6</sinceVersion>
        <title>Workflow Process</title>
        <description>
          <p>
            If there is no route started on the current document, this widget
            displays a form to select and launch a workflow.
          </p>
          <p>
            If there is already a route started, it displays the name of
            the started route.
          </p>
        </description>
        <handlingLabels>true</handlingLabels>
        <categories>
          <category>summary</category>
        </categories>
        <supportedModes>
          <mode>view</mode>
        </supportedModes>
        <!-- no configurable properties -->
      </configuration>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/summary/document_route_widget_template.xhtml
      </property>
    </widgetType>
  </extension>