Platform Explorer / Nuxeo Platform LTS 2017 9.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-9.10.jar /OSGI-INF/layout-contrib.xml

Extension Point

Extension point widgettypes of component WebLayoutManager.

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>