Platform Explorer / Nuxeo Platform 2021.26

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

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

Extension Point

Extension point widgettypes of component WebLayoutManager.

Registration Order

22
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

  • <widgetType name="listing_process_task">
          <configuration>
            <title>Listing process task link</title>
            <documentation>
              Two fields are required:
              <ul>
                <li>A field to map the task</li>
                <li>A field to map the targetDocumentId on the task</li>
              </ul>
            </documentation>
            <sinceVersion>5.7.3</sinceVersion>
            <categories>
              <category>routing</category>
            </categories>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <supportedTypes>
                <type>string</type>
              </supportedTypes>
            </fields>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_process_task_widget_template.xhtml
          </property>
        </widgetType>

    Two fields are required:

  • <widgetType name="listing_workflow_name_task">
          <configuration>
            <title>Listing the name of the workflow that created the task
            </title>
            <documentation>
              A field is required:
              <ul>
                <li>A field to map the processId on the task</li>
              </ul>
            </documentation>
            <sinceVersion>5.7.3</sinceVersion>
            <categories>
              <category>routing</category>
            </categories>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <supportedTypes>
                <type>string</type>
              </supportedTypes>
            </fields>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_workflow_name_task_widget_template.xhtml
          </property>
        </widgetType>

    A field is required:

XML Source

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

    <widgetType name="listing_process_task">
      <configuration>
        <title>Listing process task link</title>
        <documentation>
          Two fields are required:
          <ul>
            <li>A field to map the task</li>
            <li>A field to map the targetDocumentId on the task</li>
          </ul>
        </documentation>
        <sinceVersion>5.7.3</sinceVersion>
        <categories>
          <category>routing</category>
        </categories>
        <supportedModes>
          <mode>view</mode>
        </supportedModes>
        <fields>
          <list>false</list>
          <complex>false</complex>
          <supportedTypes>
            <type>string</type>
          </supportedTypes>
        </fields>
      </configuration>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/listing/listing_process_task_widget_template.xhtml
      </property>
    </widgetType>

    <widgetType name="listing_workflow_name_task">
      <configuration>
        <title>Listing the name of the workflow that created the task
        </title>
        <documentation>
          A field is required:
          <ul>
            <li>A field to map the processId on the task</li>
          </ul>
        </documentation>
        <sinceVersion>5.7.3</sinceVersion>
        <categories>
          <category>routing</category>
        </categories>
        <supportedModes>
          <mode>view</mode>
        </supportedModes>
        <fields>
          <list>false</list>
          <complex>false</complex>
          <supportedTypes>
            <type>string</type>
          </supportedTypes>
        </fields>
      </configuration>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/listing/listing_workflow_name_task_widget_template.xhtml
      </property>
    </widgetType>
  </extension>