Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.ecm.platform.rendition.summary--widgettypes

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

Contribute a Summary widget to display available rendition on the currentDocument

Extension point

Extension point widgettypes of component WebLayoutManager.

Contributed items

  • <widgetType name="summary_current_document_renditions">
          <configuration>
            <sinceVersion>5.6</sinceVersion>
            <title>Available renditions</title>
            <description>
              <p>
                This widgets displays the available renditions on the current Document.
              </p>
              <p>
                It requires the following variables to be present in the EL context:
                <ul>
                  <li>currentDocument: the current document</li>
                </ul>
              </p>
            </description>
            <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/renditions_widget_template.xhtml
          </property>
        </widgetType>

    This widgets displays the available renditions on the current Document.

    It requires the following variables to be present in the EL context:

    • currentDocument: the current document

XML source

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

    <documentation>
      Contribute a Summary widget to display available rendition on the currentDocument
    </documentation>

    <widgetType name="summary_current_document_renditions">
      <configuration>
        <sinceVersion>5.6</sinceVersion>
        <title>Available renditions</title>
        <description>
          <p>
            This widgets displays the available renditions on the current Document.
          </p>
          <p>
            It requires the following variables to be present in the EL context:
            <ul>
              <li>currentDocument: the current document</li>
            </ul>
          </p>
        </description>
        <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/renditions_widget_template.xhtml
      </property>
    </widgetType>

  </extension>