Platform Explorer / Nuxeo Platform 5.6

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

This contribution is part of XML component org.nuxeo.ecm.platform.mail.web.layouts.contrib inside nuxeo-platform-mail-web-5.6.jar

Extension point

Extension point widgettypes of component WebLayoutManager.

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:

    • first field mapping the mail text property.
    • first field mapping the mail htmlText property.
    • first field mapping the document title property.
  • <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:

    • first field mapping the mail sender property.
    • second field mapping the mail recipient property.
    • third field mapping the mail cc_recipient property.
  • <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:

    • first field mapping the dublincore title property.
  • <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:

    • First field mapping the mail sending_date property.
  • <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:

    • first field mapping the files property.
    • second field mapping the document.

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>