Platform Explorer / Nuxeo Platform LTS 2015 7.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-7.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>

    This widget type displays comments for a log entry, displaying links to documents if they are referenced in it.

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>