Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.ecm.platform.preview.widgets--widgettypes

This contribution is part of XML component org.nuxeo.ecm.platform.preview.widgets inside nuxeo-platform-preview-7.10-HF07.jar /OSGI-INF/widgets-contrib.xml

Extension point

Extension point widgettypes of component WebLayoutManager.

Contributed items

  • <widgetType name="documentPreview">
          <configuration>
            <sinceVersion>6.0</sinceVersion>
            <title>Document Preview</title>
            <description>
              <p>This widget type displays the document preview.</p>
            </description>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <defaultConfiguration>
                <field>data</field>
              </defaultConfiguration>
            </fields>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/document_preview_widget.xhtml
          </property>
        </widgetType>

    This widget type displays the document preview.

XML source

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

    <widgetType name="documentPreview">
      <configuration>
        <sinceVersion>6.0</sinceVersion>
        <title>Document Preview</title>
        <description>
          <p>This widget type displays the document preview.</p>
        </description>
        <fields>
          <list>false</list>
          <complex>false</complex>
          <defaultConfiguration>
            <field>data</field>
          </defaultConfiguration>
        </fields>
        <categories>
          <category>configuration_not_ready</category>
        </categories>
      </configuration>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/document_preview_widget.xhtml
      </property>
    </widgetType>

  </extension>