Platform Explorer / CMF 1.8

Contribution org.nuxeo.ecm.platform.forms.layouts.webapp--widgettypes

This contribution is part of XML component org.nuxeo.ecm.platform.forms.layouts.webapp inside nuxeo-platform-webapp-core-5.4.2-HF05.jar

Extension Point

Extension point widgettypes of component WebLayoutManager.

Contributed Items

  • <widgetType name="title_and_permlink">
    
          <documentation>
            This widgets displays the document title with a permlink icon. If the
            document is a version, the major and minor are displayed in parenthesis.
    
            Three fields are required :
            <ul>
              <li>an empty field to map the document</li>
              <li>the major version field</li>
              <li>the minor version field</li>
            </ul>
          </documentation>
    
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/title_with_permlink_widget_template.xhtml
          </property>
        </widgetType>

    This widgets displays the document title with a permlink icon. If the document is a version, the major and minor are displayed in parenthesis. Three fields are required :

XML Source

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

    <widgetType name="title_and_permlink">

      <documentation>
        This widgets displays the document title with a permlink icon. If the
        document is a version, the major and minor are displayed in parenthesis.

        Three fields are required :
        <ul>
          <li>an empty field to map the document</li>
          <li>the major version field</li>
          <li>the minor version field</li>
        </ul>
      </documentation>

      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/title_with_permlink_widget_template.xhtml
      </property>
    </widgetType>

  </extension>