Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.ecm.user.center.dashboard.jsf.layouts.listing--widgets

This contribution is part of XML component org.nuxeo.ecm.user.center.dashboard.jsf.layouts.listing inside nuxeo-user-dashboard-jsf-7.10-HF01.jar /OSGI-INF/layouts-listing-contrib.xml

Extension point

Extension point widgets of component WebLayoutManager.

Contributed items

  • <widget name="listing_task_name" type="listing_task_name">
          <labels>
            <label mode="any">label.workflow.task.name</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data</field>
          </fields>
        </widget>
  • <widget name="listing_task_document_title_link" type="listing_title_link">
          <labels>
            <label mode="any">label.title</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.document</field>
            <field>data.document.ref</field>
            <field>data.document.dc.description</field>
          </fields>
        </widget>
  • <widget name="listing_task_directive" type="text">
          <labels>
            <label mode="any">label.review.directive</label>
          </labels>
          <translated>true</translated>
          <properties widgetMode="any">
            <property name="value">
              #{layoutValue.data.i18nDirective}
            </property>
          </properties>
        </widget>
  • <widget name="listing_task_comment" type="text">
          <labels>
            <label mode="any">label.review.user.comment</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.comment</field>
          </fields>
        </widget>
  • <widget name="listing_task_dueDate" type="datetime">
          <labels>
            <label mode="any">label.workflow.task.duedate</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.dueDate</field>
          </fields>
          <properties widgetMode="any">
            <property name="styleClass">
              #{nxu:test(layoutValue.data.expired, 'error', '')}
            </property>
            <property name="pattern">#{nxu:dateAndTimeFormatter('medium')}</property>
          </properties>
        </widget>
  • <widget name="listing_task_startDate" type="datetime">
          <labels>
            <label mode="any">label.workflow.task.startDate</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.startDate</field>
          </fields>
          <properties widgetMode="any">
            <property name="pattern">#{nxu:dateAndTimeFormatter('medium')}</property>
          </properties>
        </widget>
  • <widget name="listing_process_name" type="listing_process_name">
          <labels>
            <label mode="any">label.name</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.processInstanceName</field>
          </fields>
        </widget>
  • <widget name="listing_process_document_title_link" type="listing_title_link">
          <labels>
            <label mode="any">label.title</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.documentModel</field>
            <field>data.documentModel.ref</field>
            <field>data.documentModel.dc.description</field>
          </fields>
          <properties widgetMode="any">
            <property name="tab">TAB_CONTENT_JBPM</property>
          </properties>
        </widget>
  • <widget name="listing_process_startDate" type="datetime">
          <labels>
            <label mode="any">label.workflow.task.startDate</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.processInstanceStartDate</field>
          </fields>
          <properties widgetMode="any">
            <property name="pattern">#{nxu:dateAndTimeFormatter('medium')}</property>
          </properties>
        </widget>

XML source

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

    <widget name="listing_task_name" type="listing_task_name">
      <labels>
        <label mode="any">label.workflow.task.name</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data</field>
      </fields>
    </widget>

    <widget name="listing_task_document_title_link" type="listing_title_link">
      <labels>
        <label mode="any">label.title</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.document</field>
        <field>data.document.ref</field>
        <field>data.document.dc.description</field>
      </fields>
    </widget>

    <widget name="listing_task_directive" type="text">
      <labels>
        <label mode="any">label.review.directive</label>
      </labels>
      <translated>true</translated>
      <properties widgetMode="any">
        <property name="value">
          #{layoutValue.data.i18nDirective}
        </property>
      </properties>
    </widget>

    <widget name="listing_task_comment" type="text">
      <labels>
        <label mode="any">label.review.user.comment</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.comment</field>
      </fields>
    </widget>

    <widget name="listing_task_dueDate" type="datetime">
      <labels>
        <label mode="any">label.workflow.task.duedate</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.dueDate</field>
      </fields>
      <properties widgetMode="any">
        <property name="styleClass">
          #{nxu:test(layoutValue.data.expired, 'error', '')}
        </property>
        <property name="pattern">#{nxu:dateAndTimeFormatter('medium')}</property>
      </properties>
    </widget>

    <widget name="listing_task_startDate" type="datetime">
      <labels>
        <label mode="any">label.workflow.task.startDate</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.startDate</field>
      </fields>
      <properties widgetMode="any">
        <property name="pattern">#{nxu:dateAndTimeFormatter('medium')}</property>
      </properties>
    </widget>

    <widget name="listing_process_name" type="listing_process_name">
      <labels>
        <label mode="any">label.name</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.processInstanceName</field>
      </fields>
    </widget>

    <widget name="listing_process_document_title_link" type="listing_title_link">
      <labels>
        <label mode="any">label.title</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.documentModel</field>
        <field>data.documentModel.ref</field>
        <field>data.documentModel.dc.description</field>
      </fields>
      <properties widgetMode="any">
        <property name="tab">TAB_CONTENT_JBPM</property>
      </properties>
    </widget>

    <widget name="listing_process_startDate" type="datetime">
      <labels>
        <label mode="any">label.workflow.task.startDate</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.processInstanceStartDate</field>
      </fields>
      <properties widgetMode="any">
        <property name="pattern">#{nxu:dateAndTimeFormatter('medium')}</property>
      </properties>
    </widget>

  </extension>