Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.ecm.rating.widgets--widgettypes

This contribution is part of XML component org.nuxeo.ecm.rating.widgets inside nuxeo-rating-web-5.6-RC1.jar /OSGI-INF/widgets-contrib.xml

Extension point

Extension point widgettypes of component WebLayoutManager.

Contributed items

  • <widgetType name="summary_document_like_status">
          <configuration>
            <sinceVersion>5.6</sinceVersion>
            <title>Like Summary</title>
            <description>
              <p>This widgets displays how many people like a document</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/like_status_widget_template.xhtml
          </property>
        </widgetType>

    This widgets displays how many people like a document

XML source

<extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    <widgetType name="summary_document_like_status">
      <configuration>
        <sinceVersion>5.6</sinceVersion>
        <title>Like Summary</title>
        <description>
          <p>This widgets displays how many people like a document</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/like_status_widget_template.xhtml
      </property>
    </widgetType>
  </extension>