Platform Explorer / CMF 1.8

Extension point widgettypes

Documentation

A widget type defines how a widget will be displayed in a given mode.

For instance, the text widget type will display a regular text in view mode, and a text input on create or edit modes, with additional message on errors.

Widget types use facelets features to provide this behaviour. Extensions are defined using a class that must follow the {@see org.nuxeo.ecm.platform.forms.layout.facelets.WidgetTypeHandler} interface.

Additional properties can be added to the type registration so that the same class can be reused with a different behaviour given the property value.

Example of a widget type registration:

    <widgetType name="text">
        <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TextWidgetTypeHandler
          </handler-class>
        <property name="foo">bar</property>
    </widgetType>

Contribution Descriptors

  • Class: org.nuxeo.ecm.platform.forms.layout.descriptors.WidgetTypeDescriptor

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-platform-webapp-base-5.4.2-HF05.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    
        <widgetType name="life_cycle_transitions">
    
          <documentation>
            This widget type displays a selection of available life cycle transitions
            given a life cycle state and a life cycle policy.
            <br/>
            It requires the configuration of the first field to map to a String
            value storing the chosen life cycle transition.
            <br/>
            It needs the following properties configuration:
            <ul>
              <li>
                currentLifeCycleState: the current state from where to start finding
                the available transitions.
              </li>
              <li>
                lifeCycleName: represents the life cycle from which to retrieve the
                transitions.
              </li>
            </ul>
            <br/>
            A standard definition could be:
            <code>
              <widget name="life_cycle_transitions" type="life_cycle_transitions">
                <labels>
                  <label mode="any"/>
                </labels>
                <fields>
                  <field>contextData['request/lifeCycleTransition']</field>
                </fields>
                <properties widgetMode="edit">
                  <property name="currentLifeCycleState">#{layoutValue.currentLifeCycleState}</property>
                  <property name="lifeCycleName">#{layoutValue.lifeCyclePolicy}</property>
                </properties>
              </widget>
            </code>
          </documentation>
    
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/life_cycle_transitions_widget_template.xhtml
          </property>
    
        </widgetType>
    
      </extension>
  • nuxeo-platform-faceted-search-jsf-5.4.2-HF05.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    
        <widgetType name="date_range">
          <documentation>Widget used to search on a date range.</documentation>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/date_range_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="faceted_search_users_suggestion">
          <documentation>
            Widget allowing to search and select one or more users with a suggestion
            box.
          </documentation>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/user_suggestion_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="faceted_search_wrapper">
          <documentation>
            Template widget dedicated to wrap other sub widgets. It displays the
            widget label, and list the sub widgets below according to the
            wrapperMode. The sub widgets can use 3 wrapperMode (to be defined in the
            sub widget properties): - row: the sub widget label is displayed on one
            row, and the sub widget content on another row. - column: the sub widget
            label and content are displayed on the same row - noLabel: the sub
            widget label is not displayed at all.
          </documentation>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/faceted_search_wrapper_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="faceted_searches_selector">
          <documentation>
            Widget displaying all the registered faceted searches. Hidden in case
            only one faceted search is registered.
          </documentation>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/faceted_searches_selector_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="saved_faceted_searches_selector">
          <documentation>
            Widget displaying all the saved faceted searches. It displays 2
            categories: - Your searches: your saved faceted searches - All searches:
            all the other users shared saved faceted searches.
    
            The "outcome" property needs to be defined: on which JSF view should we
            redirect after selecting a saved search.
          </documentation>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/saved_faceted_searches_selector_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="faceted_search_directory_tree">
          <documentation>
            Widget allowing to select one or more values from a Tree constructed
            from the directory tree specified in the directoryTreeName property.
    
            <code>
              <widget name="dc_coverage" type="faceted_search_directory_tree">
                <labels>
                  <label mode="any">label.faceted.search.coverage</label>
                </labels>
                <translated>true</translated>
                <fields>
                  <field>fsd:dc_coverage</field>
                </fields>
                <properties widgetMode="any">
                  <property name="directoryTreeName">byCoverageNavigation</property>
                  <property name="wrapperMode">noLabel</property>
                </properties>
              </widget>
            </code>
    
          </documentation>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/faceted_search_directory_tree_widget_template.xhtml
          </property>
        </widgetType>
      </extension>
  • nuxeo-platform-faceted-search-jsf-5.4.2-HF05.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    
        <widgetType name="faceted_search_content_views_selection">
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">/widgets/faceted_search_contentView_selection_widget_template.xhtml
          </property>
        </widgetType>
    
      </extension>
  • nuxeo-platform-mail-web-5.4.2-HF05.jar
    <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>
          
    
          <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>
    
          <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>
    
          <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>
    
          <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>
    
          <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>
  • nuxeo-user-dashboard-jsf-5.4.2-HF05.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    
        <widgetType name="listing_task_name">
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_task_name_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="listing_process_name">
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_process_name_widget_template.xhtml
          </property>
        </widgetType>
    
      </extension>
  • nuxeo-platform-document-routing-web-5.4.3-I20110729.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    
        <widgetType name="remove_step">
          <documentation>
            This remove_step widget displays a link to delete a step.
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>The step document Id.</li>
            </ul>
          </documentation>
    
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/remove_step_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="add_step">
          <documentation>
            This add_step widget displays three different links.
            <br/>
            Add before will add a new step before the selected step. Add in will add
            a new step at the end of the container. Add after will add a new step
            after the selected step.
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>The step document.</li>
              <li>The step document Id.</li>
              <li>A Boolean used to render the Add In Button if true.</li>
            </ul>
          </documentation>
    
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/add_step_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="listing_document_route_folder_element_type">
          <documentation>
            This widget type displays an icon representing the type of folder,
            "Serial" or "Parallel "
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>the documentRouteElement</li>
            </ul>
          </documentation>
    
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_document_route_folder_element_type_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="listing_document_route_element_type">
          <documentation>
            This widget type displays the type and the type icon of the document.
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>the document type icon</li>
              <li>the document type</li>
            </ul>
          </documentation>
    
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_document_route_element_type_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="listing_edit_document_route_element">
          <documentation>
            This widget type allows to edit a route element
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>the route documuent model</li>
              <li>the route documuent model id</li>
            </ul>
          </documentation>
    
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_edit_document_route_element_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="listing_no_comments">
          <documentation>
            This widget type displays the number of comments
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>the step documuent model</li>
              <li/>
            </ul>
          </documentation>
    
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_no_comments_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="step_actions">
          <documentation>
            This widget type displays available step actions for the given doc.
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>The step document.</li>
              <li>The step document Id.</li>
              <li>A Boolean used to render the Add In Button if true.</li>
            </ul>
          </documentation>
    
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/route_actions_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="listing_route_title_link">
    
          <documentation>
            Override the default widget to add useful information for selenium. This
            widget type displays a link to navigate to a document, as well as a
            download link for the document binary content.
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>
                first field maps the document model, it will be used to display the
                document link and its title
              </li>
              <li>
                second field maps the unique id to be used for contextual menu (e.g.
                the document model id)
              </li>
              <li>
                third field maps the displayed link title (can be the document model
                description)
              </li>
              <li>
                fourth field maps the document model file to be used for download
                link
              </li>
              <li>
                fifth field maps the file name to be used for download link (can be
                the document model file name property value)
              </li>
            </ul>
            It also requires the following properties configuration:
            <ul>
              <li>
                file_schema: the file schema name, used to check whether download
                link should be displayed
              </li>
              <li>file_property_name:</li>
            </ul>
          </documentation>
    
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_route_title_link_widget_template.xhtml
          </property>
    
        </widgetType>
    
        <widgetType name="listing_document_route_element_state">
          <documentation>
            This remove_step widget displays a link to delete a step.
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>The document current lifeCycleState.</li>
            </ul>
          </documentation>
    
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_document_route_element_state_widget_template.xhtml
          </property>
        </widgetType>
    
      </extension>
  • nuxeo-platform-webapp-base-5.4.2-HF05.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    
        <widgetType name="select_path_tree">
          <configuration>
            <sinceVersion>5.4.0</sinceVersion>
            <title>Path tree</title>
            <description>
              Widget allowing to select one or more values from a Tree constructed
              from the navigation tree.
    
              Set 'showAllDomains' property to true if you want to be able to select
              a path from an other domain than the current one.
            </description>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/select_path_tree_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="singleUserSuggestion">
          <configuration>
            <title>Single user/group suggestion</title>
            <sinceVersion>5.4.2</sinceVersion>
            <supportedModes>
              <mode>edit</mode>
              <mode>view</mode>
            </supportedModes>
            <fields>
              <list>true</list>
              <complex>false</complex>
              <supportedTypes>
                <type>string</type>
              </supportedTypes>
            </fields>
            <categories>
              <category>document</category>
            </categories>
            <properties>
              <layouts mode="view">
                <layout name="singleUserSuggestion_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget>userSuggestionSearchType</widget>
                    </row>
                    <row>
                      <widget>firstLabelField</widget>
                    </row>
                    <row>
                      <widget>secondLabelField</widget>
                    </row>
                    <row>
                      <widget>hideFirstLabel</widget>
                    </row>
                    <row>
                      <widget>hideSecondLabel</widget>
                    </row>
                    <row>
                      <widget>displayAction</widget>
                    </row>
                  </rows>
                  <widget name="userSuggestionSearchType" type="selectOneListbox">
                    <labels>
                      <label mode="any">Search type</label>
                    </labels>
                    <fields>
                      <field>userSuggestionSearchType</field>
                    </fields>
                    <selectOptions>
                      <option itemLabel="Users" itemValue="USER_TYPE"/>
                      <option itemLabel="Groups" itemValue="GROUP_TYPE"/>
                    </selectOptions>
                  </widget>
                  <widget name="firstLabelField" type="text">
                    <labels>
                      <label mode="any">First label field</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Field to use as the first label when displaying the selected
                        user. Default to 'firstName'.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>firstLabelField</field>
                    </fields>
                  </widget>
                  <widget name="secondLabelField" type="text">
                    <labels>
                      <label mode="any">Second label field</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Field to use as the second label when displaying the
                        selected user. Default to 'lastName'.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>secondLabelField</field>
                    </fields>
                  </widget>
                  <widget name="hideFirstLabel" type="checkbox">
                    <labels>
                      <label mode="any">Hide first label</label>
                    </labels>
                    <fields>
                      <field>hideFirstLabel</field>
                    </fields>
                  </widget>
                  <widget name="hideSecondLabel" type="checkbox">
                    <labels>
                      <label mode="any">Hide second label</label>
                    </labels>
                    <fields>
                      <field>hideSecondLabel</field>
                    </fields>
                  </widget>
                  <widget name="displayAction" type="selectOneListbox">
                    <labels>
                      <label mode="any">Display action</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The display action to use when rendering the user or group.
                        Can be 'nothing' to just display text only, 'view' to have a
                        link going to the user or group view, or 'edit' to have a
                        link going to the user or group edition. The 'edit' action
                        assumes the widget is used in the Users and Groups
                        management.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>displayAction</field>
                    </fields>
                    <selectOptions>
                      <option itemLabel="Nothing" itemValue="nothing"/>
                      <option itemLabel="View" itemValue="view"/>
                      <option itemLabel="Edit" itemValue="edit"/>
                    </selectOptions>
                  </widget>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="singleUserSuggestion_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget>required</widget>
                    </row>
                    <row>
                      <widget>userSuggestionSearchType</widget>
                    </row>
                    <row>
                      <widget>userSuggestionMaxSearchResults</widget>
                    </row>
                    <row>
                      <widget>minChars</widget>
                    </row>
                    <row>
                      <widget>frequency</widget>
                    </row>
                    <row>
                      <widget>requestDelay</widget>
                    </row>
                    <row>
                      <widget>width</widget>
                    </row>
                  </rows>
                  <widget name="required" type="checkbox">
                    <labels>
                      <label mode="any">Required</label>
                    </labels>
                    <fields>
                      <field>required</field>
                    </fields>
                  </widget>
                  <widget name="userSuggestionSearchType" type="selectOneListbox">
                    <labels>
                      <label mode="any">Search type</label>
                    </labels>
                    <fields>
                      <field>userSuggestionSearchType</field>
                    </fields>
                    <selectOptions>
                      <option itemLabel="Users and groups" itemValue="USER_GROUP_TYPE"/>
                      <option itemLabel="Users" itemValue="USER_TYPE"/>
                      <option itemLabel="Groups" itemValue="GROUP_TYPE"/>
                    </selectOptions>
                  </widget>
                  <widget name="userSuggestionMaxSearchResults" type="int">
                    <labels>
                      <label mode="any">Max search results</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Number of maximum search results in the suggestion (defaults
                        to 0 that means no limit).
                      </label>
                    </helpLabels>
                    <fields>
                      <field>userSuggestionMaxSearchResults</field>
                    </fields>
                  </widget>
                  <widget name="minChars" type="int">
                    <labels>
                      <label mode="any">Minimum characters</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The minimal number of characters to type for the suggestion
                        to be active. Defaults to 3.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>minChars</field>
                    </fields>
                  </widget>
                  <widget name="frequency" type="int">
                    <labels>
                      <label mode="any">Frequency</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Delay (in seconds) before activating the suggestion pop-up.
                        Default value is 0ms.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>frequency</field>
                    </fields>
                  </widget>
                  <widget name="requestDelay" type="int">
                    <labels>
                      <label mode="any">Request delay</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The requestDelay attribute specifies an amount of time in
                        milliseconds for the request to wait in the queue before
                        being sent to the server. If a similar request is added to
                        the queue before the delay is over, the original request is
                        removed from the queue and not sent.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>requestDelay</field>
                    </fields>
                  </widget>
                  <widget name="width" type="int">
                    <labels>
                      <label mode="any">Width</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">The suggestion width.</label>
                    </helpLabels>
                    <fields>
                      <field>width</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/single_user_suggestion_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="multipleUsersSuggestion">
          <configuration>
            <title>Multiple users/groups suggestion</title>
            <sinceVersion>5.4.2</sinceVersion>
            <supportedModes>
              <mode>edit</mode>
              <mode>view</mode>
            </supportedModes>
            <fields>
              <list>true</list>
              <complex>false</complex>
              <supportedTypes>
                <type>string</type>
              </supportedTypes>
            </fields>
            <categories>
              <category>document</category>
            </categories>
            <properties>
              <layouts mode="edit">
                <layout name="multipleUsersSuggestion_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget>required</widget>
                    </row>
                    <row>
                      <widget>userSuggestionSearchType</widget>
                    </row>
                    <row>
                      <widget>userSuggestionMaxSearchResults</widget>
                    </row>
                    <row>
                      <widget>minChars</widget>
                    </row>
                    <row>
                      <widget>frequency</widget>
                    </row>
                    <row>
                      <widget>requestDelay</widget>
                    </row>
                    <row>
                      <widget>width</widget>
                    </row>
                  </rows>
                  <widget name="required" type="checkbox">
                    <labels>
                      <label mode="any">Required</label>
                    </labels>
                    <fields>
                      <field>required</field>
                    </fields>
                  </widget>
                  <widget name="userSuggestionSearchType" type="selectOneListbox">
                    <labels>
                      <label mode="any">Search type</label>
                    </labels>
                    <fields>
                      <field>userSuggestionSearchType</field>
                    </fields>
                    <selectOptions>
                      <option itemLabel="Users and groups" itemValue="USER_GROUP_TYPE"/>
                      <option itemLabel="Users" itemValue="USER_TYPE"/>
                      <option itemLabel="Groups" itemValue="GROUP_TYPE"/>
                    </selectOptions>
                  </widget>
                  <widget name="userSuggestionMaxSearchResults" type="int">
                    <labels>
                      <label mode="any">Max search results</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Number of maximum search results in the suggestion (defaults
                        to 0 that means no limit).
                      </label>
                    </helpLabels>
                    <fields>
                      <field>userSuggestionMaxSearchResults</field>
                    </fields>
                  </widget>
                  <widget name="minChars" type="int">
                    <labels>
                      <label mode="any">Minimum characters</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The minimal number of characters to type for the suggestion
                        to be active. Defaults to 3.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>minChars</field>
                    </fields>
                  </widget>
                  <widget name="frequency" type="int">
                    <labels>
                      <label mode="any">Frequency</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Delay (in seconds) before activating the suggestion pop-up.
                        Default value is 0ms.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>frequency</field>
                    </fields>
                  </widget>
                  <widget name="requestDelay" type="int">
                    <labels>
                      <label mode="any">Request delay</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The requestDelay attribute specifies an amount of time in
                        milliseconds for the request to wait in the queue before
                        being sent to the server. If a similar request is added to
                        the queue before the delay is over, the original request is
                        removed from the queue and not sent.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>requestDelay</field>
                    </fields>
                  </widget>
                  <widget name="width" type="int">
                    <labels>
                      <label mode="any">Width</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">The suggestion width.</label>
                    </helpLabels>
                    <fields>
                      <field>width</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/user_suggestion_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="multiplePrefixedUsersSuggestion">
          <configuration>
            <title>Multiple prefixed users/groups suggestion</title>
            <sinceVersion>5.4.2</sinceVersion>
            <supportedModes>
              <mode>view</mode>
              <mode>edit</mode>
            </supportedModes>
            <fields>
              <list>true</list>
              <complex>false</complex>
              <supportedTypes>
                <type>string</type>
              </supportedTypes>
            </fields>
            <categories>
              <category>document</category>
            </categories>
            <properties>
              <layouts mode="edit">
                <layout name="multiplePrefixedUsersSuggestion_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget>required</widget>
                    </row>
                    <row>
                      <widget>userSuggestionSearchType</widget>
                    </row>
                    <row>
                      <widget>userSuggestionMaxSearchResults</widget>
                    </row>
                    <row>
                      <widget>minChars</widget>
                    </row>
                    <row>
                      <widget>frequency</widget>
                    </row>
                    <row>
                      <widget>requestDelay</widget>
                    </row>
                    <row>
                      <widget>width</widget>
                    </row>
                  </rows>
                  <widget name="required" type="checkbox">
                    <labels>
                      <label mode="any">Required</label>
                    </labels>
                    <fields>
                      <field>required</field>
                    </fields>
                  </widget>
                  <widget name="userSuggestionSearchType" type="selectOneListbox">
                    <labels>
                      <label mode="any">Search type</label>
                    </labels>
                    <fields>
                      <field>userSuggestionSearchType</field>
                    </fields>
                    <selectOptions>
                      <option itemLabel="Users and groups" itemValue="USER_GROUP_TYPE"/>
                      <option itemLabel="Users" itemValue="USER_TYPE"/>
                      <option itemLabel="Groups" itemValue="GROUP_TYPE"/>
                    </selectOptions>
                  </widget>
                  <widget name="userSuggestionMaxSearchResults" type="int">
                    <labels>
                      <label mode="any">Max search results</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Number of maximum search results in the suggestion (defaults
                        to 0 that means no limit).
                      </label>
                    </helpLabels>
                    <fields>
                      <field>userSuggestionMaxSearchResults</field>
                    </fields>
                  </widget>
                  <widget name="minChars" type="int">
                    <labels>
                      <label mode="any">Minimum characters</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The minimal number of characters to type for the suggestion
                        to be active. Defaults to 3.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>minChars</field>
                    </fields>
                  </widget>
                  <widget name="frequency" type="int">
                    <labels>
                      <label mode="any">Frequency</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Delay (in seconds) before activating the suggestion pop-up.
                        Default value is 0ms.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>frequency</field>
                    </fields>
                  </widget>
                  <widget name="requestDelay" type="int">
                    <labels>
                      <label mode="any">Request delay</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The requestDelay attribute specifies an amount of time in
                        milliseconds for the request to wait in the queue before
                        being sent to the server. If a similar request is added to
                        the queue before the delay is over, the original request is
                        removed from the queue and not sent.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>requestDelay</field>
                    </fields>
                  </widget>
                  <widget name="width" type="int">
                    <labels>
                      <label mode="any">Width</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">The suggestion width.</label>
                    </helpLabels>
                    <fields>
                      <field>width</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/user_prefixed_suggestion_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="multipleDocumentsSuggestion">
          <configuration>
            <title>Multiple documents suggestion</title>
            <sinceVersion>5.4.2</sinceVersion>
            <supportedModes>
              <mode>view</mode>
              <mode>edit</mode>
            </supportedModes>
            <fields>
              <list>true</list>
              <complex>false</complex>
              <supportedTypes>
                <type>string</type>
              </supportedTypes>
            </fields>
            <categories>
              <category>document</category>
            </categories>
            <properties>
              <layouts mode="edit">
                <layout name="multipleDocumentsSuggestion_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget>required</widget>
                    </row>
                    <row>
                      <widget>pageProviderName</widget>
                    </row>
                    <row>
                      <widget>minChars</widget>
                    </row>
                    <row>
                      <widget>frequency</widget>
                    </row>
                    <row>
                      <widget>requestDelay</widget>
                    </row>
                    <row>
                      <widget>width</widget>
                    </row>
                  </rows>
                  <widget name="required" type="checkbox">
                    <labels>
                      <label mode="any">Required</label>
                    </labels>
                    <fields>
                      <field>required</field>
                    </fields>
                  </widget>
                  <widget name="pageProviderName" type="text">
                    <labels>
                      <label mode="any">Document page provider name</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The page provider that will be called to perform a search
                        for the suggestion. It must accept one parameter that will
                        be replaced by the suggestion input. If no name is defined,
                        a default page provider is used.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>pageProviderName</field>
                    </fields>
                  </widget>
                  <widget name="minChars" type="int">
                    <labels>
                      <label mode="any">Minimum characters</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The minimal number of characters to type for the suggestion
                        to be active. Defaults to 3.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>minChars</field>
                    </fields>
                  </widget>
                  <widget name="frequency" type="int">
                    <labels>
                      <label mode="any">Frequency</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Delay (in seconds) before activating the suggestion pop-up.
                        Default value is 0ms.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>frequency</field>
                    </fields>
                  </widget>
                  <widget name="requestDelay" type="int">
                    <labels>
                      <label mode="any">Request delay</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The requestDelay attribute specifies an amount of time in
                        milliseconds for the request to wait in the queue before
                        being sent to the server. If a similar request is added to
                        the queue before the delay is over, the original request is
                        removed from the queue and not sent.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>requestDelay</field>
                    </fields>
                  </widget>
                  <widget name="width" type="int">
                    <labels>
                      <label mode="any">Width</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">The suggestion width.</label>
                    </helpLabels>
                    <fields>
                      <field>width</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/multiple_document_suggestion_widget_template.xhtml
          </property>
        </widgetType>
    
      </extension>
  • nuxeo-platform-webapp-core-5.4.2-HF05.jar
    <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>
  • nuxeo-platform-localconfiguration-web-5.4.2-HF05.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    
        <widgetType name="ui_types_selection">
          <documentation>
    
          </documentation>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">/widgets/ui_types_selection_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="default_type">
          <documentation>
    
          </documentation>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">/widgets/ui_default_type_widget_template.xhtml
          </property>
        </widgetType>
    
      </extension>
  • nuxeo-platform-forms-layout-client-5.4.2-HF05.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    
        <widgetType name="text">
          <configuration>
            <title>Text</title>
            <description>
              <p>
                The text widget displays an input text in create or edit mode, with
                additional message tag for errors, and a regular text output in any
                other mode.
              </p>
              <p>
                Widgets using this type can provide properties accepted on a
                &lt;h:inputText /&gt; tag in create or edit mode, and properties
                accepted on a &lt;h:outputText /&gt; tag in other modes.
              </p>
            </description>
            <demo id="textWidget" previewEnabled="true"/>
            <supportedModes>
              <mode>edit</mode>
              <mode>view</mode>
            </supportedModes>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <supportedTypes>
                <type>string</type>
                <type>path</type>
              </supportedTypes>
              <defaultTypes>
                <type>string</type>
              </defaultTypes>
            </fields>
            <categories>
              <category>document</category>
            </categories>
            <properties>
              <layouts mode="view">
                <layout name="text_widget_type_properties_view">
                  <rows>
                    <row>
                      <widget>style</widget>
                    </row>
                    <row>
                      <widget>styleClass</widget>
                    </row>
                    <row>
                      <widget>title</widget>
                    </row>
                    <row>
                      <widget>escape</widget>
                    </row>
                  </rows>
                  <widget name="style" type="text">
                    <labels>
                      <label mode="any">Style</label>
                    </labels>
                    <fields>
                      <field>style</field>
                    </fields>
                  </widget>
                  <widget name="styleClass" type="text">
                    <labels>
                      <label mode="any">Style class</label>
                    </labels>
                    <fields>
                      <field>styleClass</field>
                    </fields>
                  </widget>
                  <widget name="title" type="text">
                    <labels>
                      <label mode="any">Title</label>
                    </labels>
                    <fields>
                      <field>title</field>
                    </fields>
                    <widgetModes>
                      <mode value="any">hidden</mode>
                      <mode value="view_reference">view</mode>
                    </widgetModes>
                  </widget>
                  <widget name="escape" type="checkbox">
                    <labels>
                      <label mode="any">Escape</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        If set to false, the held value will not be escaped. For
                        instance if it contains HTML tags, they will be rendered as
                        part of the rendered HTML page instead of being rendered as
                        text content. Defaults to true.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>escape</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="text_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget>required</widget>
                    </row>
                    <row>
                      <widget>maxlength</widget>
                    </row>
                    <row>
                      <widget>size</widget>
                    </row>
                    <row>
                      <widget>style</widget>
                    </row>
                    <row>
                      <widget>styleClass</widget>
                    </row>
                    <row>
                      <widget>title</widget>
                    </row>
                    <row>
                      <widget>accesskey</widget>
                    </row>
                    <row>
                      <widget>alt</widget>
                    </row>
                    <row>
                      <widget>dir</widget>
                    </row>
                    <row>
                      <widget>disabled</widget>
                    </row>
                    <row>
                      <widget>immediate</widget>
                    </row>
                    <row>
                      <widget>lang</widget>
                    </row>
                    <row>
                      <widget>validator</widget>
                    </row>
                    <row>
                      <widget>valueChangeListener</widget>
                    </row>
                  </rows>
                  <widget name="accesskey" type="text">
                    <labels>
                      <label mode="any">Access key</label>
                    </labels>
                    <fields>
                      <field>accesskey</field>
                    </fields>
                  </widget>
                  <widget name="alt" type="text">
                    <labels>
                      <label mode="any">Alt</label>
                    </labels>
                    <fields>
                      <field>alt</field>
                    </fields>
                  </widget>
                  <widget name="dir" type="selectOneListbox">
                    <labels>
                      <label mode="any">Direction</label>
                    </labels>
                    <fields>
                      <field>dir</field>
                    </fields>
                    <selectOptions>
                      <option itemLabel="" itemValue=""/>
                      <option itemLabel="Left to right" itemValue="LTR"/>
                      <option itemLabel="Right to left" itemValue="RTL"/>
                    </selectOptions>
                  </widget>
                  <widget name="disabled" type="checkbox">
                    <labels>
                      <label mode="any">Disabled</label>
                    </labels>
                    <fields>
                      <field>disabled</field>
                    </fields>
                  </widget>
                  <widget name="immediate" type="checkbox">
                    <labels>
                      <label mode="any">Immediate</label>
                    </labels>
                    <fields>
                      <field>immediate</field>
                    </fields>
                    <widgetModes>
                      <mode value="any">hidden</mode>
                      <mode value="view_reference">view</mode>
                    </widgetModes>
                  </widget>
                  <widget name="lang" type="text">
                    <labels>
                      <label mode="any">Lang</label>
                    </labels>
                    <fields>
                      <field>lang</field>
                    </fields>
                  </widget>
                  <widget name="maxlength" type="int">
                    <labels>
                      <label mode="any">Max length</label>
                    </labels>
                    <fields>
                      <field>maxlength</field>
                    </fields>
                  </widget>
                  <widget name="required" type="checkbox">
                    <labels>
                      <label mode="any">Required</label>
                    </labels>
                    <fields>
                      <field>required</field>
                    </fields>
                  </widget>
                  <widget name="size" type="int">
                    <labels>
                      <label mode="any">Size</label>
                    </labels>
                    <fields>
                      <field>size</field>
                    </fields>
                  </widget>
                  <widget name="validator" type="text">
                    <labels>
                      <label mode="any">Validator</label>
                    </labels>
                    <fields>
                      <field>validator</field>
                    </fields>
                  </widget>
                  <widget name="valueChangeListener" type="text">
                    <labels>
                      <label mode="any">Value change listener</label>
                    </labels>
                    <fields>
                      <field>valueChangeListener</field>
                    </fields>
                  </widget>
                  <widget name="style" type="text">
                    <labels>
                      <label mode="any">Style</label>
                    </labels>
                    <fields>
                      <field>style</field>
                    </fields>
                  </widget>
                  <widget name="styleClass" type="text">
                    <labels>
                      <label mode="any">Style class</label>
                    </labels>
                    <fields>
                      <field>styleClass</field>
                    </fields>
                  </widget>
                  <widget name="title" type="text">
                    <labels>
                      <label mode="any">Title</label>
                    </labels>
                    <fields>
                      <field>title</field>
                    </fields>
                    <widgetModes>
                      <mode value="any">hidden</mode>
                      <mode value="view_reference">view</mode>
                    </widgetModes>
                  </widget>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TextWidgetTypeHandler
          </handler-class>
        </widgetType>
    
        <widgetType name="int">
          <configuration>
            <title>Integer</title>
            <description>
              <p>
                The int widget displays an input text in create or edit mode, with
                additional message tag for errors, and a regular text output in any
                other mode. It uses a number converter.
              </p>
              <p>
                Widgets using this type can provide properties accepted on a
                &lt;h:inputText /&gt; tag in create or edit mode, and properties
                accepted on a &lt;h:outputText /&gt; tag in other modes.
              </p>
            </description>
            <demo id="intWidget" previewEnabled="true"/>
            <categories>
              <category>document</category>
            </categories>
            <supportedModes>
              <mode>edit</mode>
              <mode>view</mode>
            </supportedModes>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <supportedTypes>
                <type>integer</type>
              </supportedTypes>
              <defaultTypes>
                <type>integer</type>
              </defaultTypes>
            </fields>
            <properties>
              <layouts mode="view">
                <layout name="int_widget_type_properties_view">
                  <rows>
                    <row>
                      <widget>style</widget>
                    </row>
                    <row>
                      <widget>styleClass</widget>
                    </row>
                    <row>
                      <widget>title</widget>
                    </row>
                  </rows>
                  <widget name="style" type="text">
                    <labels>
                      <label mode="any">Style</label>
                    </labels>
                    <fields>
                      <field>style</field>
                    </fields>
                  </widget>
                  <widget name="styleClass" type="text">
                    <labels>
                      <label mode="any">Style class</label>
                    </labels>
                    <fields>
                      <field>styleClass</field>
                    </fields>
                  </widget>
                  <widget name="title" type="text">
                    <labels>
                      <label mode="any">Title</label>
                    </labels>
                    <fields>
                      <field>title</field>
                    </fields>
                    <widgetModes>
                      <mode value="any">hidden</mode>
                      <mode value="view_reference">view</mode>
                    </widgetModes>
                  </widget>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="int_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget>required</widget>
                    </row>
                    <row>
                      <widget>maxlength</widget>
                    </row>
                    <row>
                      <widget>size</widget>
                    </row>
                    <row>
                      <widget>style</widget>
                    </row>
                    <row>
                      <widget>styleClass</widget>
                    </row>
                    <row>
                      <widget>title</widget>
                    </row>
                    <row>
                      <widget>accesskey</widget>
                    </row>
                    <row>
                      <widget>alt</widget>
                    </row>
                    <row>
                      <widget>dir</widget>
                    </row>
                    <row>
                      <widget>disabled</widget>
                    </row>
                    <row>
                      <widget>immediate</widget>
                    </row>
                    <row>
                      <widget>lang</widget>
                    </row>
                    <row>
                      <widget>validator</widget>
                    </row>
                    <row>
                      <widget>valueChangeListener</widget>
                    </row>
                  </rows>
                  <widget name="style" type="text">
                    <labels>
                      <label mode="any">Style</label>
                    </labels>
                    <fields>
                      <field>style</field>
                    </fields>
                  </widget>
                  <widget name="styleClass" type="text">
                    <labels>
                      <label mode="any">Style class</label>
                    </labels>
                    <fields>
                      <field>styleClass</field>
                    </fields>
                  </widget>
                  <widget name="title" type="text">
                    <labels>
                      <label mode="any">Title</label>
                    </labels>
                    <fields>
                      <field>title</field>
                    </fields>
                    <widgetModes>
                      <mode value="any">hidden</mode>
                      <mode value="view_reference">view</mode>
                    </widgetModes>
                  </widget>
                  <widget name="accesskey" type="text">
                    <labels>
                      <label mode="any">Access key</label>
                    </labels>
                    <fields>
                      <field>accesskey</field>
                    </fields>
                  </widget>
                  <widget name="alt" type="text">
                    <labels>
                      <label mode="any">Alt</label>
                    </labels>
                    <fields>
                      <field>alt</field>
                    </fields>
                  </widget>
                  <widget name="dir" type="selectOneListbox">
                    <labels>
                      <label mode="any">Direction</label>
                    </labels>
                    <fields>
                      <field>dir</field>
                    </fields>
                    <selectOptions>
                      <option itemLabel="" itemValue=""/>
                      <option itemLabel="Left to right" itemValue="LTR"/>
                      <option itemLabel="Right to left" itemValue="RTL"/>
                    </selectOptions>
                  </widget>
                  <widget name="disabled" type="checkbox">
                    <labels>
                      <label mode="any">Disabled</label>
                    </labels>
                    <fields>
                      <field>disabled</field>
                    </fields>
                  </widget>
                  <widget name="immediate" type="checkbox">
                    <labels>
                      <label mode="any">Immediate</label>
                    </labels>
                    <fields>
                      <field>immediate</field>
                    </fields>
                    <widgetModes>
                      <mode value="any">hidden</mode>
                      <mode value="view_reference">view</mode>
                    </widgetModes>
                  </widget>
                  <widget name="lang" type="text">
                    <labels>
                      <label mode="any">Lang</label>
                    </labels>
                    <fields>
                      <field>lang</field>
                    </fields>
                  </widget>
                  <widget name="maxlength" type="int">
                    <labels>
                      <label mode="any">Max length</label>
                    </labels>
                    <fields>
                      <field>maxlength</field>
                    </fields>
                  </widget>
                  <widget name="required" type="checkbox">
                    <labels>
                      <label mode="any">Required</label>
                    </labels>
                    <fields>
                      <field>required</field>
                    </fields>
                  </widget>
                  <widget name="size" type="int">
                    <labels>
                      <label mode="any">Size</label>
                    </labels>
                    <fields>
                      <field>size</field>
                    </fields>
                  </widget>
                  <widget name="validator" type="text">
                    <labels>
                      <label mode="any">Validator</label>
                    </labels>
                    <fields>
                      <field>validator</field>
                    </fields>
                  </widget>
                  <widget name="valueChangeListener" type="text">
                    <labels>
                      <label mode="any">Value change listener</label>
                    </labels>
                    <fields>
                      <field>valueChangeListener</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.IntWidgetTypeHandler
          </handler-class>
        </widgetType>
    
        <widgetType name="double">
          <configuration>
            <title>Decimal number</title>
            <sinceVersion>5.4.2</sinceVersion>
            <description>
              <p>
                The double widget displays an input text in create or edit mode,
                with additional message tag for errors, and a regular text output in
                any other mode. It uses a double converter.
              </p>
              <p>
                Widgets using this type can provide properties accepted on a
                &lt;h:inputText /&gt; tag in create or edit mode, and properties
                accepted on a &lt;h:outputText /&gt; tag in other modes.
              </p>
            </description>
            <!--<demo id="doubleWidget" />-->
            <categories>
              <category>document</category>
            </categories>
            <supportedModes>
              <mode>edit</mode>
              <mode>view</mode>
            </supportedModes>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <supportedTypes>
                <type>double</type>
              </supportedTypes>
              <defaultTypes>
                <type>double</type>
              </defaultTypes>
            </fields>
            <properties>
              <layouts mode="view">
                <layout name="double_widget_type_properties_view">
                  <rows>
                    <row>
                      <widget>style</widget>
                    </row>
                    <row>
                      <widget>styleClass</widget>
                    </row>
                    <row>
                      <widget>title</widget>
                    </row>
                  </rows>
                  <widget name="style" type="text">
                    <labels>
                      <label mode="any">Style</label>
                    </labels>
                    <fields>
                      <field>style</field>
                    </fields>
                  </widget>
                  <widget name="styleClass" type="text">
                    <labels>
                      <label mode="any">Style class</label>
                    </labels>
                    <fields>
                      <field>styleClass</field>
                    </fields>
                  </widget>
                  <widget name="title" type="text">
                    <labels>
                      <label mode="any">Title</label>
                    </labels>
                    <fields>
                      <field>title</field>
                    </fields>
                    <widgetModes>
                      <mode value="any">hidden</mode>
                      <mode value="view_reference">view</mode>
                    </widgetModes>
                  </widget>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="double_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget>required</widget>
                    </row>
                    <row>
                      <widget>maxlength</widget>
                    </row>
                    <row>
                      <widget>size</widget>
                    </row>
                    <row>
                      <widget>style</widget>
                    </row>
                    <row>
                      <widget>styleClass</widget>
                    </row>
                    <row>
                      <widget>title</widget>
                    </row>
                    <row>
                      <widget>accesskey</widget>
                    </row>
                    <row>
                      <widget>alt</widget>
                    </row>
                    <row>
                      <widget>dir</widget>
                    </row>
                    <row>
                      <widget>disabled</widget>
                    </row>
                    <row>
                      <widget>immediate</widget>
                    </row>
                    <row>
                      <widget>lang</widget>
                    </row>
                    <row>
                      <widget>validator</widget>
                    </row>
                    <row>
                      <widget>valueChangeListener</widget>
                    </row>
                  </rows>
                  <widget name="style" type="text">
                    <labels>
                      <label mode="any">Style</label>
                    </labels>
                    <fields>
                      <field>style</field>
                    </fields>
                  </widget>
                  <widget name="styleClass" type="text">
                    <labels>
                      <label mode="any">Style class</label>
                    </labels>
                    <fields>
                      <field>styleClass</field>
                    </fields>
                  </widget>
                  <widget name="title" type="text">
                    <labels>
                      <label mode="any">Title</label>
                    </labels>
                    <fields>
                      <field>title</field>
                    </fields>
                    <widgetModes>
                      <mode value="any">hidden</mode>
                      <mode value="view_reference">view</mode>
                    </widgetModes>
                  </widget>
                  <widget name="accesskey" type="text">
                    <labels>
                      <label mode="any">Access key</label>
                    </labels>
                    <fields>
                      <field>accesskey</field>
                    </fields>
                  </widget>
                  <widget name="alt" type="text">
                    <labels>
                      <label mode="any">Alt</label>
                    </labels>
                    <fields>
                      <field>alt</field>
                    </fields>
                  </widget>
                  <widget name="dir" type="selectOneListbox">
                    <labels>
                      <label mode="any">Direction</label>
                    </labels>
                    <fields>
                      <field>dir</field>
                    </fields>
                    <selectOptions>
                      <option itemLabel="" itemValue=""/>
                      <option itemLabel="Left to right" itemValue="LTR"/>
                      <option itemLabel="Right to left" itemValue="RTL"/>
                    </selectOptions>
                  </widget>
                  <widget name="disabled" type="checkbox">
                    <labels>
                      <label mode="any">Disabled</label>
                    </labels>
                    <fields>
                      <field>disabled</field>
                    </fields>
                  </widget>
                  <widget name="immediate" type="checkbox">
                    <labels>
                      <label mode="any">Immediate</label>
                    </labels>
                    <fields>
                      <field>immediate</field>
                    </fields>
                    <widgetModes>
                      <mode value="any">hidden</mode>
                      <mode value="view_reference">view</mode>
                    </widgetModes>
                  </widget>
                  <widget name="lang" type="text">
                    <labels>
                      <label mode="any">Lang</label>
                    </labels>
                    <fields>
                      <field>lang</field>
                    </fields>
                  </widget>
                  <widget name="maxlength" type="int">
                    <labels>
                      <label mode="any">Max length</label>
                    </labels>
                    <fields>
                      <field>maxlength</field>
                    </fields>
                  </widget>
                  <widget name="required" type="checkbox">
                    <labels>
                      <label mode="any">Required</label>
                    </labels>
                    <fields>
                      <field>required</field>
                    </fields>
                  </widget>
                  <widget name="size" type="int">
                    <labels>
                      <label mode="any">Size</label>
                    </labels>
                    <fields>
                      <field>size</field>
                    </fields>
                  </widget>
                  <widget name="validator" type="text">
                    <labels>
                      <label mode="any">Validator</label>
                    </labels>
                    <fields>
                      <field>validator</field>
                    </fields>
                  </widget>
                  <widget name="valueChangeListener" type="text">
                    <labels>
                      <label mode="any">Value change listener</label>
                    </labels>
                    <fields>
                      <field>valueChangeListener</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.DoubleWidgetTypeHandler
          </handler-class>
        </widgetType>
    
        <widgetType name="secret">
          <configuration>
            <title>Secret</title>
            <description>
              <p>
                The secret widget displays an input secret text in create or edit
                mode, with additional message tag for errors, and nothing in any
                other mode.
              </p>
              <p>
                Widgets using this type can provide properties accepted on a
                &lt;h:inputSecret /&gt; tag in create or edit mode.
              </p>
            </description>
            <demo id="secretWidget" previewEnabled="true"/>
            <categories>
              <category>document</category>
            </categories>
            <supportedModes>
              <mode>edit</mode>
            </supportedModes>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <supportedTypes>
                <type>string</type>
              </supportedTypes>
            </fields>
            <properties>
              <layouts mode="edit">
                <layout name="secret_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget>required</widget>
                    </row>
                    <row>
                      <widget>maxlength</widget>
                    </row>
                    <row>
                      <widget>size</widget>
                    </row>
                    <row>
                      <widget>accesskey</widget>
                    </row>
                    <row>
                      <widget>alt</widget>
                    </row>
                    <row>
                      <widget>dir</widget>
                    </row>
                    <row>
                      <widget>disabled</widget>
                    </row>
                    <row>
                      <widget>immediate</widget>
                    </row>
                    <row>
                      <widget>lang</widget>
                    </row>
                    <row>
                      <widget>redisplay</widget>
                    </row>
                    <row>
                      <widget>style</widget>
                    </row>
                    <row>
                      <widget>styleClass</widget>
                    </row>
                    <row>
                      <widget>title</widget>
                    </row>
                    <row>
                      <widget>validator</widget>
                    </row>
                    <row>
                      <widget>valueChangeListener</widget>
                    </row>
                  </rows>
                  <widget name="accesskey" type="text">
                    <labels>
                      <label mode="any">Access key</label>
                    </labels>
                    <fields>
                      <field>accesskey</field>
                    </fields>
                  </widget>
                  <widget name="alt" type="text">
                    <labels>
                      <label mode="any">Alt</label>
                    </labels>
                    <fields>
                      <field>alt</field>
                    </fields>
                  </widget>
                  <widget name="dir" type="selectOneListbox">
                    <labels>
                      <label mode="any">Direction</label>
                    </labels>
                    <fields>
                      <field>dir</field>
                    </fields>
                    <selectOptions>
                      <option itemLabel="" itemValue=""/>
                      <option itemLabel="Left to right" itemValue="LTR"/>
                      <option itemLabel="Right to left" itemValue="RTL"/>
                    </selectOptions>
                  </widget>
                  <widget name="disabled" type="checkbox">
                    <labels>
                      <label mode="any">Disabled</label>
                    </labels>
                    <fields>
                      <field>disabled</field>
                    </fields>
                  </widget>
                  <widget name="immediate" type="checkbox">
                    <labels>
                      <label mode="any">Immediate</label>
                    </labels>
                    <fields>
                      <field>immediate</field>
                    </fields>
                    <widgetModes>
                      <mode value="any">hidden</mode>
                      <mode value="view_reference">view</mode>
                    </widgetModes>
                  </widget>
                  <widget name="lang" type="text">
                    <labels>
                      <label mode="any">Lang</label>
                    </labels>
                    <fields>
                      <field>lang</field>
                    </fields>
                  </widget>
                  <widget name="maxlength" type="int">
                    <labels>
                      <label mode="any">Max length</label>
                    </labels>
                    <fields>
                      <field>maxlength</field>
                    </fields>
                  </widget>
                  <widget name="redisplay" type="checkbox">
                    <labels>
                      <label mode="any">Redisplay</label>
                    </labels>
                    <fields>
                      <field>redisplay</field>
                    </fields>
                  </widget>
                  <widget name="required" type="checkbox">
                    <labels>
                      <label mode="any">Required</label>
                    </labels>
                    <fields>
                      <field>required</field>
                    </fields>
                  </widget>
                  <widget name="size" type="int">
                    <labels>
                      <label mode="any">Size</label>
                    </labels>
                    <fields>
                      <field>size</field>
                    </fields>
                  </widget>
                  <widget name="style" type="text">
                    <labels>
                      <label mode="any">Style</label>
                    </labels>
                    <fields>
                      <field>style</field>
                    </fields>
                  </widget>
                  <widget name="styleClass" type="text">
                    <labels>
                      <label mode="any">Style class</label>
                    </labels>
                    <fields>
                      <field>styleClass</field>
                    </fields>
                  </widget>
                  <widget name="title" type="text">
                    <labels>
                      <label mode="any">Title</label>
                    </labels>
                    <fields>
                      <field>title</field>
                    </fields>
                    <widgetModes>
                      <mode value="any">hidden</mode>
                      <mode value="view_reference">view</mode>
                    </widgetModes>
                  </widget>
                  <widget name="validator" type="text">
                    <labels>
                      <label mode="any">Validator</label>
                    </labels>
                    <fields>
                      <field>validator</field>
                    </fields>
                  </widget>
                  <widget name="valueChangeListener" type="text">
                    <labels>
                      <label mode="any">Value change listener</label>
                    </labels>
                    <fields>
                      <field>valueChangeListener</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.SecretWidgetTypeHandler
          </handler-class>
        </widgetType>
    
        <widgetType name="textarea">
          <configuration>
            <title>Textarea</title>
            <description>
              <p>
                The textarea widget displays a textarea in create or edit mode, with
                additional message tag for errors, and a regular text output in any
                other mode.
              </p>
              <p>
                Widgets using this type can provide properties accepted on a
                &lt;h:inputTextarea /&gt; tag in create or edit mode, and properties
                accepted on a &lt;h:outputText /&gt; tag in other modes.
              </p>
            </description>
            <demo id="textareaWidget" previewEnabled="true"/>
            <categories>
              <category>document</category>
            </categories>
            <supportedModes>
              <mode>edit</mode>
              <mode>view</mode>
            </supportedModes>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <supportedTypes>
                <type>string</type>
              </supportedTypes>
            </fields>
            <properties>
              <layouts mode="view">
                <layout name="textarea_widget_type_properties_view">
                  <rows>
                    <row>
                      <widget>style</widget>
                    </row>
                    <row>
                      <widget>styleClass</widget>
                    </row>
                    <row>
                      <widget>title</widget>
                    </row>
                    <row>
                      <widget>escape</widget>
                    </row>
                  </rows>
                  <widget name="style" type="text">
                    <labels>
                      <label mode="any">Style</label>
                    </labels>
                    <fields>
                      <field>style</field>
                    </fields>
                  </widget>
                  <widget name="styleClass" type="text">
                    <labels>
                      <label mode="any">Style class</label>
                    </labels>
                    <fields>
                      <field>styleClass</field>
                    </fields>
                  </widget>
                  <widget name="title" type="text">
                    <labels>
                      <label mode="any">Title</label>
                    </labels>
                    <fields>
                      <field>title</field>
                    </fields>
                    <widgetModes>
                      <mode value="any">hidden</mode>
                      <mode value="view_reference">view</mode>
                    </widgetModes>
                  </widget>
                  <widget name="escape" type="checkbox">
                    <labels>
                      <label mode="any">Escape</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        If set to false, the held value will not be escaped. For
                        instance if it contains HTML tags, they will be rendered as
                        part of the rendered HTML page instead of being rendered as
                        text content. Defaults to true.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>escape</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="textarea_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget>required</widget>
                    </row>
                    <row>
                      <widget>cols</widget>
                    </row>
                    <row>
                      <widget>rows</widget>
                    </row>
                    <row>
                      <widget>maxlength</widget>
                    </row>
                    <row>
                      <widget>accesskey</widget>
                    </row>
                    <row>
                      <widget>dir</widget>
                    </row>
                    <row>
                      <widget>disabled</widget>
                    </row>
                    <row>
                      <widget>immediate</widget>
                    </row>
                    <row>
                      <widget>lang</widget>
                    </row>
                    <row>
                      <widget>validator</widget>
                    </row>
                    <row>
                      <widget>valueChangeListener</widget>
                    </row>
                  </rows>
                  <widget name="style" type="text">
                    <labels>
                      <label mode="any">Style</label>
                    </labels>
                    <fields>
                      <field>style</field>
                    </fields>
                  </widget>
                  <widget name="styleClass" type="text">
                    <labels>
                      <label mode="any">Style class</label>
                    </labels>
                    <fields>
                      <field>styleClass</field>
                    </fields>
                  </widget>
                  <widget name="title" type="text">
                    <labels>
                      <label mode="any">Title</label>
                    </labels>
                    <fields>
                      <field>title</field>
                    </fields>
                    <widgetModes>
                      <mode value="any">hidden</mode>
                      <mode value="view_reference">view</mode>
                    </widgetModes>
                  </widget>
                  <widget name="accesskey" type="text">
                    <labels>
                      <label mode="any">Access key</label>
                    </labels>
                    <fields>
                      <field>accesskey</field>
                    </fields>
                  </widget>
                  <widget name="cols" type="int">
                    <labels>
                      <label mode="any">Number of columns</label>
                    </labels>
                    <fields>
                      <field>cols</field>
                    </fields>
                  </widget>
                  <widget name="rows" type="int">
                    <labels>
                      <label mode="any">Number of rows</label>
                    </labels>
                    <fields>
                      <field>rows</field>
                    </fields>
                  </widget>
                  <widget name="dir" type="selectOneListbox">
                    <labels>
                      <label mode="any">Direction</label>
                    </labels>
                    <fields>
                      <field>dir</field>
                    </fields>
                    <selectOptions>
                      <option itemLabel="" itemValue=""/>
                      <option itemLabel="Left to right" itemValue="LTR"/>
                      <option itemLabel="Right to left" itemValue="RTL"/>
                    </selectOptions>
                  </widget>
                  <widget name="disabled" type="checkbox">
                    <labels>
                      <label mode="any">Disabled</label>
                    </labels>
                    <fields>
                      <field>disabled</field>
                    </fields>
                  </widget>
                  <widget name="immediate" type="checkbox">
                    <labels>
                      <label mode="any">Immediate</label>
                    </labels>
                    <fields>
                      <field>immediate</field>
                    </fields>
                    <widgetModes>
                      <mode value="any">hidden</mode>
                      <mode value="view_reference">view</mode>
                    </widgetModes>
                  </widget>
                  <widget name="lang" type="text">
                    <labels>
                      <label mode="any">Lang</label>
                    </labels>
                    <fields>
                      <field>lang</field>
                    </fields>
                  </widget>
                  <widget name="maxlength" type="int">
                    <labels>
                      <label mode="any">Max length</label>
                    </labels>
                    <fields>
                      <field>maxlength</field>
                    </fields>
                  </widget>
                  <widget name="required" type="checkbox">
                    <labels>
                      <label mode="any">Required</label>
                    </labels>
                    <fields>
                      <field>required</field>
                    </fields>
                  </widget>
                  <widget name="validator" type="text">
                    <labels>
                      <label mode="any">Validator</label>
                    </labels>
                    <fields>
                      <field>validator</field>
                    </fields>
                  </widget>
                  <widget name="valueChangeListener" type="text">
                    <labels>
                      <label mode="any">Value change listener</label>
                    </labels>
                    <fields>
                      <field>valueChangeListener</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TextareaWidgetTypeHandler
          </handler-class>
        </widgetType>
    
        <widgetType name="datetime">
          <configuration>
            <title>Datetime</title>
            <description>
              <p>
                The datetime widget displays a javascript calendar in create or edit
                mode, with additional message tag for errors, and a regular text
                output in any other mode. It uses a date time converter.
              </p>
              <p>
                Widgets using this type can provide properties accepted on a
                &lt;nxu:inputDatetime /&gt; tag in create or edit mode, and
                properties accepted on a &lt;h:outputText /&gt; tag in other modes.
                The converter will also be given these properties.
              </p>
            </description>
            <demo id="datetimeWidget" previewEnabled="true"/>
            <categories>
              <category>document</category>
            </categories>
            <supportedModes>
              <mode>edit</mode>
              <mode>view</mode>
            </supportedModes>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <supportedTypes>
                <type>date</type>
              </supportedTypes>
              <defaultTypes>
                <type>date</type>
              </defaultTypes>
            </fields>
            <properties>
              <layouts mode="view">
                <layout name="datetime_widget_type_properties_view">
                  <rows>
                    <row>
                      <widget>pattern</widget>
                    </row>
                    <row>
                      <widget>timeZone</widget>
                    </row>
                  </rows>
                  <widget name="pattern" type="text">
                    <labels>
                      <label mode="any">Pattern</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        String pattern for the date and time, as described by the
                        java.text.SimpleDateFormat class, and as used in the
                        standard DateTimeConverter. Default value is "dd/MM/yyyy
                        HH:mm". Sample value: "#{nxu:basicDateFormater()}" or
                        "#{nxu:basicDateAndTimeFormater()}".
                      </label>
                    </helpLabels>
                    <fields>
                      <field>pattern</field>
                    </fields>
                  </widget>
                  <widget name="timeZone" type="text">
                    <labels>
                      <label mode="any">Time zone</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        String timeZone ID. The server time zone is used if not set.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>timeZone</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="datetime_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget>required</widget>
                    </row>
                    <row>
                      <widget>format</widget>
                    </row>
                    <row>
                      <widget>showsTime</widget>
                    </row>
                    <row>
                      <widget>locale</widget>
                    </row>
                    <row>
                      <widget>styleClass</widget>
                    </row>
                    <row>
                      <widget>timeZone</widget>
                    </row>
                    <row>
                      <widget>triggerImg</widget>
                    </row>
                    <row>
                      <widget>triggerLabel</widget>
                    </row>
                    <row>
                      <widget>triggerStyleClass</widget>
                    </row>
                  </rows>
                  <widget name="format" type="text">
                    <labels>
                      <label mode="any">Format</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        String format for the date and time, as described by the
                        java.text.SimpleDateFormat class, and as used in the
                        standard DateTimeConverter. Default value is "dd/MM/yyyy
                        HH:mm". Sample value: "#{nxu:basicDateFormater()}" or
                        "#{nxu:basicDateAndTimeFormater()}".
                      </label>
                    </helpLabels>
                    <fields>
                      <field>format</field>
                    </fields>
                  </widget>
                  <widget name="locale" type="selectOneListbox">
                    <labels>
                      <label mode="any">Locale</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        String representing the locale to use for the calendar.
                        Current locale is used if not set.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>locale</field>
                    </fields>
                    <selectOptions>
                      <option itemLabel="" itemValue=""/>
                      <option itemLabel="Catalan" itemValue="ca"/>
                      <option itemLabel="Chinese" itemValue="cn"/>
                      <option itemLabel="Czech" itemValue="cz"/>
                      <option itemLabel="Deutsch" itemValue="de"/>
                      <option itemLabel="English" itemValue="en"/>
                      <option itemLabel="Spanish" itemValue="es"/>
                      <option itemLabel="French" itemValue="fr"/>
                      <option itemLabel="Italiano" itemValue="it"/>
                      <option itemLabel="Japanese" itemValue="jp"/>
                      <option itemLabel="Nederlands" itemValue="nl"/>
                      <option itemLabel="Polish" itemValue="pl"/>
                      <option itemLabel="Portuguese" itemValue="pt"/>
                      <option itemLabel="Romanian" itemValue="ro"/>
                      <option itemLabel="Russian" itemValue="ru"/>
                      <option itemLabel="svenska" itemValue="sv"/>
                    </selectOptions>
                  </widget>
                  <widget name="required" type="checkbox">
                    <labels>
                      <label mode="any">Required</label>
                    </labels>
                    <fields>
                      <field>required</field>
                    </fields>
                  </widget>
                  <widget name="showsTime" type="checkbox">
                    <labels>
                      <label mode="any">Shows time</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Flag indicating that the calendar must show a time choice.
                        Since 5.4.2, this property is ignored and time is shown
                        depending on the date format.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>showsTime</field>
                    </fields>
                  </widget>
                  <widget name="styleClass" type="text">
                    <labels>
                      <label mode="any">Style class</label>
                    </labels>
                    <fields>
                      <field>styleClass</field>
                    </fields>
                  </widget>
                  <widget name="timeZone" type="text">
                    <labels>
                      <label mode="any">Time zone</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        String timeZone ID. The server time zone is used if not set.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>timeZone</field>
                    </fields>
                  </widget>
                  <widget name="triggerImg" type="text">
                    <labels>
                      <label mode="any">Trigger image</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Image path to use for the trigger. Available since 5.4.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>triggerImg</field>
                    </fields>
                  </widget>
                  <widget name="triggerLabel" type="text">
                    <labels>
                      <label mode="any">Trigger label</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Label to display on the trigger image. Defaults to "...".
                      </label>
                    </helpLabels>
                    <fields>
                      <field>triggerLabel</field>
                    </fields>
                  </widget>
                  <widget name="triggerStyleClass" type="text">
                    <labels>
                      <label mode="any">Trigger style class</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Style class to set on the trigger button tag, defaults to
                        'calendarTrigger'.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>triggerStyleClass</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.DateTimeWidgetTypeHandler
          </handler-class>
        </widgetType>
    
        <widgetType name="template">
          <configuration>
            <title>Template</title>
            <description>
              <p>
                The template widget displays a template content whatever the mode.
              </p>
              <p>
                Widgets using this type must provide the path to this template ;
                this template can check the mode to adapt the rendering.
              </p>
              <p>
                Note that the same handler class can be used to define a new widget
                type using a designated template, by registering it as is:
              </p>
              <p>
                &lt;widgetType name="template"&gt; &lt;handler-class&gt;
                org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
                &lt;/handler-class&gt; &lt;property name="template"&gt;
                /widgets/my_custom_widget_template.xhtml &lt;/property&gt;
                &lt;/widgetType&gt;
              </p>
            </description>
            <demo id="templateWidget" previewEnabled="false"/>
            <categories>
              <category>dev</category>
            </categories>
            <supportedModes>
              <mode>edit</mode>
              <mode>view</mode>
            </supportedModes>
            <properties>
              <layouts mode="any">
                <layout name="template_widget_type_properties_any">
                  <rows>
                    <row>
                      <widget>template</widget>
                    </row>
                  </rows>
                  <widget name="template" type="selectOneResource">
                    <labels>
                      <label mode="any">Template</label>
                    </labels>
                    <fields>
                      <field>template</field>
                    </fields>
                    <properties mode="any">
                      <property name="resourceName">xhtml_templates</property>
                    </properties>
                    <properties widgetMode="any">
                      <property name="required">true</property>
                    </properties>
                  </widget>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
        </widgetType>
    
        <widgetType name="file">
          <configuration>
            <title>File</title>
            <description>
              <p>
                The file widget displays a file uploader/editor in create or edit
                mode, with additional message tag for errors, and a link to the file
                in other modes.
              </p>
              <p>
                Widgets using this type can provide properties accepted on a
                &lt;nxu:inputFile /&gt; tag in create or edit mode, and properties
                accepted on a &lt;nxu:outputFile /&gt; tag in other modes.
              </p>
            </description>
            <demo id="fileWidget" previewEnabled="true"/>
            <categories>
              <category>document</category>
            </categories>
            <supportedModes>
              <mode>edit</mode>
              <mode>view</mode>
            </supportedModes>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <supportedTypes>
                <type>blob</type>
              </supportedTypes>
              <defaultTypes>
                <type>blob</type>
              </defaultTypes>
            </fields>
            <properties>
              <layouts mode="view">
                <layout name="file_widget_type_properties_view">
                  <rows>
                    <row>
                      <widget>downloadLabel</widget>
                    </row>
                    <row>
                      <widget>iconRendered</widget>
                    </row>
                  </rows>
                  <widget name="downloadLabel" type="text">
                    <labels>
                      <label mode="any">Download label</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Value binding that will be used as the download link value,
                        and will attempt to be translated.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>downloadLabel</field>
                    </fields>
                  </widget>
                  <widget name="iconRendered" type="checkbox">
                    <labels>
                      <label mode="any">Icon rendered</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Boolean flag indicating whether or not the file icon should
                        be rendered. Defaults to true.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>iconRendered</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="file_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget>required</widget>
                    </row>
                    <row>
                      <widget>downloadLabel</widget>
                    </row>
                    <row>
                      <widget>iconRendered</widget>
                    </row>
                  </rows>
                  <widget name="required" type="checkbox">
                    <labels>
                      <label mode="any">Required</label>
                    </labels>
                    <fields>
                      <field>required</field>
                    </fields>
                  </widget>
                  <widget name="downloadLabel" type="text">
                    <labels>
                      <label mode="any">Download label</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Value binding that will be used as the download link value,
                        and will attempt to be translated.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>downloadLabel</field>
                    </fields>
                  </widget>
                  <widget name="iconRendered" type="checkbox">
                    <labels>
                      <label mode="any">Icon rendered</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Boolean flag indicating whether or not the file icon should
                        be rendered. Defaults to true.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>iconRendered</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.FileWidgetTypeHandler
          </handler-class>
        </widgetType>
    
        <widgetType name="htmltext">
          <configuration>
            <title>HTML text</title>
            <description>
              <p>
                The htmltext widget displays an html text editor in create or edit
                mode, with additional message tag for errors, and a regular text
                output in other modes (without escaping the text).
              </p>
              <p>
                Widgets using this type can provide properties accepted on a
                &lt;nxu:editor /&gt; tag in create or edit mode, and properties
                accepted on a &lt;nxu:outputText /&gt; tag in other modes.
              </p>
            </description>
            <demo id="htmltextWidget" previewEnabled="true"/>
            <categories>
              <category>document</category>
            </categories>
            <supportedModes>
              <mode>edit</mode>
              <mode>view</mode>
            </supportedModes>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <supportedTypes>
                <type>string</type>
              </supportedTypes>
            </fields>
            <properties>
              <layouts mode="view">
                <layout name="htmltext_widget_type_properties_view">
                  <rows>
                    <row>
                      <widget>style</widget>
                    </row>
                    <row>
                      <widget>styleClass</widget>
                    </row>
                    <row>
                      <widget>title</widget>
                    </row>
                  </rows>
                  <widget name="style" type="text">
                    <labels>
                      <label mode="any">Style</label>
                    </labels>
                    <fields>
                      <field>style</field>
                    </fields>
                  </widget>
                  <widget name="styleClass" type="text">
                    <labels>
                      <label mode="any">Style class</label>
                    </labels>
                    <fields>
                      <field>styleClass</field>
                    </fields>
                  </widget>
                  <widget name="title" type="text">
                    <labels>
                      <label mode="any">Title</label>
                    </labels>
                    <fields>
                      <field>title</field>
                    </fields>
                    <widgetModes>
                      <mode value="any">hidden</mode>
                      <mode value="view_reference">view</mode>
                    </widgetModes>
                  </widget>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="htmltext_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget>required</widget>
                    </row>
                    <row>
                      <widget>width</widget>
                    </row>
                    <row>
                      <widget>height</widget>
                    </row>
                    <row>
                      <widget>disableHtmlInit</widget>
                    </row>
                    <row>
                      <widget>editorSelector</widget>
                    </row>
                  </rows>
                  <widget name="disableHtmlInit" type="checkbox">
                    <labels>
                      <label mode="any">Disable HTML init</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        If set to true, the default display will be the text display
                        (not html editor). Available since 5.3.1.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>disableHtmlInit</field>
                    </fields>
                    <widgetModes>
                      <mode value="any">hidden</mode>
                      <mode value="view_reference">view</mode>
                    </widgetModes>
                  </widget>
                  <widget name="required" type="checkbox">
                    <labels>
                      <label mode="any">Required</label>
                    </labels>
                    <fields>
                      <field>required</field>
                    </fields>
                  </widget>
                  <widget name="width" type="int">
                    <labels>
                      <label mode="any">Width</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The textarea width. Defaults to "640".
                      </label>
                    </helpLabels>
                    <fields>
                      <field>width</field>
                    </fields>
                  </widget>
                  <widget name="height" type="int">
                    <labels>
                      <label mode="any">Height</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The textarea height. Defaults to "400".
                      </label>
                    </helpLabels>
                    <fields>
                      <field>height</field>
                    </fields>
                  </widget>
                  <widget name="editorSelector" type="text">
                    <labels>
                      <label mode="any">Editor selector</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The class to use to identify text areas to turn into html
                        editors. Defaults to "mceEditor". See the editor_selector
                        option in tiny_mce
                        (http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/editor_selector).
                      </label>
                    </helpLabels>
                    <fields>
                      <field>editorSelector</field>
                    </fields>
                    <widgetModes>
                      <mode value="any">hidden</mode>
                      <mode value="view_reference">view</mode>
                    </widgetModes>
                  </widget>
                  <widget name="required" type="checkbox">
                    <labels>
                      <label mode="any">Required</label>
                    </labels>
                    <fields>
                      <field>required</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.HtmlTextWidgetTypeHandler
          </handler-class>
        </widgetType>
    
        <widgetType name="selectOneDirectory">
          <configuration>
            <title>Vocabulary</title>
            <description>
              <p>
                The selectOneDirectory widget displays a selection of vocabulary
                entries in create or edit mode, with additional message tag for
                errors, and the directory entry label in other modes.
              </p>
              <p>
                Widgets using this type can provide properties accepted on a
                &lt;nxd:selectOneListbox /&gt; tag in create or edit mode, and
                properties accepted on a &lt;nxd:directoryEntryOutput /&gt; tag in
                other modes.
              </p>
            </description>
            <demo id="selectOneDirectoryWidget" previewEnabled="true"/>
            <categories>
              <category>document</category>
            </categories>
            <supportedModes>
              <mode>edit</mode>
              <mode>view</mode>
            </supportedModes>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <supportedTypes>
                <type>string</type>
              </supportedTypes>
            </fields>
            <properties>
              <layouts mode="any">
                <layout name="selectOneDirectory_widget_type_properties_any">
                  <rows>
                    <row>
                      <widget>directoryName</widget>
                    </row>
                    <row>
                      <widget>directoryNameDemoPreview</widget>
                    </row>
                  </rows>
                  <widget name="directoryName" type="selectOneResource">
                    <labels>
                      <label mode="any">Vocabulary</label>
                    </labels>
                    <fields>
                      <field>directoryName</field>
                    </fields>
                    <widgetModes>
                      <mode value="edit_demo_preview">hidden</mode>
                    </widgetModes>
                    <properties mode="any">
                      <property name="resourceName">vocabularies</property>
                    </properties>
                    <properties widgetMode="any">
                      <property name="required">true</property>
                    </properties>
                  </widget>
                  <widget name="directoryNameDemoPreview" type="text">
                    <labels>
                      <label mode="any">Vocabulary</label>
                    </labels>
                    <fields>
                      <field>directoryName</field>
                    </fields>
                    <widgetModes>
                      <mode value="any">hidden</mode>
                      <mode value="edit_demo_preview">view</mode>
                    </widgetModes>
                    <properties widgetMode="any">
                      <property name="required">true</property>
                    </properties>
                  </widget>
                </layout>
              </layouts>
              <layouts mode="view">
                <layout name="selectOneDirectory_widget_type_properties_view">
                  <rows>
                    <row>
                      <widget>localize</widget>
                    </row>
                    <row>
                      <widget>displayIdAndLabel</widget>
                    </row>
                  </rows>
                  <widget name="localize" type="checkbox">
                    <labels>
                      <label mode="any">Localize</label>
                    </labels>
                    <fields>
                      <field>localize</field>
                    </fields>
                    <widgetModes>
                      <mode value="edit_demo_preview">hidden</mode>
                    </widgetModes>
                  </widget>
                  <widget name="displayIdAndLabel" type="checkbox">
                    <labels>
                      <label mode="any">Display id and label</label>
                    </labels>
                    <fields>
                      <field>displayIdAndLabel</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="selectOneDirectory_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget>required</widget>
                    </row>
                    <row>
                      <widget>localize</widget>
                    </row>
                    <row>
                      <widget>displayIdAndLabel</widget>
                    </row>
                    <row>
                      <widget>displayObsoleteEntries</widget>
                    </row>
                    <row>
                      <widget>notDisplayDefaultOption</widget>
                    </row>
                    <row>
                      <widget>ordering</widget>
                    </row>
                    <row>
                      <widget>cssStyle</widget>
                    </row>
                    <row>
                      <widget>cssStyleClass</widget>
                    </row>
                  </rows>
                  <widget name="directoryName" type="selectOneResource">
                    <labels>
                      <label mode="any">Vocabulary</label>
                    </labels>
                    <fields>
                      <field>directoryName</field>
                    </fields>
                    <properties mode="any">
                      <property name="resourceName">vocabularies</property>
                    </properties>
                    <properties widgetMode="any">
                      <property name="required">true</property>
                    </properties>
                    <widgetModes>
                      <mode value="edit_demo_preview">hidden</mode>
                    </widgetModes>
                  </widget>
                  <widget name="localize" type="checkbox">
                    <labels>
                      <label mode="any">Localize</label>
                    </labels>
                    <fields>
                      <field>localize</field>
                    </fields>
                    <widgetModes>
                      <mode value="edit_demo_preview">hidden</mode>
                    </widgetModes>
                  </widget>
                  <widget name="displayIdAndLabel" type="checkbox">
                    <labels>
                      <label mode="any">Display id and label</label>
                    </labels>
                    <fields>
                      <field>displayIdAndLabel</field>
                    </fields>
                  </widget>
                  <widget name="cssStyle" type="text">
                    <labels>
                      <label mode="any">Style</label>
                    </labels>
                    <fields>
                      <field>cssStyle</field>
                    </fields>
                  </widget>
                  <widget name="cssStyleClass" type="text">
                    <labels>
                      <label mode="any">Style class</label>
                    </labels>
                    <fields>
                      <field>cssStyleClass</field>
                    </fields>
                  </widget>
                  <widget name="displayObsoleteEntries" type="checkbox">
                    <labels>
                      <label mode="any">Display obsolete entries</label>
                    </labels>
                    <fields>
                      <field>displayObsoleteEntries</field>
                    </fields>
                  </widget>
                  <widget name="notDisplayDefaultOption" type="checkbox">
                    <labels>
                      <label mode="any">Do not display the default option</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        True if there should not be displayed a "Please select a
                        value" option
                      </label>
                    </helpLabels>
                    <fields>
                      <field>notDisplayDefaultOption</field>
                    </fields>
                  </widget>
                  <widget name="required" type="checkbox">
                    <labels>
                      <label mode="any">Required</label>
                    </labels>
                    <fields>
                      <field>required</field>
                    </fields>
                  </widget>
                  <widget name="ordering" type="selectOneListbox">
                    <labels>
                      <label mode="any">Sort criterion</label>
                    </labels>
                    <fields>
                      <field>ordering</field>
                    </fields>
                    <selectOptions>
                      <option itemLabel="Label" itemValue="label"/>
                      <option itemLabel="Id" itemValue="id"/>
                    </selectOptions>
                  </widget>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.DirectorySelectOneWidgetTypeHandler
          </handler-class>
        </widgetType>
    
        <widgetType name="selectOneListbox">
          <configuration>
            <sinceVersion>5.4.2</sinceVersion>
            <title>Select One Listbox</title>
            <description/>
            <categories>
              <!-- don't export it yet -->
              <!--
                <category>document</category>
              -->
            </categories>
            <supportedModes>
              <mode>edit</mode>
              <!--  TODO
                <mode>view</mode>
              -->
            </supportedModes>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <supportedTypes>
                <type>string</type>
              </supportedTypes>
            </fields>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.SelectOneListboxWidgetTypeHandler
          </handler-class>
        </widgetType>
    
        <widgetType name="selectOneMenu">
          <configuration>
            <sinceVersion>5.4.2</sinceVersion>
            <title>Select One Menu</title>
            <description/>
            <categories>
              <!-- don't export it yet -->
              <!--
                <category>document</category>
              -->
            </categories>
            <supportedModes>
              <mode>edit</mode>
              <!--  TODO
                <mode>view</mode>
              -->
            </supportedModes>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <supportedTypes>
                <type>string</type>
              </supportedTypes>
            </fields>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.SelectOneMenuWidgetTypeHandler
          </handler-class>
        </widgetType>
    
        <widgetType name="selectManyDirectory">
          <configuration>
            <title>Multiple vocabulary</title>
            <description>
              <p>
                The selectManyDirectory widget displays a multi selection of
                vocabulary entries in create or edit mode, with additional message
                tag for errors, and the directory entries labels in other modes.
              </p>
              <p>
                Widgets using this type can provide properties accepted on a c tag
                in create or edit mode, and properties accepted on a
                &lt;nxd:directoryEntryOutput /&gt; tag in other modes.
              </p>
            </description>
            <demo id="selectManyDirectoryWidget" previewEnabled="true"/>
            <categories>
              <category>document</category>
            </categories>
            <supportedModes>
              <mode>edit</mode>
              <mode>view</mode>
            </supportedModes>
            <fields>
              <list>true</list>
              <complex>false</complex>
              <supportedTypes>
                <type>string</type>
              </supportedTypes>
            </fields>
            <properties>
              <layouts mode="any">
                <layout name="selectManyDirectory_widget_type_properties_any">
                  <rows>
                    <row>
                      <widget>directoryName</widget>
                    </row>
                    <row>
                      <widget>directoryNameDemoPreview</widget>
                    </row>
                  </rows>
                  <widget name="directoryName" type="selectOneResource">
                    <labels>
                      <label mode="any">Vocabulary</label>
                    </labels>
                    <fields>
                      <field>directoryName</field>
                    </fields>
                    <widgetModes>
                      <mode value="edit_demo_preview">hidden</mode>
                    </widgetModes>
                    <properties mode="any">
                      <property name="resourceName">vocabularies</property>
                    </properties>
                    <properties widgetMode="any">
                      <property name="required">true</property>
                    </properties>
                  </widget>
                  <widget name="directoryNameDemoPreview" type="text">
                    <labels>
                      <label mode="any">Vocabulary</label>
                    </labels>
                    <fields>
                      <field>directoryName</field>
                    </fields>
                    <widgetModes>
                      <mode value="any">hidden</mode>
                      <mode value="edit_demo_preview">view</mode>
                    </widgetModes>
                    <properties widgetMode="any">
                      <property name="required">true</property>
                    </properties>
                  </widget>
                </layout>
              </layouts>
              <layouts mode="view">
                <layout name="selectManyDirectory_widget_type_properties_view">
                  <rows>
                    <row>
                      <widget>localize</widget>
                    </row>
                    <row>
                      <widget>displayIdAndLabel</widget>
                    </row>
                  </rows>
                  <widget name="localize" type="checkbox">
                    <labels>
                      <label mode="any">Localize</label>
                    </labels>
                    <fields>
                      <field>localize</field>
                    </fields>
                    <widgetModes>
                      <mode value="edit_demo_preview">hidden</mode>
                    </widgetModes>
                  </widget>
                  <widget name="displayIdAndLabel" type="checkbox">
                    <labels>
                      <label mode="any">Display id and label</label>
                    </labels>
                    <fields>
                      <field>displayIdAndLabel</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="selectManyDirectory_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget>required</widget>
                    </row>
                    <row>
                      <widget>localize</widget>
                    </row>
                    <row>
                      <widget>displayIdAndLabel</widget>
                    </row>
                    <row>
                      <widget>displayObsoleteEntries</widget>
                    </row>
                    <row>
                      <widget>notDisplayDefaultOption</widget>
                    </row>
                    <row>
                      <widget>ordering</widget>
                    </row>
                    <row>
                      <widget>cssStyle</widget>
                    </row>
                    <row>
                      <widget>cssStyleClass</widget>
                    </row>
                  </rows>
                  <widget name="localize" type="checkbox">
                    <labels>
                      <label mode="any">Localize</label>
                    </labels>
                    <fields>
                      <field>localize</field>
                    </fields>
                    <widgetModes>
                      <mode value="edit_demo_preview">hidden</mode>
                    </widgetModes>
                  </widget>
                  <widget name="displayIdAndLabel" type="checkbox">
                    <labels>
                      <label mode="any">Display id and label</label>
                    </labels>
                    <fields>
                      <field>displayIdAndLabel</field>
                    </fields>
                  </widget>
                  <widget name="cssStyle" type="text">
                    <labels>
                      <label mode="any">Style</label>
                    </labels>
                    <fields>
                      <field>cssStyle</field>
                    </fields>
                  </widget>
                  <widget name="cssStyleClass" type="text">
                    <labels>
                      <label mode="any">Style class</label>
                    </labels>
                    <fields>
                      <field>cssStyleClass</field>
                    </fields>
                  </widget>
                  <widget name="displayObsoleteEntries" type="checkbox">
                    <labels>
                      <label mode="any">Display obsolete entries</label>
                    </labels>
                    <fields>
                      <field>displayObsoleteEntries</field>
                    </fields>
                  </widget>
                  <widget name="notDisplayDefaultOption" type="checkbox">
                    <labels>
                      <label mode="any">Do not display the default option</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        True if there should not be displayed a "Please select a
                        value" option
                      </label>
                    </helpLabels>
                    <fields>
                      <field>notDisplayDefaultOption</field>
                    </fields>
                  </widget>
                  <widget name="required" type="checkbox">
                    <labels>
                      <label mode="any">Required</label>
                    </labels>
                    <fields>
                      <field>required</field>
                    </fields>
                  </widget>
                  <widget name="ordering" type="selectOneListbox">
                    <labels>
                      <label mode="any">Sort criterion</label>
                    </labels>
                    <fields>
                      <field>ordering</field>
                    </fields>
                    <selectOptions>
                      <option itemLabel="Label" itemValue="label"/>
                      <option itemLabel="Id" itemValue="id"/>
                    </selectOptions>
                  </widget>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.DirectorySelectManyWidgetTypeHandler
          </handler-class>
        </widgetType>
    
        <widgetType name="list">
          <configuration>
            <title>List</title>
            <description>
              <p>
                The list widget displays an editable list of items in create or edit
                mode, with additional message tag for errors, and the same list of
                items in other modes. It is not usable within a list widget (see
                sublist widget for this feature).
              </p>
              <p>Items are defined using sub wigdets configuration.</p>
              <p>
                This is actually a template widget type whose template uses a
                &lt;nxu:inputList /&gt; tag in edit or create mode, and a table
                iterating over items in other modes.
              </p>
            </description>
            <demo id="listWidget" previewEnabled="false"/>
            <categories>
              <category>document</category>
            </categories>
            <supportedModes>
              <mode>edit</mode>
              <mode>view</mode>
            </supportedModes>
            <fields>
              <list>true</list>
              <complex>false</complex>
              <supportedTypes>
                <type>string</type>
                <type>path</type>
                <type>date</type>
                <type>blob</type>
                <type>integer</type>
                <type>double</type>
                <type>boolean</type>
              </supportedTypes>
              <defaultTypes>
                <type>string</type>
                <type>path</type>
                <type>date</type>
                <type>blob</type>
                <type>integer</type>
                <type>double</type>
                <type>boolean</type>
              </defaultTypes>
            </fields>
            <properties>
              <layouts mode="any">
                <layout name="list_widget_type_properties_any">
                  <rows>
                    <row>
                      <widget>display</widget>
                    </row>
                    <row>
                      <widget>hideSubLabels</widget>
                    </row>
                  </rows>
                  <widget name="display" type="selectOneListbox">
                    <labels>
                      <label mode="any">Display</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The display attribute controls the rendering of subwidgets,
                        either in a table, either inline. Available since 5.4.2.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>display</field>
                    </fields>
                    <selectOptions>
                      <option itemLabel="Table (default)" itemValue="table"/>
                      <option itemLabel="In line" itemValue="inline"/>
                    </selectOptions>
                  </widget>
                  <widget name="hideSubLabels" type="checkbox">
                    <labels>
                      <label mode="any">Hide subwidgets labels</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        This attribute controls the rendering of subwidgets labels.
                        Available since 5.4.2.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>hideSubLabels</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="list_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget>required</widget>
                    </row>
                    <row>
                      <widget>diff</widget>
                    </row>
                    <row>
                      <widget>orderable</widget>
                    </row>
                  </rows>
                  <widget name="required" type="checkbox">
                    <labels>
                      <label mode="any">Required</label>
                    </labels>
                    <fields>
                      <field>required</field>
                    </fields>
                  </widget>
                  <widget name="diff" type="checkbox">
                    <labels>
                      <label mode="any">Diff</label>
                    </labels>
                    <fields>
                      <field>diff</field>
                    </fields>
                  </widget>
                  <widget name="orderable" type="checkbox">
                    <labels>
                      <label mode="any">Orderable</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        This attribute controls the possibility to order the items.
                        Available since 5.4.3.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>orderable</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">/widgets/list_widget_template.xhtml</property>
        </widgetType>
    
        <widgetType name="complex">
          <configuration>
            <sinceVersion>5.4.2</sinceVersion>
            <title>Complex</title>
            <description>
              <p>
                The complex widget displays its sub widgets, and is controlling of a
                map-like. Each of the map items rendering is done through sub
                widgets configuration.
              </p>
            </description>
            <demo id="complexWidget" previewEnabled="false"/>
            <categories>
              <category>document</category>
            </categories>
            <supportedModes>
              <mode>edit</mode>
              <mode>view</mode>
            </supportedModes>
            <fields>
              <list>false</list>
              <complex>true</complex>
            </fields>
            <properties>
              <layouts mode="any">
                <layout name="complex_widget_type_properties_any">
                  <rows>
                    <row>
                      <widget>display</widget>
                    </row>
                    <row>
                      <widget>hideSubLabels</widget>
                    </row>
                  </rows>
                  <widget name="display" type="selectOneListbox">
                    <labels>
                      <label mode="any">Display</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The display attribute controls the rendering of subwidgets,
                        either in a table, either inline. Available since 5.4.2.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>display</field>
                    </fields>
                    <selectOptions>
                      <option itemLabel="Table (default)" itemValue="table"/>
                      <option itemLabel="In line" itemValue="inline"/>
                    </selectOptions>
                  </widget>
                  <widget name="hideSubLabels" type="checkbox">
                    <labels>
                      <label mode="any">Hide subwidgets labels</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        This attribute controls the rendering of subwidgets labels.
                        Available since 5.4.2.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>hideSubLabels</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/complex_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="checkbox">
          <configuration>
            <title>Checkbox</title>
            <description>
              <p>
                The checkbox widget displays a checkbox in create, edit and any
                other mode, with additional message tag for errors.
              </p>
              <p>
                Widgets using this type can provide properties accepted on a
                &lt;h:selectBooleanCheckbox /&gt; tag in create, edit mode, and
                other modes.
              </p>
            </description>
            <demo id="checkboxWidget" previewEnabled="true"/>
            <categories>
              <category>document</category>
            </categories>
            <supportedModes>
              <mode>edit</mode>
              <mode>view</mode>
            </supportedModes>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <supportedTypes>
                <type>boolean</type>
              </supportedTypes>
              <defaultTypes>
                <type>boolean</type>
              </defaultTypes>
            </fields>
            <properties>
              <layouts mode="view">
                <layout name="checkbox_widget_type_properties_view">
                  <rows>
                    <row>
                      <widget>style</widget>
                    </row>
                    <row>
                      <widget>styleClass</widget>
                    </row>
                    <row>
                      <widget>title</widget>
                    </row>
                  </rows>
                  <widget name="style" type="text">
                    <labels>
                      <label mode="any">Style</label>
                    </labels>
                    <fields>
                      <field>style</field>
                    </fields>
                  </widget>
                  <widget name="styleClass" type="text">
                    <labels>
                      <label mode="any">Style class</label>
                    </labels>
                    <fields>
                      <field>styleClass</field>
                    </fields>
                  </widget>
                  <widget name="title" type="text">
                    <labels>
                      <label mode="any">Title</label>
                    </labels>
                    <fields>
                      <field>title</field>
                    </fields>
                    <widgetModes>
                      <mode value="any">hidden</mode>
                      <mode value="view_reference">view</mode>
                    </widgetModes>
                  </widget>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="checkbox_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget>required</widget>
                    </row>
                    <row>
                      <widget>style</widget>
                    </row>
                    <row>
                      <widget>styleClass</widget>
                    </row>
                    <row>
                      <widget>title</widget>
                    </row>
                    <row>
                      <widget>accesskey</widget>
                    </row>
                    <row>
                      <widget>dir</widget>
                    </row>
                    <row>
                      <widget>disabled</widget>
                    </row>
                    <row>
                      <widget>immediate</widget>
                    </row>
                    <row>
                      <widget>lang</widget>
                    </row>
                    <row>
                      <widget>validator</widget>
                    </row>
                    <row>
                      <widget>valueChangeListener</widget>
                    </row>
                  </rows>
                  <widget name="style" type="text">
                    <labels>
                      <label mode="any">Style</label>
                    </labels>
                    <fields>
                      <field>style</field>
                    </fields>
                  </widget>
                  <widget name="styleClass" type="text">
                    <labels>
                      <label mode="any">Style class</label>
                    </labels>
                    <fields>
                      <field>styleClass</field>
                    </fields>
                  </widget>
                  <widget name="title" type="text">
                    <labels>
                      <label mode="any">Title</label>
                    </labels>
                    <fields>
                      <field>title</field>
                    </fields>
                    <widgetModes>
                      <mode value="any">hidden</mode>
                      <mode value="view_reference">view</mode>
                    </widgetModes>
                  </widget>
                  <widget name="accesskey" type="text">
                    <labels>
                      <label mode="any">Access key</label>
                    </labels>
                    <fields>
                      <field>accesskey</field>
                    </fields>
                  </widget>
                  <widget name="dir" type="selectOneListbox">
                    <labels>
                      <label mode="any">Direction</label>
                    </labels>
                    <fields>
                      <field>dir</field>
                    </fields>
                    <selectOptions>
                      <option itemLabel="" itemValue=""/>
                      <option itemLabel="Left to right" itemValue="LTR"/>
                      <option itemLabel="Right to left" itemValue="RTL"/>
                    </selectOptions>
                  </widget>
                  <widget name="disabled" type="checkbox">
                    <labels>
                      <label mode="any">Disabled</label>
                    </labels>
                    <fields>
                      <field>disabled</field>
                    </fields>
                  </widget>
                  <widget name="immediate" type="checkbox">
                    <labels>
                      <label mode="any">Immediate</label>
                    </labels>
                    <fields>
                      <field>immediate</field>
                    </fields>
                    <widgetModes>
                      <mode value="any">hidden</mode>
                      <mode value="view_reference">view</mode>
                    </widgetModes>
                  </widget>
                  <widget name="lang" type="text">
                    <labels>
                      <label mode="any">Lang</label>
                    </labels>
                    <fields>
                      <field>lang</field>
                    </fields>
                  </widget>
                  <widget name="required" type="checkbox">
                    <labels>
                      <label mode="any">Required</label>
                    </labels>
                    <fields>
                      <field>required</field>
                    </fields>
                  </widget>
                  <widget name="validator" type="text">
                    <labels>
                      <label mode="any">Validator</label>
                    </labels>
                    <fields>
                      <field>validator</field>
                    </fields>
                  </widget>
                  <widget name="valueChangeListener" type="text">
                    <labels>
                      <label mode="any">Value change listener</label>
                    </labels>
                    <fields>
                      <field>valueChangeListener</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.CheckboxWidgetTypeHandler
          </handler-class>
        </widgetType>
    
        <widgetType name="hidden">
          <configuration>
            <title>Hidden</title>
            <description>
              <p>
                The hidden widget is for a hidden field in create, edit and any
                other mode, with additional message tag for errors.
              </p>
              <p>
                Widgets using this type can provide properties accepted on a
                &lt;h:inputHidden /&gt; tag in create, edit mode, and other modes.
              </p>
            </description>
            <!-- demo does not present it (yet?) -->
            <!--
              <demo id="hiddenWidget" previewEnabled="false"/>
            -->
            <categories>
              <category>document</category>
            </categories>
            <supportedModes>
              <mode>edit</mode>
              <mode>view</mode>
            </supportedModes>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <supportedTypes>
                <type>string</type>
              </supportedTypes>
            </fields>
            <properties>
              <layouts mode="view">
                <layout name="hidden_widget_type_properties_view">
                  <rows>
                    <row>
                      <widget>style</widget>
                    </row>
                    <row>
                      <widget>styleClass</widget>
                    </row>
                    <row>
                      <widget>title</widget>
                    </row>
                  </rows>
                  <widget name="style" type="text">
                    <labels>
                      <label mode="any">Style</label>
                    </labels>
                    <fields>
                      <field>style</field>
                    </fields>
                  </widget>
                  <widget name="styleClass" type="text">
                    <labels>
                      <label mode="any">Style class</label>
                    </labels>
                    <fields>
                      <field>styleClass</field>
                    </fields>
                  </widget>
                  <widget name="title" type="text">
                    <labels>
                      <label mode="any">Title</label>
                    </labels>
                    <fields>
                      <field>title</field>
                    </fields>
                    <widgetModes>
                      <mode value="any">hidden</mode>
                      <mode value="view_reference">view</mode>
                    </widgetModes>
                  </widget>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="hidden_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget>required</widget>
                    </row>
                    <row>
                      <widget>immediate</widget>
                    </row>
                    <row>
                      <widget>validator</widget>
                    </row>
                    <row>
                      <widget>valueChangeListener</widget>
                    </row>
                  </rows>
                  <widget name="immediate" type="checkbox">
                    <labels>
                      <label mode="any">Immediate</label>
                    </labels>
                    <fields>
                      <field>immediate</field>
                    </fields>
                    <widgetModes>
                      <mode value="any">hidden</mode>
                      <mode value="view_reference">view</mode>
                    </widgetModes>
                  </widget>
                  <widget name="required" type="checkbox">
                    <labels>
                      <label mode="any">Required</label>
                    </labels>
                    <fields>
                      <field>required</field>
                    </fields>
                  </widget>
                  <widget name="validator" type="text">
                    <labels>
                      <label mode="any">Validator</label>
                    </labels>
                    <fields>
                      <field>validator</field>
                    </fields>
                  </widget>
                  <widget name="valueChangeListener" type="text">
                    <labels>
                      <label mode="any">Value change listener</label>
                    </labels>
                    <fields>
                      <field>valueChangeListener</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.HiddenWidgetTypeHandler
          </handler-class>
        </widgetType>
    
        <widgetType name="layout">
          <configuration>
            <sinceVersion>5.4.0</sinceVersion>
            <title>Layout</title>
            <description>
              <p>The layout widget renders a layout.</p>
              <p>
                Widgets using this type can provide properties accepted on a
                &lt;nxl:layout /&gt; tag in all modes.
              </p>
            </description>
            <categories>
              <category>dev</category>
            </categories>
            <supportedModes>
              <mode>edit</mode>
              <mode>view</mode>
            </supportedModes>
            <properties>
              <layouts mode="any">
                <layout name="layout_widget_type_properties_any">
                  <rows>
                    <row>
                      <widget>name</widget>
                    </row>
                    <row>
                      <widget>mode</widget>
                    </row>
                    <row>
                      <widget>template</widget>
                    </row>
                  </rows>
                  <widget name="name" type="text">
                    <labels>
                      <label mode="any">Layout name</label>
                    </labels>
                    <fields>
                      <field>name</field>
                    </fields>
                    <properties widgetMode="any">
                      <property name="required">true</property>
                    </properties>
                  </widget>
                  <widget name="mode" type="text">
                    <labels>
                      <label mode="any">Layout mode</label>
                    </labels>
                    <fields>
                      <field>mode</field>
                    </fields>
                    <properties widgetMode="any">
                      <property name="required">true</property>
                    </properties>
                  </widget>
                  <widget name="template" type="selectOneResource">
                    <labels>
                      <label mode="any">Template</label>
                    </labels>
                    <fields>
                      <field>template</field>
                    </fields>
                    <properties mode="any">
                      <property name="resourceName">xhtml_templates</property>
                    </properties>
                  </widget>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.LayoutWidgetTypeHandler
          </handler-class>
        </widgetType>
    
        <widgetType name="richtext_with_mimetype">
          <configuration>
            <sinceVersion>5.3.1</sinceVersion>
            <title>Richtext</title>
            <description>
              <p>
                This widget displays an html text editor or a textarea in create or
                edit mode, depending on the mimetype defined.
              </p>
              <p>
                Widgets using this type can provide properties accepted on a
                &lt;nxu:editor /&gt; tag in create or edit mode.
              </p>
            </description>
            <categories>
              <!-- do not export with documents -->
              <!--
                <category>document</category>
              -->
            </categories>
            <supportedModes>
              <mode>edit</mode>
              <mode>view</mode>
            </supportedModes>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <supportedTypes>
                <type>string</type>
              </supportedTypes>
            </fields>
            <properties>
              <layouts mode="view">
                <layout name="richtext_widget_type_properties_view">
                  <rows>
                    <row>
                      <widget>cssClass</widget>
                    </row>
                    <row>
                      <widget>translatedHtml</widget>
                    </row>
                  </rows>
                  <widget name="cssClass" type="text">
                    <labels>
                      <label mode="any">Style class</label>
                    </labels>
                    <fields>
                      <field>cssClass</field>
                    </fields>
                  </widget>
                  <widget name="translatedHtml" type="text">
                    <labels>
                      <label mode="any">Translate HTML (?)</label>
                    </labels>
                    <fields>
                      <field>translatedHtml</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="richtext_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget>height</widget>
                    </row>
                    <row>
                      <widget>width</widget>
                    </row>
                    <row>
                      <widget>cols</widget>
                    </row>
                    <row>
                      <widget>rows</widget>
                    </row>
                    <row>
                      <widget>editorSelector</widget>
                    </row>
                  </rows>
                  <widget name="width" type="int">
                    <labels>
                      <label mode="any">Width</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The textarea width. Defaults to "640".
                      </label>
                    </helpLabels>
                    <fields>
                      <field>width</field>
                    </fields>
                  </widget>
                  <widget name="height" type="int">
                    <labels>
                      <label mode="any">Height</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The textarea height. Defaults to "400".
                      </label>
                    </helpLabels>
                    <fields>
                      <field>height</field>
                    </fields>
                  </widget>
                  <widget name="cols" type="int">
                    <labels>
                      <label mode="any">Number of columns</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The cols attribute sets the number of columns to display.
                        Available since 5.3.1.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>cols</field>
                    </fields>
                  </widget>
                  <widget name="rows" type="int">
                    <labels>
                      <label mode="any">Number of rows</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The rows attribute sets the number of rows to display.
                        Available since 5.3.1.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>rows</field>
                    </fields>
                  </widget>
                  <widget name="editorSelector" type="text">
                    <labels>
                      <label mode="any">Editor selector</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The class to use to identify text areas to turn into html
                        editors. Defaults to "mceEditor". See the editor_selector
                        option in tiny_mce
                        (http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/editor_selector).
                      </label>
                    </helpLabels>
                    <fields>
                      <field>editorSelector</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/richtext_with_mimetype_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="duration">
          <configuration>
            <sinceVersion>5.3.2</sinceVersion>
            <title>Duration</title>
            <description>
              This widget displays a i18n formatted duration of a field holding a
              value measured in seconds (can be Long, Double or String valued). NB:
              only view mode is supported right now.
            </description>
            <categories>
              <category>document</category>
            </categories>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <supportedTypes>
                <type>string</type>
                <type>int</type>
                <type>double</type>
              </supportedTypes>
            </fields>
            <!-- no props -->
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/duration_widget_template.xhtml
          </property>
        </widgetType>
    
      </extension>
  • nuxeo-case-management-web-1.8.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
        <widgetType name="listing_cm_title_link">
          <documentation>
            This widget type displays a link to navigate to a case.
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>
                first field maps the document model, it will be used to display the
                document link and its title
              </li>
              <li>
                second field maps the unique id to be used for contextual menu (e.g.
                the document model id)
              </li>
              <li>third field maps the caseLink's caseDocumentId.</li>
            </ul>
          </documentation>
    
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_cm_title_link_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="listing_inbox_title_link">
    
          <documentation>
            This widget type displays a link to navigate to a case.
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>
                first field maps the document model, it will be used to display the
                document link and its title
              </li>
              <li>
                second field maps the unique id to be used for contextual menu (e.g.
                the document model id)
              </li>
              <li>third field maps the caseLink's caseDocumentId.</li>
              <li>fouth field maps the isRead property of a caseLink.</li>
            </ul>
          </documentation>
    
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_cm_inbox_title_link_widget_template.xhtml
          </property>
    
        </widgetType>
    
        <widgetType name="listing_draft_title_link">
    
          <documentation>
            This widget type displays a link to navigate to a case.
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>
                first field maps the document model, it will be used to display the
                document link and its title
              </li>
              <li>
                second field maps the unique id to be used for contextual menu (e.g.
                the document model id)
              </li>
              <li>third field maps the caseLink's caseDocumentId.</li>
            </ul>
          </documentation>
    
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_cm_draft_title_link_widget_template.xhtml
          </property>
    
        </widgetType>
    
        <widgetType name="listing_cm_text_history_action">
          <documentation>
            This widget type displays a action logged by the audit.
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>first field maps the entryId for the entryLog</li>
            </ul>
          </documentation>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_cm_text_history_action_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="listing_cm_text_history_username">
          <documentation>
            This widget type displays the username for a given principal
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>first field maps the principalName</li>
            </ul>
          </documentation>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_cm_text_username_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="listing_cm_text_distribution_history_comment">
          <documentation>
            This widget type displays a comment logged by the audit.
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>first field maps the logEntry</li>
            </ul>
          </documentation>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_cm_text_dis_history_comment_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="listing_cm_text_distribution_action_recipient">
          <documentation>
            This widget type displays the action recipients logged by the audit.
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>first field maps the logEntry</li>
            </ul>
          </documentation>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_cm_text_dis_history_action_recepients_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="listing_cm_text_distribution_copy_recipient">
          <documentation>
            This widget type displays the copy recipients logged by the audit.
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>first field maps the logEntry</li>
            </ul>
          </documentation>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_cm_text_dis_history_copy_recepients_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="listing_cm_relations_outgoing_predicate">
          <documentation>
            This widget type displays the prdicate in a relation
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>statement.predicate.uri</li>
            </ul>
          </documentation>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_cm_text_relations_outgoing_predicate_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="listing_cm_relations_incoming_predicate">
          <documentation>
            This widget type displays the prdicate in a relation
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>statement.predicate.uri</li>
            </ul>
          </documentation>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_cm_text_relations_incoming_predicate_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="listing_cm_relations_object">
          <documentation>
            This widget type displays the prdicate in a relation
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>statement.</li>
              <li>statement.objectInfo</li>
            </ul>
          </documentation>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_cm_text_relations_object_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="listing_cm_relations_comment">
          <documentation>
            This widget type displays the comment in a relation
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>statement.</li>
              <li>statement.comment</li>
            </ul>
          </documentation>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_cm_text_relations_comment_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="listing_cm_relations_actions">
          <documentation>
            This widget type displays the actions that a user can perform on the
            documents from relation
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>statement.</li>
            </ul>
          </documentation>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_cm_text_relations_actions_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="listing_cm_inbox_actionable_case_link_actions">
    
          <documentation>
            This widget type displays 2 links to approve or reject a task
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>
                first field maps the document model, it will be used to display the
                document link and its title
              </li>
              <li>
                second field maps the unique id to be used for contextual menu (e.g.
                the document model id)
              </li>
              <li>third field maps the caseLink's caseDocumentId.</li>
              <li>fouth field maps the isRead property of a caseLink.</li>
            </ul>
          </documentation>
    
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_cm_inbox_actionable_case_link_actions_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="listing_cm_routing_task_type_widget">
          <documentation>
            This widget type displays the prdicate in a relation
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>directory name</li>
              <li>data</li>
            </ul>
          </documentation>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_cm_routing_task_type_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="listing_cm_routing_doc_properties">
          <documentation>
            This widget type displays some task properties
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>the documentRouteElement</li>
            </ul>
          </documentation>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_cm_routing_doc_properties_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="listing_cm_route_title_link">
    
          <documentation>
            This widget type displays a link to a route. It opens a new window
            with route as selected tab.
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>
                first field maps the document model, it will be used to display the
                document link and its title
              </li>
            </ul>
          </documentation>
    
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /documentrouting_widgets/listing/listing_cm_case_linked_route_widget_template.xhtml
          </property>
        </widgetType>
    
      </extension>
  • nuxeo-case-management-web-1.8.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
        <widgetType name="summary_current_caseitem">
           <configuration>
            <sinceVersion>1.8</sinceVersion>
            <title>CaseItem summary</title>
            <description>
              This widgets displays the metadatas for the current Case or Case Item and allows to modify them.
            </description>
            <categories>
              <category>summary</category>
              <category>cmf</category>
            </categories>
            <supportedModes>
              <mode>view</mode>
              <mode>edit</mode>
            </supportedModes>
            <!-- no configurable properties -->
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/summary/summary_current_caseitem_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="summary_case_item_content">
           <configuration>
            <sinceVersion>1.8</sinceVersion>
            <title>CaseItem attached files summary</title>
            <description>
              This widgets displays the attached files on the current Case Item and allows to modify them.
            </description>
            <categories>
              <category>summary</category>
              <category>cmf</category>
            </categories>
            <supportedModes>
              <mode>view</mode>
              <mode>edit</mode>
            </supportedModes>
            <!-- no configurable properties -->
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/summary/summary_caseitem_content_widget_template.xhtml
          </property>
        </widgetType>
      </extension>
  • nuxeo-platform-document-routing-web-5.4.3-I20110729.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    
        <widgetType name="summary_current_route_action">
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/summary/summary_current_route_action.xhtml
          </property>
        </widgetType>
        <widgetType name="summary_document_route_action">
         <configuration>
            <sinceVersion>1.8</sinceVersion>
            <title>Related route summary</title>
            <description>
              This widgets allows to view/start a route related to the current Case.
            </description>
            <categories>
              <category>summary</category>
              <category>cmf</category>
            </categories>
            <supportedModes>
              <mode>view</mode>
              <mode>edit</mode>
            </supportedModes>
            <!-- no configurable properties -->
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/summary/summary_document_route_action.xhtml
          </property>
        </widgetType>
      </extension>
  • nuxeo-platform-relations-web-5.4.2-HF05.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    
        <widgetType name="relation_listing_title_link">
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/relation_listing_title_link_widget_template.xhtml
          </property>
    
        </widgetType>
    
      </extension>
  • nuxeo-platform-localconfiguration-web-5.4.2-HF05.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    
        <widgetType name="theme_selection">
          <documentation>
    
          </documentation>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">/widgets/theme_selection_widget_template.xhtml
          </property>
        </widgetType>
    
      </extension>
  • nuxeo-platform-webapp-base-5.4.2-HF05.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    
        <documentation>
          The widget types from this contribution are intended to be used within a
          layout displaying a table line. They can be configured to match metadata
          from a table iteration item.
          <br/>
    
          The template "/layouts/layout_listing_template.xhtml" handles specific
          configuration for lists of documents rendering. It applies to an item
          instance of SelectDataModel named "documents" in the EL context.
          <br/>
    
          It also requires the following variables to be present in the EL context:
          <ul>
            <li>
              provider: result provider used to get the list of items, its name will
              be used, as well as sort and pagination features it provides.
            </li>
            <li>
              layoutListingStatus: iteration status as provided by the "c:forEach"
              tag, used to print table header matching widget label.
            </li>
          </ul>
    
          It accepts the the following properties configuration:
          <ul>
            <li>
              showListingHeader: true or false, used to define whether the table
              header should be displayed. This property can also be passed in the EL
              context, using the table iteration status. Defaults to false.
            </li>
            <li>
              showRowEvenOddClass: true or false, used to define if a style class
              should be set on table rows depending on the layoutListingStatus index
              variable (row or odd). Defaults to false.
            </li>
          </ul>
          Its layout columns accept the following properties configuration:
          <ul>
            <li>
              isListingSelectionBox: true or false, used to define wether a "select
              all/unselect all" checkbox should be displayed. To be used in
              conjunction with a widget of type "listing_selection_box". Defaults to
              false.
            </li>
            <li>
              isListingSelectionBoxWithCurrentDocument: true or false, used to
              define wether a "select all/unselect all" checkbox should be
              displayed. To be used in conjunction with a widget of type
              "listing_selection_box_with_current_document". Defaults to false.
            </li>
            <li>
              useFirstWidgetLabelAsColumnHeader: true or false, used to define if
              first widget label should be used as column header label. Will use
              translation settings from the widget configuration. Defaults to false.
            </li>
            <li>
              sortPropertyName: name of the property that will be used by the result
              provider when clicking on the table header. If not set, the sort link
              will not be displayed. Defaults to null.
            </li>
            <li>
              defaultSortAscending: define the initial sort order of the column
              (true : ascending, false : descending) Defaults to null (will be
              interpreted as ascending=true).
            </li>
            <li>
              columnStyleClass: name of the style class that will be used for the
              given column. Defaults to null.
            </li>
          </ul>
    
          TODO: document layout_listing_ajax_template.xhtml
        </documentation>
    
        <widgetType name="listing_selection_box_with_current_document">
          <configuration>
            <sinceVersion>5.4.0</sinceVersion>
            <title>Selection checkbox with current document</title>
            <description>
              <p>
                This widget type displays a selection checkbox, that will perform
                remote selection of given item. The current document information is
                also provided to restore current context when clicking on the link.
              </p>
              <p>
                It requires the following fields configuration:
                <ul>
                  <li>
                    first field maps a boolean representing the selection state
                  </li>
                  <li>
                    second field maps the string identifier used to perform
                    selection
                  </li>
                </ul>
              </p>
              <p>
                It also requires the following variables to be present in the EL
                context:
                <ul>
                  <li>
                    provider: result provider used to get the list of items, its
                    name will be used.
                  </li>
                  <li>
                    listName: the name of the list that will hold selected items
                  </li>
                  <li>currentDocument: the current document</li>
                </ul>
              </p>
            </description>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <defaultConfiguration>
                <field>selected</field>
                <field>data.ref</field>
              </defaultConfiguration>
            </fields>
            <categories>
              <category>old_listing</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_selection_box_with_current_document_widget_template.xhtml
          </property>
    
        </widgetType>
    
        <widgetType name="listing_ajax_selection_box_with_current_document">
          <configuration>
            <sinceVersion>5.4.0</sinceVersion>
            <title>Ajax selection checkbox with current document</title>
            <description>
              <p>
                This widget type displays a selection checkbox, that will perform
                ajax selection of given item. The current document information is
                also provided to restore current context when clicking on the link.
              </p>
              <p>
                It requires the following fields configuration:
                <ul>
                  <li>
                    first field maps a boolean representing the selection state
                  </li>
                  <li>
                    second field maps the string identifier used to perform
                    selection
                  </li>
                </ul>
              </p>
              <p>
                It also requires the following variables to be present in the EL
                context:
                <ul>
                  <li>
                    provider: result provider used to get the list of items, its
                    name will be used.
                  </li>
                  <li>
                    listName: the name of the list that will hold selected items
                  </li>
                  <li>currentDocument: the current document</li>
                </ul>
              </p>
            </description>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <defaultConfiguration>
                <field>selected</field>
                <field>data.ref</field>
              </defaultConfiguration>
            </fields>
            <categories>
              <category>hidden_listing</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_ajax_selection_box_with_current_document_widget_template.xhtml
          </property>
    
        </widgetType>
    
        <widgetType name="listing_selection_box">
          <configuration>
            <sinceVersion>5.4.0</sinceVersion>
            <title>Selection checkbox</title>
            <description>
              <p>
                This widget type displays a selection checkbox, that will perform
                remote selection of given item.
              </p>
              <p>
                It requires the following fields configuration:
                <ul>
                  <li>
                    first field maps a boolean representing the selection state
                  </li>
                  <li>
                    second field maps the string identifier used to perform
                    selection
                  </li>
                </ul>
              </p>
              <p>
                It also requires the following variables to be present in the EL
                context:
                <ul>
                  <li>
                    provider: result provider used to get the list of items, its
                    name will be used.
                  </li>
                  <li>
                    listName: the name of the list that will hold selected items
                  </li>
                </ul>
              </p>
            </description>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <defaultConfiguration>
                <field>selected</field>
                <field>data.ref</field>
              </defaultConfiguration>
            </fields>
            <categories>
              <category>old_listing</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_selection_box_widget_template.xhtml
          </property>
    
        </widgetType>
    
        <widgetType name="listing_ajax_selection_box">
          <configuration>
            <sinceVersion>5.4.0</sinceVersion>
            <title>Ajax selection checkbox</title>
            <description>
              <p>
                This widget type displays a selection checkbox, that will perform
                ajax selection of given item.
              </p>
              <p>
                It requires the following fields configuration:
                <ul>
                  <li>
                    first field maps a boolean representing the selection state
                  </li>
                  <li>
                    second field maps the string identifier used to perform
                    selection
                  </li>
                </ul>
              </p>
              <p>
                It also requires the following variables to be present in the EL
                context:
                <ul>
                  <li>
                    provider: result provider used to get the list of items, its
                    name will be used.
                  </li>
                  <li>
                    listName: the name of the list that will hold selected items
                  </li>
                </ul>
              </p>
            </description>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <defaultConfiguration>
                <field>selected</field>
                <field>data.ref</field>
              </defaultConfiguration>
            </fields>
            <categories>
              <category>hidden_listing</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_ajax_selection_box_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="listing_icon_type">
          <configuration>
            <sinceVersion>5.4.0</sinceVersion>
            <title>Icon and document type</title>
            <description>
              <p>
                This widget type displays a draggable icon corresponding to a
                document.
              </p>
              <p>
                It requires the following fields configuration:
                <ul>
                  <li>
                    first field maps the document model, the jsf method nxd:iconPath
                    will be used to provide its icon
                  </li>
                  <li>
                    second field maps the unique id to be used as drag/drop
                    identified (e.g. the document model id)
                  </li>
                  <li>
                    third field maps the icon title (can be the document model type)
                  </li>
                  <li>
                    fourth field maps a boolean stating whether the widget displays
                    a droppable zone (e.g. if document is folderish)
                  </li>
                </ul>
              </p>
            </description>
            <demo id="listing_icon_typeWidget"/>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <defaultConfiguration>
                <field>data</field>
                <field>data.ref</field>
                <field>data.type</field>
                <field>data.folder</field>
              </defaultConfiguration>
            </fields>
            <categories>
              <category>listing</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_icon_type_widget_template.xhtml
          </property>
    
        </widgetType>
    
        <widgetType name="listing_big_icon_type">
          <configuration>
            <sinceVersion>5.4.0</sinceVersion>
            <title>Big icon and document type</title>
            <description>
              <p>
                This widget type displays a big draggable icon corresponding to a
                document.
              </p>
              <p>
                It requires the following fields configuration:
                <ul>
                  <li>
                    first field maps the document model, the jsf method
                    nxd:bigIconPath will be used to provide its icon
                  </li>
                  <li>
                    second field maps the unique id to be used as drag/drop
                    identified (e.g. the document model id)
                  </li>
                  <li>
                    third field maps the displayed icon title (can be the document
                    model type)
                  </li>
                  <li>
                    fourth field maps a boolean stating whether the widget displays
                    a droppable zone (e.g. if document is folderish)
                  </li>
                </ul>
              </p>
            </description>
            <demo id="listing_big_icon_typeWidget"/>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <defaultConfiguration>
                <field>data</field>
                <field>data.ref</field>
                <field>data.type</field>
                <field>data.folder</field>
              </defaultConfiguration>
            </fields>
            <categories>
              <category>listing</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_big_icon_type_widget_template.xhtml
          </property>
    
        </widgetType>
    
        <widgetType name="listing_big_icon_type_link">
          <configuration>
            <sinceVersion>5.4.0</sinceVersion>
            <title>Big icon and document type with link</title>
            <description>
              <p>
                This widget type displays a big draggable icon corresponding to a
                document with a link to the document.
              </p>
              <p>
                It requires the following fields configuration:
                <ul>
                  <li>
                    first field maps the document model, the jsf method
                    nxd:bigIconPath will be used to provide its icon and to display
                    the document link
                  </li>
                  <li>
                    second field maps the unique id to be used as drag/drop
                    identified (e.g. the document model id)
                  </li>
                  <li>
                    third field maps the displayed icon title (can be the document
                    model type)
                  </li>
                  <li>
                    fourth field maps a boolean stating whether the widget displays
                    a droppable zone (e.g. if document is folderish)
                  </li>
                </ul>
              </p>
            </description>
            <demo id="listing_big_icon_type_linkWidget"/>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <defaultConfiguration>
                <field>data</field>
                <field>data.ref</field>
                <field>data.type</field>
                <field>data.folder</field>
              </defaultConfiguration>
            </fields>
            <categories>
              <category>listing</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_big_icon_type_link_widget_template.xhtml
          </property>
    
        </widgetType>
    
        <widgetType name="listing_title_link">
          <configuration>
            <sinceVersion>5.4.0</sinceVersion>
            <title>Title with link</title>
            <description>
              <p>
                This widget type displays a link to navigate to a document, as well
                as a download link for the document binary content.
              </p>
              <p>
                It requires the following fields configuration:
                <ul>
                  <li>
                    first field maps the document model, it will be used to display
                    the document link and its title
                  </li>
                  <li>
                    second field maps the unique id to be used for contextual menu
                    (e.g. the document model id)
                  </li>
                  <li>
                    third field maps the displayed link title (can be the document
                    model description)
                  </li>
                  <li>
                    fourth field maps the document model file to be used for
                    download link
                  </li>
                  <li>
                    fifth field maps the file name to be used for download link (can
                    be the document model file name property value)
                  </li>
                </ul>
              </p>
              <p>
                It also requires the following properties configuration:
                <ul>
                  <li>
                    file_schema: the file schema name, used to check whether
                    download link should be displayed (e.g: file)
                  </li>
                  <li>
                    file_property_name: the file property name (e.g file:content)
                  </li>
                </ul>
              </p>
            </description>
            <demo id="listing_title_linkWidget"/>
            <confProperties>
              <property name="sortPropertyName">dc:title</property>
            </confProperties>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <defaultConfiguration>
                <field>data</field>
                <field>data.ref</field>
                <field>data.dc.description</field>
                <field>data.file.content</field>
                <field>data.file.filename</field>
              </defaultConfiguration>
            </fields>
            <categories>
              <category>listing</category>
            </categories>
            <properties>
              <layouts mode="any">
                <layout name="listing_title_link_widget_type_properties_any">
                  <rows>
                    <row>
                      <widget>tab</widget>
                    </row>
                  </rows>
                  <widget name="tab" type="text">
                    <labels>
                      <label mode="any">Tab</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The tab to select when clicking on the link. Available since
                        5.4.2.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>tab</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_title_link_widget_template.xhtml
          </property>
    
        </widgetType>
    
        <widgetType name="listing_lock_icon">
          <configuration>
            <sinceVersion>5.4.0</sinceVersion>
            <title>Lock icon</title>
            <description>
              <p>This widget type displays a lock icon.</p>
              <p>
                It requires the following fields configuration:
                <ul>
                  <li>
                    first field maps a property stating that lock icon should be
                    displayed if not empty (e.g. the document model lock state)
                  </li>
                </ul>
              </p>
            </description>
            <demo id="listing_lock_iconWidget"/>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <defaultConfiguration>
                <field>data.lock</field>
              </defaultConfiguration>
            </fields>
            <categories>
              <category>listing</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_lock_icon_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="listing_author">
          <configuration>
            <sinceVersion>5.4.0</sinceVersion>
            <title>Author</title>
            <description>
              <p>This widget type displays a user name.</p>
              <p>
                It requires the following fields configuration:
                <ul>
                  <li>first field mapping the user identifier</li>
                </ul>
              </p>
            </description>
            <demo id="listing_authorWidget"/>
            <confProperties>
              <property name="sortPropertyName">dc:creator</property>
            </confProperties>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <defaultConfiguration>
                <field>data.dc.creator</field>
              </defaultConfiguration>
            </fields>
            <categories>
              <category>listing</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/single_user_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="listing_last_contributor">
          <configuration>
            <sinceVersion>5.4.2</sinceVersion>
            <title>Last contributor</title>
            <description>
              <p>This widget type displays the last contributor name</p>
              <p>
                It requires the following fields configuration:
                <ul>
                  <li>first field mapping the lastContributor field</li>
                </ul>
              </p>
            </description>
            <demo id="listing_last_contributorWidget"/>
            <confProperties>
              <property name="sortPropertyName">dc:lastContributor</property>
            </confProperties>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <defaultConfiguration>
                <field>data.dc.lastContributor</field>
              </defaultConfiguration>
            </fields>
            <categories>
              <category>listing</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/single_user_widget_template.xhtml
          </property>
    
        </widgetType>
    
        <widgetType name="listing_lifecycle">
          <configuration>
            <sinceVersion>5.4.0</sinceVersion>
            <title>Lifecycle state</title>
            <description>
              <p>This widget type displays a life cycle state name.</p>
              <p>
                It requires the following fields configuration:
                <ul>
                  <li>first field mapping the life cycle state name</li>
                </ul>
              </p>
            </description>
            <demo id="listing_lifecycleWidget"/>
            <confProperties>
              <property name="sortPropertyName">ecm:currentLifeCycleState</property>
            </confProperties>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <defaultConfiguration>
                <field>data.currentLifeCycleState</field>
              </defaultConfiguration>
            </fields>
            <categories>
              <category>listing</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_lifecycle_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="listing_livedit_link">
          <configuration>
            <sinceVersion>5.4.0</sinceVersion>
            <title>Live edit link</title>
            <description>
              <p>This widget type displays a live edit link.</p>
              <p>
                It requires the following fields configuration:
                <ul>
                  <li>
                    first field mapping the document model to be used for live edit
                    link
                  </li>
                </ul>
              </p>
              <p>
                It also requires the following properties configuration:
                <ul>
                  <li>file_schema: the file schema name</li>
                  <li>file_field_name: the file field name</li>
                  <li>filename_field_name: the file name field name</li>
                </ul>
              </p>
            </description>
            <demo id="listing_livedit_linkWidget"/>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <defaultConfiguration>
                <field>data</field>
              </defaultConfiguration>
            </fields>
            <categories>
              <category>listing</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_livedit_link_widget_template.xhtml
          </property>
    
        </widgetType>
    
        <widgetType name="listing_version">
          <configuration>
            <sinceVersion>5.4.0</sinceVersion>
            <title>Version</title>
            <description>
              <p>This widget type displays a document model version label</p>
              <p>
                It requires the following fields configuration:
                <ul>
                  <li>
                    first field mapping the document model, its version label will
                    be retrieved querying the versioning service
                  </li>
                </ul>
              </p>
            </description>
            <demo id="listing_versionWidget"/>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <defaultConfiguration>
                <field>data</field>
              </defaultConfiguration>
            </fields>
            <categories>
              <category>listing</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_version_widget_template.xhtml
          </property>
        </widgetType>
    
      </extension>
  • nuxeo-platform-webapp-core-5.4.2-HF05.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    
        <documentation>
          The widget types from this contribution are intended to be used in the
          summary view. All these widgets are bound to the currentDocument in the
          Seam context.
        </documentation>
    
        <widgetType name="summary_current_document_actions">
          <configuration>
            <sinceVersion>5.3.1</sinceVersion>
            <title>Actions (lock, restore version)</title>
            <description>
              <p>
                This widgets displays the actions on the current document
                (lock/unlock and undelete by default).
              </p>
              <p>
                It requires the following variables to be present in the EL context:
                <ul>
                  <li>currentDocument: the current document</li>
                </ul>
              </p>
            </description>
            <categories>
              <category>summary</category>
            </categories>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
            <!-- no configurable properties -->
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/summary/actions_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="summary_current_document_custom_actions">
          <configuration>
            <sinceVersion>5.4.2</sinceVersion>
            <title>Custom actions</title>
            <description>
              <p>This widgets displays custom actions on the current document.</p>
              <p>
                It will display actions in the category given in the 'category'
                property (defaults to 'DOCUMENT_SUMMARY_CUSTOM_ACTIONS' when not
                set). The widget label and help label will be displayed above the
                actions.
              </p>
            </description>
            <categories>
              <category>summary</category>
            </categories>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
            <properties>
              <layouts mode="any">
                <layout name="summary_current_document_custom_actions_widget_type_properties_any">
                  <rows>
                    <row>
                      <widget>category</widget>
                    </row>
                    <row>
                      <widget>display</widget>
                    </row>
                  </rows>
                  <widget name="category" type="text">
                    <labels>
                      <label mode="any">Category</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The category of actions to use (defaults to
                        DOCUMENT_SUMMARY_CUSTOM_ACTIONS when not set)
                      </label>
                    </helpLabels>
                    <fields>
                      <field>category</field>
                    </fields>
                  </widget>
                  <widget name="display" type="selectOneListbox">
                    <labels>
                      <label mode="any">Display</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        If set to 'buttons', actions will be displayed as command
                        buttons. If set to 'links', actions will be displayed as
                        command links. If set to 'icons', actions will be displayed
                        as icons. Else (default behaviour), actions will be
                        displayed as command links and display their icons when
                        defined.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>display</field>
                    </fields>
                    <selectOptions>
                      <option itemLabel="Icons and links" itemValue=""/>
                      <option itemLabel="Icons" itemValue="icons"/>
                      <option itemLabel="Buttons" itemValue="buttons"/>
                      <option itemLabel="Links" itemValue="links"/>
                    </selectOptions>
                  </widget>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/summary/custom_actions_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="summary_current_document_description">
          <configuration>
            <sinceVersion>5.3.1</sinceVersion>
            <title>Description</title>
            <description>
              <p>This widgets displays the description of the currentDocument.</p>
              <p>
                It requires the following variables to be present in the EL context:
                <ul>
                  <li>currentDocument: the current document</li>
                </ul>
              </p>
            </description>
            <categories>
              <category>summary</category>
            </categories>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
            <!-- no configurable properties -->
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/summary/description_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="summary_current_document_files">
          <configuration>
            <sinceVersion>5.3.1</sinceVersion>
            <title>Files</title>
            <description>
              <p>This widgets displays the files held by the currentDocument</p>
              <p>
                It requires the following variables to be present in the EL context:
                <ul>
                  <li>currentDocument: the current document</li>
                  <li>
                    currentDocumentAsBlobHolder : the BlobHolder on the
                    currentDocument
                  </li>
                  <li>
                    conversionActions : the Seam Bean wrapping the conversionService
                  </li>
                  <li>liveEditHelper : the Seam Bean encapsulating LiveEdit</li>
                </ul>
              </p>
            </description>
            <categories>
              <category>summary</category>
            </categories>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
            <!-- no configurable properties -->
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/summary/content_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="summary_current_document_view">
          <configuration>
            <sinceVersion>5.3.1</sinceVersion>
            <title>View layout</title>
            <description>
              <p>This widgets displays the view layouts of the currentDocument</p>
              <p>
                It requires the following variables to be present in the EL context:
                <ul>
                  <li>currentDocument: the current document</li>
                  <li>currentDocumentType : the Type of the current document</li>
                </ul>
              </p>
            </description>
            <categories>
              <category>summary</category>
            </categories>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
            <!-- no configurable properties -->
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/summary/metadata_custom_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="summary_current_document_dublincore">
          <configuration>
            <sinceVersion>5.3.1</sinceVersion>
            <title>Dublincore</title>
            <description>
              <p>
                This widgets displays the dublincore layout of the currentDocument
              </p>
              <p>
                It requires the following variables to be present in the EL context:
                <ul>
                  <li>currentDocument: the current document</li>
                </ul>
              </p>
            </description>
            <categories>
              <category>summary</category>
            </categories>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
            <!-- no configurable properties -->
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/summary/metadata_dc_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="summary_current_document_tagging">
          <configuration>
            <sinceVersion>5.3.1</sinceVersion>
            <title>Tagging</title>
            <description>
              This widgets displays the tags for the currentDocument and allow to
              add new ones. This widgets requires the tag service to be deployed.
            </description>
            <categories>
              <category>summary</category>
            </categories>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
            <!-- no configurable properties -->
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/summary/tagging_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="summary_current_document_relations">
          <configuration>
            <sinceVersion>5.3.1</sinceVersion>
            <title>Relations</title>
            <description>
              This widgets displays the in/out relations for the currentDocument.
              This widgets requires the Relation service to be deployed.
            </description>
            <categories>
              <category>summary</category>
            </categories>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
            <!-- no configurable properties -->
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/summary/relations_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="summary_current_document_comments">
          <configuration>
            <sinceVersion>5.3.1</sinceVersion>
            <title>Comments</title>
            <description>
              This widgets displays the comments for the currentDocument. This
              widgets requires the Comment service to be deployed.
            </description>
            <categories>
              <category>summary</category>
            </categories>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
            <!-- no configurable properties -->
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/summary/comments_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="summary_current_document_publications">
          <configuration>
            <sinceVersion>5.3.1</sinceVersion>
            <title>Publications</title>
            <description>
              This widgets displays the publications of the currentDocument. This
              widgets requires the Publisher service to be deployed.
            </description>
            <categories>
              <category>summary</category>
            </categories>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
            <!-- no configurable properties -->
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/summary/publication_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="summary_current_document_lc_and_version">
          <configuration>
            <sinceVersion>5.3.1</sinceVersion>
            <title>Life cycle state and version</title>
            <description>
              <p>
                This widgets displays the life-cycle state and version of the
                currentDocument.
              </p>
              <p>
                It requires the following variables to be present in the EL context:
                <ul>
                  <li>currentDocument: the current document</li>
                  <li>
                    currentDocumentVersionInfo: the current document versionning
                    information
                  </li>
                </ul>
              </p>
            </description>
            <categories>
              <category>summary</category>
            </categories>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
            <!-- no configurable properties -->
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/summary/lc_and_version_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="summary_current_document_single_tasks">
          <configuration>
            <sinceVersion>5.3.2</sinceVersion>
            <title>Tasks</title>
            <description>
              <p>
                This widgets displays the single tasks (out of a process instance)
                attached to current document model.
              </p>
              <p>
                It requires the following variables to be present in the EL context:
                <ul>
                  <li>
                    currentSingleTasks: the single tasks attached to current
                    document
                  </li>
                </ul>
              </p>
            </description>
            <categories>
              <category>summary</category>
            </categories>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
            <!-- no configurable properties -->
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/summary/single_tasks_widget_template.xhtml
          </property>
        </widgetType>
    
      </extension>