Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.ecm.platform.forum.layouts--widgettypes

This contribution is part of XML component org.nuxeo.ecm.platform.forum.layouts inside nuxeo-platform-forum-7.10.jar /OSGI-INF/forum-layouts-listing-contrib.xml

Extension point

Extension point widgettypes of component WebLayoutManager.

Contributed items

  • <widgetType name="forum_post_info">
          <configuration>
            <sinceVersion>5.8</sinceVersion>
            <title>Forum post information</title>
            <description>
              <p>This widget type displays information about a post</p>
              <p>
                It requires the following fields configuration:
                <ul>
                  <li>
                    first field maps the document representing the forum post.
                  </li>
                </ul>
              </p>
            </description>
            <fields>
              <list>false</list>
              <complex>false</complex>
            </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/forum_post_info.xhtml
          </property>
        </widgetType>

    This widget type displays information about a post

    It requires the following fields configuration:

    • first field maps the document representing the forum post.

XML source

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

    <widgetType name="forum_post_info">
      <configuration>
        <sinceVersion>5.8</sinceVersion>
        <title>Forum post information</title>
        <description>
          <p>This widget type displays information about a post</p>
          <p>
            It requires the following fields configuration:
            <ul>
              <li>
                first field maps the document representing the forum post.
              </li>
            </ul>
          </p>
        </description>
        <fields>
          <list>false</list>
          <complex>false</complex>
        </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/forum_post_info.xhtml
      </property>
    </widgetType>

  </extension>