Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.ecm.platform.routing.contentView.contrib--contentViews

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

Extension point

Extension point contentViews of component ContentViewService.

Contributed items

  • <contentView name="route_past_steps">
          <title>label.document.routing.past.steps</title>
          <translateTitle>true</translateTitle>
          <showTitle>true</showTitle>
          <coreQueryPageProvider>
            <property name="coreSession">#{documentManager}</property>
            <parameter>#{currentDocument.id}</parameter>
            <parameter>#{routingActions.getRelatedRoute().getDocument().getId()}</parameter>
            <whereClause docType="TaskDoc">
              <fixedPart>
                nt:targetDocumentId = ? AND 
                nt:processId = ? AND
                ecm:currentLifeCycleState = 'ended'
              </fixedPart>
            </whereClause>
            <pageSize>10</pageSize>
          </coreQueryPageProvider>
          <showFilterForm>false</showFilterForm>
          <showRefreshCommand>false</showRefreshCommand>
          <showPageSizeSelector>false</showPageSizeSelector>
          <useGlobalPageSize>false</useGlobalPageSize>
          <refresh>
            <event>documentCreated</event>
            <event>workflowTaskCompleted</event>
            <event>tasksCacheReset</event>
          </refresh>
          <cacheSize>10</cacheSize>
          <cacheKey>#{org.jboss.seam.core.manager.currentConversationId}
          </cacheKey>
          <resultLayouts>
            <layout iconPath="" name="route_content_view_layout" showCSVExport="false" showPDFExport="false" title="" translateTitle=""/>
          </resultLayouts>
        </contentView>

XML source

<extension point="contentViews" target="org.nuxeo.ecm.platform.ui.web.ContentViewService">

    <contentView name="route_past_steps">
      <title>label.document.routing.past.steps</title>
      <translateTitle>true</translateTitle>
      <showTitle>true</showTitle>
      <coreQueryPageProvider>
        <property name="coreSession">#{documentManager}</property>
        <parameter>#{currentDocument.id}</parameter>
        <parameter>#{routingActions.getRelatedRoute().getDocument().getId()}</parameter>
        <whereClause docType="TaskDoc">
          <fixedPart>
            nt:targetDocumentId = ? AND 
            nt:processId = ? AND
            ecm:currentLifeCycleState = 'ended'
          </fixedPart>
        </whereClause>
        <pageSize>10</pageSize>
      </coreQueryPageProvider>
      <showFilterForm>false</showFilterForm>
      <showRefreshCommand>false</showRefreshCommand>
      <showPageSizeSelector>false</showPageSizeSelector>
      <useGlobalPageSize>false</useGlobalPageSize>
      <refresh>
        <event>documentCreated</event>
        <event>workflowTaskCompleted</event>
        <event>tasksCacheReset</event>
      </refresh>
      <cacheSize>10</cacheSize>
      <cacheKey>#{org.jboss.seam.core.manager.currentConversationId}
      </cacheKey>
      <resultLayouts>
        <layout iconPath="" name="route_content_view_layout" showCSVExport="false" showPDFExport="false" title="" translateTitle=""/>
      </resultLayouts>
    </contentView>
  </extension>