Platform Explorer / Nuxeo Platform LTS 2019 10.10

Contribution org.nuxeo.platform.audit.layoutContrib--widgettypes

This contribution is part of XML component org.nuxeo.platform.audit.layoutContrib inside nuxeo-platform-audit-client-10.10-HF33.jar /OSGI-INF/layout-contrib.xml

Extension Point

Extension point widgettypes of component WebLayoutManager.

Registration Order

4
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="audit_comments">
          <configuration>
            <sinceVersion>5.5</sinceVersion>
            <title>Audit comments</title>
            <description>
              <p>
                This widget type displays comments for a log entry, displaying
                links to documents if they are referenced in it.
              </p>
            </description>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <defaultConfiguration>
                <field>data.preprocessedComment</field>
              </defaultConfiguration>
            </fields>
            <categories>
              <category>audit</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/auditcomment_widget_template.xhtml
          </property>
    
        </widgetType>

XML Source

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

    <widgetType name="audit_comments">
      <configuration>
        <sinceVersion>5.5</sinceVersion>
        <title>Audit comments</title>
        <description>
          <p>
            This widget type displays comments for a log entry, displaying
            links to documents if they are referenced in it.
          </p>
        </description>
        <fields>
          <list>false</list>
          <complex>false</complex>
          <defaultConfiguration>
            <field>data.preprocessedComment</field>
          </defaultConfiguration>
        </fields>
        <categories>
          <category>audit</category>
        </categories>
      </configuration>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/auditcomment_widget_template.xhtml
      </property>

    </widgetType>

  </extension>