Platform Explorer / Nuxeo Platform LTS 2019 10.10

Contribution org.nuxeo.platform.TemplateSources.summary.contrib--widgettypes

This contribution is part of XML component org.nuxeo.platform.TemplateSources.summary.contrib inside nuxeo-template-rendering-jsf-10.10.jar /OSGI-INF/layouts-summary-contrib.xml

Documentation

Contribute a Summary widget to display available template rendering that are not renditions

Extension Point

Extension point widgettypes of component WebLayoutManager.

Registration Order

31
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <widgetType name="summary_current_document_renderable_templates">
          <configuration>
            <sinceVersion>5.6</sinceVersion>
            <title>Available renderable templates</title>
            <description>
              <p>
                This widgets displays the available renderable templates associated to the current Document that are not declared as renditions.
              </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/rendertemplates_widget_template.xhtml
          </property>
        </widgetType>

XML Source

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

    <documentation>
      Contribute a Summary widget to display available template rendering that are not renditions
    </documentation>

    <widgetType name="summary_current_document_renderable_templates">
      <configuration>
        <sinceVersion>5.6</sinceVersion>
        <title>Available renderable templates</title>
        <description>
          <p>
            This widgets displays the available renderable templates associated to the current Document that are not declared as renditions.
          </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/rendertemplates_widget_template.xhtml
      </property>
    </widgetType>

  </extension>