Platform Explorer / Nuxeo Platform LTS 2019 10.10

Contribution org.nuxeo.ecm.platform.mail.jsf.layouts.contrib--widgettypes

This contribution is part of XML component org.nuxeo.ecm.platform.mail.jsf.layouts.contrib inside nuxeo-platform-mail-jsf-10.10.jar /OSGI-INF/nxmail-layouts-contrib.xml

Extension Point

Extension point widgettypes of component WebLayoutManager.

Registration Order

16
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="listing_mail_body">
    
          <documentation>
            This widget type displays the first words of the mail Body
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>
                first field mapping the mail text property.
              </li>
              <li>
                first field mapping the mail htmlText property.
              </li>
              <li>
                first field mapping the document title property.
              </li>
            </ul>
          </documentation>
          <configuration>
            <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/listing/listing_mail_body_widget_template.xhtml
          </property>
    
        </widgetType>

    This widget type displays the first words of the mail Body It requires the following fields configuration:

  • <widgetType name="listing_mail_contact">
    
          <documentation>
            This widget type displays the mail addresses within a mailTo link.
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>
                first field mapping the mail sender property.
              </li>
              <li>
                second field mapping the mail recipient property.
              </li>
              <li>
                third field mapping the mail cc_recipient property.
              </li>
            </ul>
          </documentation>
          <configuration>
            <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/listing/listing_mail_contact_widget_template.xhtml
          </property>
    
        </widgetType>

    This widget type displays the mail addresses within a mailTo link. It requires the following fields configuration:

  • <widgetType name="listing_mail_object">
    
          <documentation>
            This widget type displays the mail object and the sending date.
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>
                first field mapping the dublincore title property.
              </li>
            </ul>
          </documentation>
          <configuration>
            <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/listing/listing_mail_object_widget_template.xhtml
          </property>
        </widgetType>

    This widget type displays the mail object and the sending date. It requires the following fields configuration:

  • <widgetType name="listing_mail_sending_date">
    
          <documentation>
            This widget type displays the sending date.
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>
                First field mapping the mail sending_date property.
              </li>
            </ul>
          </documentation>
          <configuration>
            <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/listing/listing_mail_sending_date_widget_template.xhtml
          </property>
        </widgetType>

    This widget type displays the sending date. It requires the following fields configuration:

  • <widgetType name="listing_mail_attachments">
    
          <documentation>
            This widget type displays the mail attachments. This widget requires
            a document with the files schema.
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>
                first field mapping the files property.
              </li>
              <li>
                second field mapping the document.
              </li>
            </ul>
          </documentation>
          <configuration>
            <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/listing/listing_mail_attachments_widget_template.xhtml
          </property>
        </widgetType>

    This widget type displays the mail attachments. This widget requires a document with the files schema. It requires the following fields configuration:

XML Source

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

    <widgetType name="listing_mail_body">

      <documentation>
        This widget type displays the first words of the mail Body
        <br/>
        It requires the following fields configuration:
        <ul>
          <li>
            first field mapping the mail text property.
          </li>
          <li>
            first field mapping the mail htmlText property.
          </li>
          <li>
            first field mapping the document title property.
          </li>
        </ul>
      </documentation>
      <configuration>
        <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/listing/listing_mail_body_widget_template.xhtml
      </property>

    </widgetType>

    <widgetType name="listing_mail_contact">

      <documentation>
        This widget type displays the mail addresses within a mailTo link.
        <br/>
        It requires the following fields configuration:
        <ul>
          <li>
            first field mapping the mail sender property.
          </li>
          <li>
            second field mapping the mail recipient property.
          </li>
          <li>
            third field mapping the mail cc_recipient property.
          </li>
        </ul>
      </documentation>
      <configuration>
        <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/listing/listing_mail_contact_widget_template.xhtml
      </property>

    </widgetType>

    <widgetType name="listing_mail_object">

      <documentation>
        This widget type displays the mail object and the sending date.
        <br/>
        It requires the following fields configuration:
        <ul>
          <li>
            first field mapping the dublincore title property.
          </li>
        </ul>
      </documentation>
      <configuration>
        <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/listing/listing_mail_object_widget_template.xhtml
      </property>
    </widgetType>

    <widgetType name="listing_mail_sending_date">

      <documentation>
        This widget type displays the sending date.
        <br/>
        It requires the following fields configuration:
        <ul>
          <li>
            First field mapping the mail sending_date property.
          </li>
        </ul>
      </documentation>
      <configuration>
        <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/listing/listing_mail_sending_date_widget_template.xhtml
      </property>
    </widgetType>

    <widgetType name="listing_mail_attachments">

      <documentation>
        This widget type displays the mail attachments. This widget requires
        a document with the files schema.
        <br/>
        It requires the following fields configuration:
        <ul>
          <li>
            first field mapping the files property.
          </li>
          <li>
            second field mapping the document.
          </li>
        </ul>
      </documentation>
      <configuration>
        <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/listing/listing_mail_attachments_widget_template.xhtml
      </property>
    </widgetType>
  </extension>