Platform Explorer / Nuxeo Platform 5.6

Extension point widgettypes

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 Descriptor

Existing Contributions

  • nuxeo-rating-web-5.6-RC1.jar /OSGI-INF/widgets-contrib.xml
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
        <widgetType name="summary_document_like_status">
          <configuration>
            <sinceVersion>5.6</sinceVersion>
            <title>Like Summary</title>
            <description>
              <p>This widgets displays how many people like a document</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/like_status_widget_template.xhtml
          </property>
        </widgetType>
      </extension>
  • nuxeo-social-workspace-web-5.6.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.
          You have the possibility to let access to only administrator to change
          the visibility, with the parameter "isOnlyAdministrators"
        </documentation>
    
        <widgetType name="summary_social_document_visibility_action">
          <configuration>
            <sinceVersion>5.5</sinceVersion>
            <title>Publication of social document</title>
            <description>
              <p>
                This widgets displays the actions of publication on the current document.
              </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>listing</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/social_document_visibility_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="listing_social_document_consultation">
          <configuration>
            <sinceVersion>5.5</sinceVersion>
            <title>Social document listing widget</title>
            <description>
              <p>
                This widgets displays the title and related actions. To be used in a
                listing of social documents.
              </p>
              <p>
                It supports the following properties:
                <ul>
                  <li>displayActions: display or not the actions (edit, delete, ...) for
                  the 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/listing_social_document_widget_template.xhtml
          </property>
        </widgetType>
    
        <!-- override the default userVirtualGroups widget type to hide the
        virtual groups referencing social workspace memberships -->
        <widgetType name="userVirtualGroups">
          <configuration>
            <sinceVersion>5.5</sinceVersion>
            <title>User virtual groups</title>
            <description>
              This widget displays the user virtual groups.
            </description>
            <categories>
              <category>document</category>
            </categories>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/social_collaboration_user_vgoups_widget_template.xhtml
          </property>
        </widgetType>
    
      </extension>
  • nuxeo-user-relationship-5.6.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
        <widgetType name="summary_user_relationship">
          <configuration>
            <sinceVersion>5.5</sinceVersion>
            <title>User Relationships Summary</title>
            <description>
              <p>This widgets displays the user_relationship layout.</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/user_relationship_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="manage_user_relations">
          <configuration>
            <sinceVersion>5.5</sinceVersion>
            <title>User Manage Relations</title>
            <description>
              <p>This widget will manage user relations</p>
            </description>
            <categories>
              <category>summary</category>
            </categories>
            <supportedModes>
              <mode>any</mode>
            </supportedModes>
            <properties>
              <layouts mode="any">
                <layout name="manage_user_relations_widget_type_properties_any">
                  <rows>
                    <row>
                      <widget>panelIdsToBeReRendered</widget>
                    </row>
                  </rows>
                  <widget name="panelIdsToBeReRendered" type="text">
                    <labels>
                      <label mode="any">Panel IDs to be reRendered</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The list of panel IDs to be reRendered separated by coma.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>panelIdsToBeReRendered</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_relationship_add_widget_template.xhtml
          </property>
        </widgetType>
    
      </extension>
  • nuxeo-user-activity-stream-5.6.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
        <widgetType name="summary_user_activity_stream">
          <configuration>
            <sinceVersion>5.5</sinceVersion>
            <title>User Activity Stream Summary</title>
            <description>
              <p>This widgets displays the user activity stream
                through the useractivitystream OpenSocial gadget</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/user_activity_stream_widget_template.xhtml
          </property>
        </widgetType>
      </extension>
  • nuxeo-mini-message-5.6.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
        <widgetType name="summary_user_mini_messages">
          <configuration>
            <sinceVersion>5.5</sinceVersion>
            <title>User Mini Messages Summary</title>
            <description>
              <p>This widgets displays the user mini messages
                through the minimessages OpenSocial gadget</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/user_mini_messages_widget_template.xhtml
          </property>
        </widgetType>
      </extension>
  • nuxeo-platform-document-routing-web-5.6.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    
        <widgetType name="current_route_description">
          <configuration>
            <sinceVersion>5.6</sinceVersion>
            <title>Description</title>
            <description>
              <p>This widget displays the name, description, author and creation
                date of the current route started on the current document.
              </p>
            </description>
            <categories>
              <category>routing</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/route/current_route_description_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="current_route_show_graph">
          <configuration>
            <sinceVersion>5.6</sinceVersion>
            <title>Description</title>
            <description>
              <p>
                This widget displays the graph of the current route in a
                Fancybox popup.
              </p>
            </description>
            <categories>
              <category>routing</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/route/current_route_show_graph_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="current_route_abandon">
          <configuration>
            <sinceVersion>5.6</sinceVersion>
            <title>Description</title>
            <description>
              <p>
                This widget displays an 'Abandon' action to cancel the current route
                started on the current document.
              </p>
            </description>
            <categories>
              <category>routing</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/route/current_route_abandon_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="current_route_user_tasks">
          <configuration>
            <sinceVersion>5.6</sinceVersion>
            <title>Description</title>
            <description>
              <p>
                This widget displays the user tasks of the current route on
                the current document.
              </p>
            </description>
            <categories>
              <category>routing</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/route/current_route_user_tasks_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="current_route_open_tasks">
          <configuration>
            <sinceVersion>5.6</sinceVersion>
            <title>Description</title>
            <description>
              <p>
                This widget displays all the open tasks of the current route
                on the current document.
              </p>
            </description>
            <categories>
              <category>routing</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/route/current_route_open_tasks_widget_template.xhtml
          </property>
        </widgetType>
    
      </extension>
  • nuxeo-platform-document-routing-web-5.6.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_document_route_element_actors">
          <documentation>
            This widget type displays the actors of the document.
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>the document actors</li>
            </ul>
          </documentation>
    
          <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="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-document-routing-web-5.6.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
        <widgetType name="summary_document_route">
          <configuration>
            <sinceVersion>5.6</sinceVersion>
            <title>Workflow Process</title>
            <description>
              <p>
                If there is no route started on the current document, this widget
                displays a form to select and launch a workflow.
              </p>
              <p>
                If there is already a route started, it displays the name of
                the route started.
              </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/document_route_widget_template.xhtml
          </property>
        </widgetType>
      </extension>
  • nuxeo-platform-relations-web-5.6.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    
        <widgetType name="relation_listing_title_link">
          <configuration>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/relation_listing_title_link_widget_template.xhtml
          </property>
    
        </widgetType>
    
      </extension>
  • nuxeo-platform-document-routing-web-5.6.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_current_route_actions_lock">
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/summary/summary_actions_lock_route_widget_template.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>
              <!-- deprecated summary => remove from this category -->
              <!-- <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-imaging-jsf-5.6.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    
        <widgetType name="picture_view">
          <configuration>
            <title>Picture view</title>
            <description>
              <p>
                The picture_view widget displays the configured View of a document
                having the Picture facet.
              </p>
              <p>
                It accepts the following properties:
                <ul>
                  <li>
                    pictureView: the name of the view. Defaults to the 'Medium'
                    view.
                  </li>
                  <li>
                    width: the width of the img tag.
                  </li>
                  <li>
                    height: the height of the img tag.
                  </li>
                </ul>
              </p>
            </description>
            <categories>
              <category>document</category>
            </categories>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">/widgets/picture_view_widget_template.xhtml</property>
        </widgetType>
    
      </extension>
  • nuxeo-platform-faceted-search-jsf-5.6.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    
        <widgetType name="faceted_search_content_views_selection">
          <configuration>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">/widgets/faceted_search_contentView_selection_widget_template.xhtml
          </property>
        </widgetType>
    
      </extension>
  • nuxeo-platform-faceted-search-jsf-5.6.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    
        <widgetType name="date_range">
          <configuration>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
          </configuration>
          <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">
          <configuration>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
          </configuration>
          <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>
          <configuration>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/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>
          <configuration>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/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>
          <configuration>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/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>
          <configuration>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/faceted_search_directory_tree_widget_template.xhtml
          </property>
        </widgetType>
      </extension>
  • nuxeo-platform-audit-client-5.6.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    
        <widgetType name="audit_comments">
          <configuration>
            <sinceVersion>5.5</sinceVersion>
            <title>Audit comments</title>
            <description>
              <p>
                This widget type displays comments for a log entry, displaying
                links to documents if they are referenced in it.
              </p>
            </description>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <defaultConfiguration>
                <field>data.preprocessedComment</field>
              </defaultConfiguration>
            </fields>
            <categories>
              <category>audit</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/auditcomment_widget_template.xhtml
          </property>
    
        </widgetType>
    
      </extension>
  • nuxeo-platform-forms-layout-client-5.6.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 category="widgetTypeConf">style</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">styleClass</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">title</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">escape</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">text_localize</widget>
                    </row>
                  </rows>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="text_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget category="widgetTypeConf">required</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">maxlength</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">size</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">style</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">styleClass</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">title</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">accesskey</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">alt</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">dir</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">disabled</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">immediate</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">lang</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">validator</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">valueChangeListener</widget>
                    </row>
                  </rows>
                </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 category="widgetTypeConf">style</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">styleClass</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">title</widget>
                    </row>
                  </rows>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="int_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget category="widgetTypeConf">required</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">maxlength</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">size</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">style</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">styleClass</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">title</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">accesskey</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">alt</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">dir</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">disabled</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">immediate</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">lang</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">validator</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">valueChangeListener</widget>
                    </row>
                  </rows>
                </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 category="widgetTypeConf">style</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">styleClass</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">title</widget>
                    </row>
                  </rows>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="double_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget category="widgetTypeConf">required</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">maxlength</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">size</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">style</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">styleClass</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">title</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">accesskey</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">alt</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">dir</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">disabled</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">immediate</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">lang</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">validator</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">valueChangeListener</widget>
                    </row>
                  </rows>
                </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 category="widgetTypeConf">required</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">maxlength</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">size</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">accesskey</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">alt</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">dir</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">disabled</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">immediate</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">lang</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">redisplay</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">style</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">styleClass</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">title</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">validator</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">valueChangeListener</widget>
                    </row>
                  </rows>
                </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 category="widgetTypeConf">style</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">styleClass</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">title</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">escape</widget>
                    </row>
                  </rows>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="textarea_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget category="widgetTypeConf">required</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">textarea_cols</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">textarea_rows</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">accesskey</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">dir</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">disabled</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">immediate</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">lang</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">validator</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">valueChangeListener</widget>
                    </row>
                  </rows>
                </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 category="widgetTypeConf">datetime_pattern</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">datetime_timeZone</widget>
                    </row>
                  </rows>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="datetime_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget category="widgetTypeConf">required</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">datetime_format</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">datetime_showsTime</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">datetime_locale</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">styleClass</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">datetime_timeZone</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">datetime_triggerImg</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">datetime_triggerLabel</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">datetime_triggerStyleClass</widget>
                    </row>
                  </rows>
                </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>
            <fields>
              <list>true</list>
              <complex>true</complex>
              <supportedTypes>
                <type>*</type>
              </supportedTypes>
            </fields>
            <acceptingSubWidgets>true</acceptingSubWidgets>
            <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">widget_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 category="widgetTypeConf">file_downloadLabel</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">file_iconRendered</widget>
                    </row>
                  </rows>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="file_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget category="widgetTypeConf">required</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">file_downloadLabel</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">file_iconRendered</widget>
                    </row>
                  </rows>
                </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 category="widgetTypeConf">style</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">styleClass</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">title</widget>
                    </row>
                  </rows>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="htmltext_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget category="widgetTypeConf">required</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">htmltext_width</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">htmltext_height</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">htmltext_disableHtmlInit</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">htmltext_editorSelector</widget>
                    </row>
                  </rows>
                </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 category="widgetTypeConf">directoryName</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">directoryNameDemoPreview</widget>
                    </row>
                  </rows>
                </layout>
              </layouts>
              <layouts mode="view">
                <layout name="selectOneDirectory_widget_type_properties_view">
                  <rows>
                    <row>
                      <widget category="widgetTypeConf">directory_localize</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">directory_displayIdAndLabel</widget>
                    </row>
                  </rows>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="selectOneDirectory_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget category="widgetTypeConf">required</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">directory_localize</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">directory_displayIdAndLabel</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">directory_displayObsoleteEntries</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">directory_notDisplayDefaultOption</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">directory_ordering</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">directory_cssStyle</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">directory_cssStyleClass</widget>
                    </row>
                  </rows>
                </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>configuration_not_ready</category>
              <!--
                <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>configuration_not_ready</category>
              <!--
                <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 category="widgetTypeConf">directoryName</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">directoryNameDemoPreview</widget>
                    </row>
                  </rows>
                </layout>
              </layouts>
              <layouts mode="view">
                <layout name="selectManyDirectory_widget_type_properties_view">
                  <rows>
                    <row>
                      <widget category="widgetTypeConf">directory_localize</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">directory_displayIdAndLabel</widget>
                    </row>
                  </rows>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="selectManyDirectory_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget category="widgetTypeConf">required</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">directory_localize</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">directory_displayIdAndLabel</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">directory_displayObsoleteEntries</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">directory_notDisplayDefaultOption</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">directory_ordering</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">directory_cssStyle</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">directory_cssStyleClass</widget>
                    </row>
                  </rows>
                </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>
              <p>
                Since 5.6, it will apply to the current value (e.g. the layout or
                parent widget value) if no field definition is given.
              </p>
            </description>
            <demo id="listWidget" previewEnabled="false"/>
            <categories>
              <category>document</category>
            </categories>
            <supportedModes>
              <mode>edit</mode>
              <mode>view</mode>
            </supportedModes>
            <acceptingSubWidgets>true</acceptingSubWidgets>
            <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>
                <type>complex</type>
              </supportedTypes>
              <defaultTypes>
                <type>string</type>
                <type>path</type>
                <type>date</type>
                <type>integer</type>
                <type>double</type>
                <type>boolean</type>
                <type>complex</type>
              </defaultTypes>
            </fields>
            <properties>
              <layouts mode="any">
                <layout name="list_widget_type_properties_any">
                  <rows>
                    <row>
                      <widget category="widgetTypeConf">list_subwidgets_display</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">subwidgets_hideSubLabels</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">styleClass</widget>
                    </row>
                  </rows>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="list_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget category="widgetTypeConf">required</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">list_diff</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">list_orderable</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">list_hideDeleteButton</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">list_hideAddButton</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">list_listTemplateItem</widget>
                    </row>
                  </rows>
                </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>
              <p>
                Since 5.6, it will apply to the current value (e.g. the layout or
                parent widget value) if no field definition is given.
              </p>
            </description>
            <demo id="complexWidget" previewEnabled="false"/>
            <categories>
              <category>document</category>
            </categories>
            <supportedModes>
              <mode>edit</mode>
              <mode>view</mode>
            </supportedModes>
            <acceptingSubWidgets>true</acceptingSubWidgets>
            <fields>
              <list>false</list>
              <complex>true</complex>
              <supportedTypes>
                <type>complex</type>
              </supportedTypes>
              <defaultTypes>
                <type>complex</type>
              </defaultTypes>
            </fields>
            <properties>
              <layouts mode="any">
                <layout name="complex_widget_type_properties_any">
                  <rows>
                    <row>
                      <widget category="widgetTypeConf">complex_subwidgets_display</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">subwidgets_hideSubLabels</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">styleClass</widget>
                    </row>
                  </rows>
                </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="container">
          <configuration>
            <sinceVersion>5.6</sinceVersion>
            <title>Container</title>
            <description>
              <p>
                The container widget displays its subwidgets with display options
                to control the rendering of global div container as well as each
                container of sub items, using the widget label as header.
              </p>
              <p>
                If the widget is marked as handling labels (marker available on all
                widgets since 5.6), the header will be displayed. Otherwise it will
                never be displayed.
              </p>
              <p>
                This widget also accepts custom properties to add forms around some
                of its subwidgets. If the property with name
                "nxw_addForm_#{widgetIndex}" is present and resolves to true, then a
                form will be added around the subwidgets at index #{widgetIndex}.
                For instance, adding a property "nxw_addForm_0" with value true, the
                first subwidget will be surrounded with a form.
              </p>
              <p>
                It will apply to the current value (e.g. the layout or parent
                widget value) if no field definition is given.
              </p>
            </description>
            <categories>
              <category>decoration</category>
            </categories>
            <supportedModes>
              <mode>edit</mode>
              <mode>view</mode>
            </supportedModes>
            <acceptingSubWidgets>true</acceptingSubWidgets>
            <handlingLabels>true</handlingLabels>
            <properties>
              <layouts mode="any">
                <layout name="container_widget_type_properties_any">
                  <rows>
                    <row>
                      <widget category="widgetTypeConf">container_subwidgets_display</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">container_subwidgets_hideSubLabels</widget>
                    </row>
                    <row>
                      <widget>foldable</widget>
                    </row>
                    <row>
                      <widget>foldedByDefault</widget>
                    </row>
                    <row>
                      <widget>headerStyleClass</widget>
                    </row>
                    <row>
                      <widget>styleClass</widget>
                    </row>
                    <row>
                      <widget>subLabelStyleClass</widget>
                    </row>
                    <row>
                      <widget>subStyleClass</widget>
                    </row>
                    <row>
                      <widget>showIfEmpty</widget>
                    </row>
                  </rows>
                  <widget name="foldable" type="checkbox">
                    <labels>
                      <label mode="any">Foldable</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        If set to true, the widget label will be
                        displayed in a header of a box, containing the sub widgets
                        rendering. This box is foldable in javascript. Ignored if
                        the widget is not marked as handling labels as the header
                        will not be displayed in this case. Defaults to false.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>foldable</field>
                    </fields>
                  </widget>
                  <widget name="foldedByDefault" type="checkbox">
                    <labels>
                      <label mode="any">Folded by default</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        If set to true, and property "foldable" is
                        also set to true,
                        the box will be folded by default. Defaults
                        to false.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>foldedByDefault</field>
                    </fields>
                  </widget>
                  <widget name="showIfEmpty" type="checkbox">
                    <labels>
                      <label mode="any">Show if empty</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        If set to true, the widget label will be
                        displayed even if there are no subwidgets. Defaults to
                        false.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>showIfEmpty</field>
                    </fields>
                  </widget>
                  <widget name="headerStyleClass" type="text">
                    <labels>
                      <label mode="any">Header style class</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Style class for the header, displaying this
                        widget label.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>headerStyleClass</field>
                    </fields>
                  </widget>
                  <widget name="styleClass" type="text">
                    <labels>
                      <label mode="any">Style class</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Style class for the global container div.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>styleClass</field>
                    </fields>
                  </widget>
                  <widget name="subLabelStyleClass" type="text">
                    <labels>
                      <label mode="any">Sub Label style class</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Style class for the sub widget label.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>subLabelStyleClass</field>
                    </fields>
                  </widget>
                  <widget name="subStyleClass" type="text">
                    <labels>
                      <label mode="any">Sub style class</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Style class for the container of each sub
                        widget.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>subStyleClass</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">/widgets/container_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 category="widgetTypeConf">style</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">styleClass</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">title</widget>
                    </row>
                  </rows>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="checkbox_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget category="widgetTypeConf">required</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">style</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">styleClass</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">title</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">accesskey</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">dir</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">disabled</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">immediate</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">lang</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">validator</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">valueChangeListener</widget>
                    </row>
                  </rows>
                </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 category="widgetTypeConf">style</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">styleClass</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">title</widget>
                    </row>
                  </rows>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="hidden_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget category="widgetTypeConf">required</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">immediate</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">validator</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">valueChangeListener</widget>
                    </row>
                  </rows>
                </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>
              <p>
                Since 5.6, it will apply to the current value (e.g. the layout or
                parent widget value) if no field definition is given.
              </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>nameDemoPreview</widget>
                    </row>
                    <row>
                      <widget>mode</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">widgetsDisplay</widget>
                    </row>
                    <row>
                      <widget>template</widget>
                    </row>
                  </rows>
                  <widget name="name" type="selectOneResource">
                    <labels>
                      <label mode="any">Layout(s)</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The layout name. Since 5.6, this attribute
                        accepts a list of multiple layout names, separated by
                        commas.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>name</field>
                    </fields>
                    <widgetModes>
                      <mode value="edit_demo_preview">hidden</mode>
                    </widgetModes>
                    <properties widgetMode="any">
                      <property name="required">true</property>
                      <property name="resourceName">layouts</property>
                    </properties>
                  </widget>
                  <widget name="nameDemoPreview" type="text">
                    <labels>
                      <label mode="any">Layout(s)</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The layout name. Since 5.6, this attribute
                        accepts a list of multiple layout names, separated by
                        commas.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>name</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>
                  <widget name="mode" type="text">
                    <labels>
                      <label mode="any">Layout mode</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        If not set, the mode is resolved from the
                        usual widget mode. Otherwise it's taken instead when not
                        empty. WARNING: Before 5.5, mode was not resolved from the
                        widget mode, so this value was required.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>mode</field>
                    </fields>
                  </widget>
                  <widget name="template" type="selectOneResource">
                    <labels>
                      <label mode="any">Template</label>
                    </labels>
                    <fields>
                      <field>template</field>
                    </fields>
                    <properties mode="any">
                      <property name="resourceName">layout_templates</property>
                    </properties>
                    <widgetModes>
                      <mode value="any">hidden</mode>
                      <mode value="edit_demo_preview">hidden</mode>
                    </widgetModes>
                  </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>configuration_not_ready</category>
              <!--
                <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-platform-webapp-core-5.6.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>
            <deprecatedVersion>5.6</deprecatedVersion>
            <title>Actions (lock, restore version)</title>
            <description>
              <p>
                This widget 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 widget 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>
              <category>tab_designer</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>actionsDisplay</widget>
                    </row>
                    <row>
                      <widget>overallDisplay</widget>
                    </row>
                    <row>
                      <widget>maxActionsNumber</widget>
                    </row>
                    <row>
                      <widget>headerStyleClass</widget>
                    </row>
                    <row>
                      <widget>styleClass</widget>
                    </row>
                    <row>
                      <widget>subStyleClass</widget>
                    </row>
                    <row>
                      <widget>moreMenuLabel</widget>
                    </row>
                  </rows>
                  <widget name="category" type="selectOneResource">
                    <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>
                    <widgetModes>
                      <mode value="edit_demo_preview">hidden</mode>
                    </widgetModes>
                    <properties mode="any">
                      <property name="resourceName">actionCategories</property>
                    </properties>
                  </widget>
                  <widget name="headerStyleClass" type="text">
                    <labels>
                      <label mode="any">Header style class</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Style class for the header, displaying this
                        widget label. Available since 5.6.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>headerStyleClass</field>
                    </fields>
                  </widget>
                  <widget name="actionsDisplay" type="selectOneListbox">
                    <categories>
                      <category>widgetTypeConf</category>
                    </categories>
                    <labels>
                      <label mode="any">Actions 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>
                      <!-- still named display here, kept for BBB -->
                      <field>display</field>
                    </fields>
                    <selectOptions>
                      <option itemLabel="Icons and links (default)" itemValue="icons_links"/>
                      <option itemLabel="Icons" itemValue="icons"/>
                      <option itemLabel="Buttons" itemValue="buttons"/>
                      <option itemLabel="Links" itemValue="links"/>
                    </selectOptions>
                  </widget>
                  <widget name="overallDisplay" type="selectOneListbox">
                    <categories>
                      <category>widgetTypeConf</category>
                    </categories>
                    <labels>
                      <label mode="any">Overall display</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Overall display of actions, available since
                        5.6.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>overallDisplay</field>
                    </fields>
                    <selectOptions>
                      <option itemLabel="Vertical block (default)" itemValue=""/>
                      <option itemLabel="Horizontal block" itemValue="horizontal_block"/>
                      <option itemLabel="Menu" itemValue="menu"/>
                    </selectOptions>
                  </widget>
                  <widget name="styleClass" type="text">
                    <labels>
                      <label mode="any">Style class</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Style class for the global container div.
                        Available since 5.6.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>styleClass</field>
                    </fields>
                  </widget>
                  <widget name="subStyleClass" type="text">
                    <labels>
                      <label mode="any">Sub style class</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Style class for div containing actions.
                        Available since 5.6.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>subStyleClass</field>
                    </fields>
                  </widget>
                  <widget name="actionStyleClass" type="text">
                    <labels>
                      <label mode="any">Action style class</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Style class for each action link. Available
                        since 5.6.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>subStyleClass</field>
                    </fields>
                  </widget>
                  <widget name="maxActionsNumber" type="int">
                    <labels>
                      <label mode="any">Maximum number of actions</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Integer indicating the maximum number of
                        actions to display. When this limit is reached, other
                        actions are displayed in a menu. Available since 5.6.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>maxActionsNumber</field>
                    </fields>
                  </widget>
                  <widget name="moreMenuLabel" type="text">
                    <labels>
                      <label mode="any">Label for the "more" menu</label>
                    </labels>
                    <fields>
                      <field>moreMenuLabel</field>
                    </fields>
                  </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 widget displays the description of the currentDocument.</p>
              <p>
                Since 5.6, it also displays the creation date, author and version
                beneath the descrption.
              </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 version
                    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/description_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="summary_current_document_files">
          <configuration>
            <sinceVersion>5.3.1</sinceVersion>
            <title>Files</title>
            <description>
              <p>This widget 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 widget 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 widget 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 widget displays the tags for the currentDocument and
              allows to add new ones. It 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 widget displays the in/out relations for the
              currentDocument. It 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 widget displays the comments for the currentDocument.
              It 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 widget displays the publications of the
              currentDocument. It 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 widget displays the life-cycle state and version of the
                currentDocument.
              </p>
              <p>
                Since 5.6, this widget is not used by default, it's replaced by the
                widget named "summary_current_document_states".
              </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 widget 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>
    
        <widgetType name="summary_current_document_states">
          <configuration>
            <sinceVersion>5.6</sinceVersion>
            <title>States</title>
            <description>
              <p>
                This widget displays current document state (life cycle state and
                lock status)
              </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/states_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="summary_current_document_contributors">
          <configuration>
            <sinceVersion>5.6</sinceVersion>
            <title>Contributors</title>
            <description>
              <p>
                This widget displays the document contributors.
              </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/contributors_widget_template.xhtml
          </property>
        </widgetType>
      </extension>
  • nuxeo-platform-webapp-base-5.6.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.content.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>
                    <row>
                      <widget>subTab</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
                        document link. Available since 5.4.2.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>tab</field>
                    </fields>
                  </widget>
                  <widget name="subTab" type="text">
                    <labels>
                      <label mode="any">Sub Tab</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The sub tab to select when clicking on the
                        document link. Available since 5.5.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>subTab</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>
    
        <!-- Deprecated since NXP-6825 is fixed but still useful
          for Studio configuration -->
        <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-user-profile-5.6.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
        <widgetType name="summary_user_profile">
          <configuration>
            <sinceVersion>5.5</sinceVersion>
            <title>User Profile Summary</title>
            <description>
              <p>This widget displays the user profile layout.</p>
            </description>
            <categories>
              <category>configuration_not_ready</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/user_profile_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="avatar">
          <configuration>
            <sinceVersion>5.5</sinceVersion>
            <title>User Profile Avatar</title>
            <description>
              Widget allowing to upload a picture for the user
              avatar.
            </description>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/avatar_widget_template.xhtml
          </property>
        </widgetType>
        <widgetType name="summary_user_preferences">
          <configuration>
            <sinceVersion>5.6</sinceVersion>
            <title>User Profile Summary</title>
            <description>
              <p>This widget displays the user preferences layout.</p>
            </description>
            <categories>
              <category>configuration_not_ready</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/user_preferences_widget_template.xhtml
          </property>
        </widgetType>
      </extension>
  • nuxeo-user-dashboard-jsf-5.6.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    
        <widgetType name="listing_task_name">
          <configuration>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_task_name_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="listing_process_name">
          <configuration>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_process_name_widget_template.xhtml
          </property>
        </widgetType>
    
      </extension>
  • nuxeo-platform-webapp-base-5.6.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    
        <widgetType name="life_cycle_transitions">
          <configuration>
            <title>Life cycle transitions</title>
            <description>
              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:
              <pre>
                <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>
              </pre>
            </description>
            <categories>
              <category>document</category>
            </categories>
          </configuration>
          <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>
    
        <widgetType name="image">
          <configuration>
            <sinceVersion>5.5</sinceVersion>
            <title>Image</title>
            <description>
              <p>
                The image widget displays a file uploader/editor in create or edit
                mode, with additional message tag for errors, and an &lt;img&gt; tag
                displaying the image in other modes.
              </p>
              <li>
                width: the width of the img tag in view mode.
              </li>
              <li>
                height: the height of the img tag in view mode.
              </li>
            </description>
            <properties>
              <layouts mode="view">
                <layout name="image_widget_type_properties_view">
                  <rows>
                    <row>
                      <widget>width</widget>
                    </row>
                    <row>
                      <widget>height</widget>
                    </row>
                  </rows>
                  <widget name="width" type="int">
                    <labels>
                      <label mode="any">Width</label>
                    </labels>
                    <fields>
                      <field>width</field>
                    </fields>
                  </widget>
                  <widget name="height" type="text">
                    <labels>
                      <label mode="any">Height</label>
                    </labels>
                    <fields>
                      <field>height</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="image_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget category="widgetTypeConf">required</widget>
                    </row>
                    <row>
                      <widget>acceptedExtensions</widget>
                    </row>
                  </rows>
                  <widget name="acceptedExtensions" type="text">
                    <labels>
                      <label mode="any">Accepted extensions</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        A comma separated list of supported file
                        extensions. Default value: '.jpg, .jpeg, .png, .gif'.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>acceptedExtensions</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
            </properties>
            <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>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">/widgets/image_widget_template.xhtml</property>
        </widgetType>
    
      </extension>
  • nuxeo-platform-webapp-base-5.6.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>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/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>false</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_view">
                  <rows>
                    <row>
                      <widget category="widgetTypeConf">userSuggestion_firstLabelField</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestion_secondLabelField</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestion_thirdLabelField</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestion_hideFirstLabel</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestion_hideSecondLabel</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestion_hideThirdLabel</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestion_displayAction</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestion_displayEmailInSuggestion</widget>
                    </row>
                  </rows>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="singleUserSuggestion_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget category="widgetTypeConf">required</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestionSearchType</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestionMaxSearchResults</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestion_minChars</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestion_frequency</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestion_requestDelay</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestion_width</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestion_displayEmailInSuggestion</widget>
                    </row>
                  </rows>
                </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="view">
                <layout name="multipleUsersSuggestion_widget_type_properties_view">
                  <rows>
                    <row>
                      <widget category="widgetTypeConf">userSuggestionSearchType</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestion_firstLabelField</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestion_secondLabelField</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestion_thirdLabelField</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestion_hideFirstLabel</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestion_hideSecondLabel</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestion_hideThirdLabel</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestion_displayEmailInSuggestion</widget>
                    </row>
                  </rows>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="multipleUsersSuggestion_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget category="widgetTypeConf">required</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestionSearchType</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestionMaxSearchResults</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestion_minChars</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestion_frequency</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestion_requestDelay</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestion_width</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">suggestion_orderable</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestion_displayEmailInSuggestion</widget>
                    </row>
                  </rows>
                </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 category="widgetTypeConf">required</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestionSearchType</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestionMaxSearchResults</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestion_minChars</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestion_frequency</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestion_requestDelay</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">userSuggestion_width</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">suggestion_orderable</widget>
                    </row>
                  </rows>
                </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="view">
                <layout name="multipleDocumentsSuggestion_widget_type_properties_view">
                  <rows>
                    <row>
                      <widget category="widgetTypeConf">documentSuggestion_tab</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">documentSuggestion_subTab</widget>
                    </row>
                  </rows>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="multipleDocumentsSuggestion_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget category="widgetTypeConf">required</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">documentSuggestion_pageProviderName</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">documentSuggestion_tab</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">documentSuggestion_subTab</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">documentSuggestion_minChars</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">documentSuggestion_frequency</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">documentSuggestion_requestDelay</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">documentSuggestion_width</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">suggestion_orderable</widget>
                    </row>
                  </rows>
                </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>
    
        <widgetType name="singleDocumentSuggestion">
          <configuration>
            <title>Single document suggestion</title>
            <sinceVersion>5.5</sinceVersion>
            <supportedModes>
              <mode>view</mode>
              <mode>edit</mode>
            </supportedModes>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <supportedTypes>
                <type>string</type>
              </supportedTypes>
            </fields>
            <categories>
              <category>document</category>
            </categories>
            <properties>
              <layouts mode="view">
                <layout name="singleDocumentSuggestion_widget_type_properties_view">
                  <rows>
                    <row>
                      <widget category="widgetTypeConf">documentSuggestion_tab</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">documentSuggestion_subTab</widget>
                    </row>
                  </rows>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="singleDocumentSuggestion_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget category="widgetTypeConf">required</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">documentSuggestion_tab</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">documentSuggestion_subTab</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">documentSuggestion_pageProviderName</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">documentSuggestion_minChars</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">documentSuggestion_frequency</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">documentSuggestion_requestDelay</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">documentSuggestion_width</widget>
                    </row>
                  </rows>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/single_document_suggestion_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="title_and_permlink">
          <configuration>
            <sinceVersion>5.4.2</sinceVersion>
            <title>Title and permanent link</title>
            <description>
              This widgets displays the document title with a permlink icon. If the
              document is a version, the major and minor are displayed in
              parenthesis.
    
              One field is required :
              <ul>
                <li>an empty field to map the document</li>
              </ul>
    
              Since 5.5, it also displays the document header related actions.
              They
              must be contributed in one of the following categories:
              <ul>
                <li>DOCUMENT_HEADER_ACTIONS_LIST</li>
                <li>DOCUMENT_HEADER_ACTIONS_LIST_HREF</li>
              </ul>
    
            </description>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <defaultConfiguration>
                <field/>
                <field>uid:major_version</field>
                <field>uid:minor_version</field>
              </defaultConfiguration>
            </fields>
            <categories>
              <category>document</category>
            </categories>
          </configuration>
          <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>
    
        <widgetType name="select_l10n_vocabulary_tree">
          <configuration>
            <sinceVersion>5.5</sinceVersion>
            <title>Localized vocabulary tree</title>
            <description>
              Widget allowing to select one or more values in a tree
              constructed
              from a l10nvocabulary or l10nxvocabulary directory.
            </description>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
            <properties>
              <layouts mode="any">
                <layout name="select_l10n_vocabulary_tree_widget_type_properties_any">
                  <rows>
                    <row>
                      <widget>directoryName</widget>
                    </row>
                    <row>
                      <widget>directoryNameDemoPreview</widget>
                    </row>
                    <row>
                      <widget>selectIdOnly</widget>
                    </row>
                    <row>
                      <widget>keySeparator</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>
                  <widget name="selectIdOnly" type="checkbox">
                    <labels>
                      <label mode="any">Select id only</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        If set to true, only the entries id are
                        stored instead of
                        their path.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>selectIdOnly</field>
                    </fields>
                  </widget>
                  <widget name="keySeparator" type="text">
                    <labels>
                      <label mode="any">Key separator</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The string used to separate directory keys
                        in the value.
                        Defaults to "/".
                      </label>
                    </helpLabels>
                    <fields>
                      <field>keySeparator</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
              <layouts mode="edit">
                <layout name="select_l10n_vocabulary_tree_widget_type_properties_edit">
                  <rows>
                    <row>
                      <widget>multiSelect</widget>
                    </row>
                    <row>
                      <widget>displayObsoleteEntries</widget>
                    </row>
                    <row>
                      <widget>ordering</widget>
                    </row>
                  </rows>
                  <widget name="multiSelect" type="checkbox">
                    <labels>
                      <label mode="any">Multiple selection</label>
                    </labels>
                    <fields>
                      <field>multiSelect</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="ordering" type="selectOneListbox">
                    <labels>
                      <label mode="any">Sort criterion</label>
                    </labels>
                    <fields>
                      <field>ordering</field>
                    </fields>
                    <selectOptions>
                      <option itemLabel="Label (default)" itemValue="label"/>
                      <option itemLabel="Ordering" itemValue="ordering"/>
                      <option itemLabel="Id" itemValue="id"/>
                    </selectOptions>
                  </widget>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/select_l10n_vocabulary_tree_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="contentViewWithForms">
          <configuration>
            <sinceVersion>5.6</sinceVersion>
            <title>Content view</title>
            <description>
              This widget displays a content view, with forms inside it.
    
              Note that usually layouts do not contain any forms, but are surrounded
              by one, and nesting forms breaks the available actions. So you should
              make sure there is no enclosing form around the layout, or around this
              widget, when using it.
            </description>
            <categories>
              <category>tab_designer</category>
            </categories>
            <containingForm>true</containingForm>
            <handlingLabels>true</handlingLabels>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
            <properties>
              <layouts mode="any">
                <layout name="contentView_widget_type_properties_any">
                  <rows>
                    <row>
                      <widget>contentViewName</widget>
                    </row>
                    <row>
                      <widget>styleClass</widget>
                    </row>
                    <row>
                      <widget>useAjaxForm</widget>
                    </row>
                    <row>
                      <widget>useAjaxPagination</widget>
                    </row>
                    <row>
                      <widget>hideTopPaginationControls</widget>
                    </row>
                    <row>
                      <widget>defaultPageSize</widget>
                    </row>
                    <row>
                      <widget>showPageSizeSelector</widget>
                    </row>
                    <row>
                      <widget>showRefreshCommand</widget>
                    </row>
                    <row>
                      <widget>showFilterForm</widget>
                    </row>
                    <row>
                      <widget>showSyndicationLinks</widget>
                    </row>
                    <row>
                      <widget>showCSVExport</widget>
                    </row>
                    <row>
                      <widget>showPDFExport</widget>
                    </row>
                    <!-- not exposed in studio for now -->
                    <row>
                      <widget>foldable</widget>
                    </row>
                    <row>
                      <widget>foldableBoxStyleClass</widget>
                    </row>
                    <row>
                      <widget>foldedByDefault</widget>
                    </row>
                    <row>
                      <widget>foldedIfEmpty</widget>
                    </row>
                    <row>
                      <widget>hideEmpty</widget>
                    </row>
                    <row>
                      <widget>contentViewIconPath</widget>
                    </row>
                    <!-- not sure this is a good idea: there are other forms in the template -->
                    <!--
                      <row>
                      <widget>removeForm</widget>
                      </row>
                    -->
                  </rows>
                  <widget name="contentViewName" type="selectOneResource">
                    <labels>
                      <label mode="any">Content View name</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The content view to display.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>contentViewName</field>
                    </fields>
                    <properties mode="any">
                      <property name="resourceName">contentViews</property>
                      <property name="required">true</property>
                    </properties>
                  </widget>
                  <widget name="styleClass" type="text">
                    <labels>
                      <label mode="any">Style class</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The given style class will be put in a "div"
                        element around the content view.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>styleClass</field>
                    </fields>
                  </widget>
                  <widget name="useAjaxForm" type="checkbox">
                    <labels>
                      <label mode="any">Use ajax actions</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        If set to true, selection actions will be
                        performed using ajax. Note that sometimes, selection actions
                        will require you to reload the whole page for other elements
                        than the content view to be re-rendered, so using ajax will
                        not be user friendly in these cases. Defaults to false.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>useAjaxForm</field>
                    </fields>
                  </widget>
                  <widget name="useAjaxPagination" type="checkbox">
                    <labels>
                      <label mode="any">Use ajax pagination</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        If set to true, pagination actions (first,
                        previous, next, last) actions will be performed using ajax.
                        Defaults to false.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>useAjaxPagination</field>
                    </fields>
                  </widget>
                  <widget name="hideTopPaginationControls" type="checkbox">
                    <labels>
                      <label mode="any">Show only bottom pagination controls</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        If set to true, pagination actions (first,
                        previous, next, last) actions will only be displayed below
                        the results. Defaults to false.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>hideTopPaginationControls</field>
                    </fields>
                  </widget>
                  <widget name="defaultPageSize" type="int">
                    <labels>
                      <label mode="any">Default page size</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The default page size to use instead of the
                        value set on the content view definition.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>defaultPageSize</field>
                    </fields>
                  </widget>
                  <widget name="showPageSizeSelector" type="checkbox">
                    <labels>
                      <label mode="any">Show page size selector</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Boolean to show or hide the page size
                        selector, overriding the value set on the content view
                        definition.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>showPageSizeSelector</field>
                    </fields>
                  </widget>
                  <widget name="showRefreshCommand" type="checkbox">
                    <labels>
                      <label mode="any">Show refresh command</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Boolean to show or hide the refresh command,
                        overriding the value set on the content view
                        definition.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>showRefreshCommand</field>
                    </fields>
                  </widget>
                  <widget name="showFilterForm" type="checkbox">
                    <labels>
                      <label mode="any">Show filter form</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Boolean to show or hide the filter form,
                        overriding the value set on the content view
                        definition.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>showFilterForm</field>
                    </fields>
                  </widget>
                  <widget name="showSyndicationLinks" type="checkbox">
                    <labels>
                      <label mode="any">Show syndication links</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Boolean to show or hide syndication links,
                        overriding the value set on the content view
                        definition.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>showSyndicationLinks</field>
                    </fields>
                  </widget>
                  <widget name="showCSVExport" type="checkbox">
                    <labels>
                      <label mode="any">Show CSV export</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Boolean to show or hide the CSV export link,
                        overriding the value set on the content view definition for
                        every result layouts. Warning: the content view result
                        layouts should be configured to handle a CSV export.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>showCSVExport</field>
                    </fields>
                  </widget>
                  <widget name="showPDFExport" type="checkbox">
                    <labels>
                      <label mode="any">Show PDF export</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Boolean to show or hide the PDF export link,
                        overriding the value set on the content view definition for
                        every result layouts. Warning: the content view result
                        layouts should be configured to handle a CSV export.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>showPDFExport</field>
                    </fields>
                  </widget>
                  <!-- not exposed in studio for now -->
                  <widget name="foldable" type="checkbox">
                    <labels>
                      <label mode="any">Make this content view foldable</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        If set to true, the content view will be
                        displayed in a box that can be folded if users would like to
                        hide this content view content. Note that this state is not
                        persisted. Defaults to false.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>foldable</field>
                    </fields>
                    <widgetModes>
                      <mode value="any">hidden</mode>
                      <mode value="view_reference">view</mode>
                    </widgetModes>
                  </widget>
                  <widget name="foldableBoxStyleClass" type="text">
                    <labels>
                      <label mode="any">Foldable Box Style class</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The given style class will be used on the
                        foldable box.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>foldableBoxStyleClass</field>
                    </fields>
                    <widgetModes>
                      <mode value="any">hidden</mode>
                      <mode value="view_reference">view</mode>
                    </widgetModes>
                  </widget>
                  <widget name="foldedByDefault" type="checkbox">
                    <labels>
                      <label mode="any">Folded by default</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Defaults to false.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>foldedByDefault</field>
                    </fields>
                    <widgetModes>
                      <mode value="any">hidden</mode>
                      <mode value="view_reference">view</mode>
                    </widgetModes>
                  </widget>
                  <widget name="foldedIfEmpty" type="checkbox">
                    <labels>
                      <label mode="any">Folded if empty</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Defaults to false.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>foldedIfEmpty</field>
                    </fields>
                    <widgetModes>
                      <mode value="any">hidden</mode>
                      <mode value="view_reference">view</mode>
                    </widgetModes>
                  </widget>
                  <widget name="hideEmpty" type="checkbox">
                    <labels>
                      <label mode="any">Hide if empty</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Boolean to hide the complete rendering when
                        content view is empty
                      </label>
                    </helpLabels>
                    <fields>
                      <field>hideEmpty</field>
                    </fields>
                    <widgetModes>
                      <mode value="any">hidden</mode>
                      <mode value="view_reference">view</mode>
                    </widgetModes>
                  </widget>
                  <widget name="contentViewIconPath" type="text">
                    <labels>
                      <label mode="any">Content icon path</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The icon to display instead of the value set
                        on the content view definition.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>contentViewIconPath</field>
                    </fields>
                    <widgetModes>
                      <mode value="any">hidden</mode>
                      <mode value="view_reference">view</mode>
                    </widgetModes>
                  </widget>
                  <widget name="removeForm" type="checkbox">
                    <labels>
                      <label mode="any">Remove form on content listing</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Defaults to false.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>removeForm</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.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/content_view_with_forms_widget.xhtml
          </property>
        </widgetType>
    
        <widgetType name="toggleableLayoutWithForms">
          <configuration>
            <sinceVersion>5.6</sinceVersion>
            <title>Toggleable layout</title>
            <description>
              This widget displays a layout which mode can be toggled,
              with forms inside it.
    
              Note that usually layouts do not contain any
              forms, but are surrounded by one, and nesting forms breaks the
              available actions. So you should make sure there is no enclosing form
              around the layout, or around this widget, when using it.
            </description>
            <categories>
              <category>tab_designer</category>
            </categories>
            <fields>
              <defaultConfiguration>
                <field/>
              </defaultConfiguration>
            </fields>
            <containingForm>true</containingForm>
            <supportedModes>
              <mode>view</mode>
              <mode>edit</mode>
            </supportedModes>
            <properties>
              <layouts mode="any">
                <layout name="toggleableLayoutViewWithForms_widget_type_properties_any">
                  <rows>
                    <row>
                      <widget>initialLayoutName</widget>
                    </row>
                    <row>
                      <widget>toggledLayoutName</widget>
                    </row>
                    <row>
                      <widget>styleClass</widget>
                    </row>
                    <row>
                      <widget>canToggleMode</widget>
                    </row>
                    <row>
                      <widget>hideDefaultActions</widget>
                    </row>
                    <row>
                      <widget>additionalActionsCategory</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">formActionsDisplay</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">widgetsDisplay</widget>
                    </row>
                    <row>
                      <widget>showEditOptions</widget>
                    </row>
                    <row>
                      <widget>useAjaxForm</widget>
                    </row>
                    <row>
                      <widget>initialActionLabel</widget>
                    </row>
                    <row>
                      <widget>cancelActionLabel</widget>
                    </row>
                    <row>
                      <widget>template</widget>
                    </row>
                  </rows>
                  <widget name="initialLayoutName" type="selectOneResource">
                    <labels>
                      <label mode="any">Layout(s)</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The layout to display before toggling the
                        mode. Also accepts a list of multiple layout names,
                        separated by commas.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>initialLayoutName</field>
                    </fields>
                    <properties mode="any">
                      <property name="resourceName">layouts</property>
                      <property name="required">true</property>
                    </properties>
                  </widget>
                  <widget name="toggledLayoutName" type="selectOneResource">
                    <labels>
                      <label mode="any">Toggled layout(s)</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The layout to display after toggling the
                        mode. Also accepts a list of multiple layout names,
                        separated by commas. If not filled, defaults to the initial
                        layout name(s).
                      </label>
                    </helpLabels>
                    <fields>
                      <field>toggledLayoutName</field>
                    </fields>
                    <properties mode="any">
                      <property name="resourceName">layouts</property>
                    </properties>
                  </widget>
                  <widget name="template" type="selectOneResource">
                    <labels>
                      <label mode="any">Template</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The layout template to use instead of the
                        one already set
                        on the layout(s) definition(s).
                      </label>
                    </helpLabels>
                    <fields>
                      <field>template</field>
                    </fields>
                    <properties mode="any">
                      <property name="resourceName">layout_templates</property>
                    </properties>
                  </widget>
                  <widget name="styleClass" type="text">
                    <labels>
                      <label mode="any">Style class</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The given style class will be put in a "div"
                        element around the layout.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>styleClass</field>
                    </fields>
                  </widget>
                  <widget name="canToggleMode" type="text">
                    <labels>
                      <label mode="any">Can toggle mode</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The boolean property to resolve when
                        deciding whether the toggle button should be displayed or
                        not. Defaults to an EL expression checking permission
                        'Write' on the document. Examples: false,
                        #{nxd:hasPermission(value, 'Write') and
                        currentUser.isMemberOf('togglers_groups')}
                      </label>
                    </helpLabels>
                    <fields>
                      <field>canToggleMode</field>
                    </fields>
                  </widget>
                  <widget name="hideDefaultActions" type="checkbox">
                    <labels>
                      <label mode="any">Hide default actions</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        If set to true, actions from the default
                        category 'EDIT_DOCUMENT_FORM' will not be displayed on the
                        layout in toggled mode. Defaults to false.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>hideDefaultActions</field>
                    </fields>
                  </widget>
                  <widget name="additionalActionsCategory" type="text">
                    <labels>
                      <label mode="any">Additional actions category</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The additional actions category to use when
                        displaying the layout in toggled mode.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>additionalActionsCategory</field>
                    </fields>
                  </widget>
                  <widget name="showEditOptions" type="checkbox">
                    <labels>
                      <label mode="any">Show edit options</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        If set to true, additional edit options
                        (like a textarea for comment to be visible in the document
                        history) will be visible after the layout in toggled (edit)
                        mode. Only visible if value bound to the layout is a
                        document model. Defaults to false.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>showEditOptions</field>
                    </fields>
                  </widget>
                  <widget name="useAjaxForm" type="checkbox">
                    <labels>
                      <label mode="any">Use ajax actions</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        If set to true, actions will be performed
                        using ajax. Note that sometimes, actions will require you to
                        reload the whole page for other elements than the current
                        zone to be re-rendered, so using ajax will not be user
                        friendly in these cases. Defaults to false.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>useAjaxForm</field>
                    </fields>
                  </widget>
                  <widget name="initialActionLabel" type="text">
                    <labels>
                      <label mode="any">Initial action label</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The initial action label to display.
                        Defaults to 'action.view.modification' (Edit), is translated
                        when the widget is translated.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>initialActionLabel</field>
                    </fields>
                  </widget>
                  <widget name="cancelActionLabel" type="text">
                    <labels>
                      <label mode="any">Cancel action label</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The toggled action label to display.
                        Defaults to 'command.cancel' (Cancel), is translated when
                        the widget is translated.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>cancelActionLabel</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/toggleable_layout_with_forms_widget.xhtml
          </property>
        </widgetType>
    
        <widgetType name="actions">
          <configuration>
            <sinceVersion>5.6</sinceVersion>
            <title>Actions</title>
            <description>
              <p>This widget displays actions.</p>
              <p>
                It needs the list of actions as property "actions".
                <br/>
                Its bound value is used for actions with type "widget".
              </p>
            </description>
            <categories>
              <category>hidden</category>
            </categories>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
            <properties>
              <layouts mode="any">
                <layout name="generic_actions_widget_type_properties_any">
                  <rows>
                    <row>
                      <widget>actions</widget>
                    </row>
                    <row>
                      <widget category="widgetTypeConf">actionsDisplay</widget>
                    </row>
                    <row>
                      <widget>overallDisplay</widget>
                    </row>
                    <row>
                      <widget>maxActionsNumber</widget>
                    </row>
                    <row>
                      <widget>headerStyleClass</widget>
                    </row>
                    <row>
                      <widget>styleClass</widget>
                    </row>
                    <row>
                      <widget>subStyleClass</widget>
                    </row>
                    <row>
                      <widget>moreMenuLabel</widget>
                    </row>
                  </rows>
                  <widget name="actions" type="actions">
                    <labels>
                      <label mode="any">Actions</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The list of actions to display.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>actions</field>
                    </fields>
                    <widgetModes>
                      <mode value="edit_demo_preview">hidden</mode>
                    </widgetModes>
                  </widget>
                  <widget name="headerStyleClass" type="text">
                    <labels>
                      <label mode="any">Header style class</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Style class for the header, displaying this
                        widget label.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>headerStyleClass</field>
                    </fields>
                  </widget>
                  <widget name="overallDisplay" type="selectOneListbox">
                    <categories>
                      <category>widgetTypeConf</category>
                    </categories>
                    <labels>
                      <label mode="any">Overall display</label>
                    </labels>
                    <fields>
                      <field>overallDisplay</field>
                    </fields>
                    <selectOptions>
                      <option itemLabel="Vertical block (default)" itemValue=""/>
                      <option itemLabel="Horizontal block" itemValue="horizontal_block"/>
                      <option itemLabel="Menu" itemValue="menu"/>
                    </selectOptions>
                  </widget>
                  <widget name="styleClass" type="text">
                    <labels>
                      <label mode="any">Style class</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Style class for the global container div.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>styleClass</field>
                    </fields>
                  </widget>
                  <widget name="subStyleClass" type="text">
                    <labels>
                      <label mode="any">Sub style class</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Style class for div containing actions.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>subStyleClass</field>
                    </fields>
                  </widget>
                  <widget name="actionStyleClass" type="text">
                    <labels>
                      <label mode="any">Action style class</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Style class for each action link.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>subStyleClass</field>
                    </fields>
                  </widget>
                  <widget name="maxActionsNumber" type="int">
                    <labels>
                      <label mode="any">Maximum number of actions</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        Integer indicating the maximum number of
                        actions to display. When this limit is reached, other
                        actions are displayed in a menu.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>maxActionsNumber</field>
                    </fields>
                  </widget>
                  <widget name="moreMenuLabel" type="text">
                    <labels>
                      <label mode="any">Label for the "more" menu</label>
                    </labels>
                    <fields>
                      <field>moreMenuLabel</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/generic_actions_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="userVirtualGroups">
          <configuration>
            <sinceVersion>5.5</sinceVersion>
            <title>User virtual groups</title>
            <description>
              This widget displays the user virtual groups.
            </description>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/user_vgoups_widget_template.xhtml
          </property>
        </widgetType>
    
      </extension>
  • nuxeo-platform-mail-web-5.6.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>
          <configuration>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_mail_body_widget_template.xhtml
          </property>
    
        </widgetType>
    
        <widgetType name="listing_mail_contact">
    
          <documentation>
            This widget type displays the mail addresses within a mailTo link.
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>
                first field mapping the mail sender property.
              </li>
              <li>
                second field mapping the mail recipient property.
              </li>
              <li>
                third field mapping the mail cc_recipient property.
              </li>
            </ul>
          </documentation>
          <configuration>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_mail_contact_widget_template.xhtml
          </property>
    
        </widgetType>
    
        <widgetType name="listing_mail_object">
    
          <documentation>
            This widget type displays the mail object and the sending date.
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>
                first field mapping the dublincore title property.
              </li>
            </ul>
          </documentation>
          <configuration>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_mail_object_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="listing_mail_sending_date">
    
          <documentation>
            This widget type displays the sending date.
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>
                First field mapping the mail sending_date property.
              </li>
            </ul>
          </documentation>
          <configuration>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
          </configuration>
    
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_mail_sending_date_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="listing_mail_attachments">
    
          <documentation>
            This widget type displays the mail attachments. This widget requires
            a document with the files schema.
            <br/>
            It requires the following fields configuration:
            <ul>
              <li>
                first field mapping the files property.
              </li>
              <li>
                second field mapping the document.
              </li>
            </ul>
          </documentation>
          <configuration>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
          </configuration>
    
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/listing/listing_mail_attachments_widget_template.xhtml
          </property>
        </widgetType>
      </extension>
  • nuxeo-platform-localconfiguration-web-5.6.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    
        <widgetType name="ui_types_selection">
          <configuration>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">/widgets/ui_types_selection_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="default_type">
          <configuration>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">/widgets/ui_default_type_widget_template.xhtml
          </property>
        </widgetType>
    
      </extension>
  • nuxeo-platform-localconfiguration-web-5.6.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    
        <!-- deprecated since 5.5: use flavor selection instead -->
        <widgetType name="theme_selection">
          <configuration>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">/widgets/theme_selection_widget_template.xhtml
          </property>
        </widgetType>
    
      </extension>
  • nuxeo-apidoc-core-5.6.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    
      </extension>
  • nuxeo-platform-audio-jsf-5.6-RC3.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    
        <widgetType name="audio_player">
          <configuration>
            <sinceVersion>5.5</sinceVersion>
            <title>Audio Player</title>
            <description>
              <p>This widgets displays a html5 or flash audio player</p>
            </description>
            <categories>
              <category>configuration_not_ready</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/audio_player_widget_template.xhtml
          </property>
        </widgetType>
    
      </extension>
  • nuxeo-rating-web-5.6.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
        <widgetType name="summary_document_like_status">
          <configuration>
            <sinceVersion>5.6</sinceVersion>
            <title>Like Summary</title>
            <description>
              <p>This widgets displays how many people like a document</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/like_status_widget_template.xhtml
          </property>
        </widgetType>
      </extension>
  • nuxeo-platform-video-jsf-5.6-RC3.jar
    <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
        <widgetType name="video_player">
          <documentation>
            This widget displays a HTML5 video player for browsers
            supporting it, and fallback on a Flash player for others.
            It uses the WebM or MP4 conversion (in 480p) of
            a document having the facet 'Video'.
          </documentation>
    
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/video_player_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="video_storyboard">
          <documentation>
            This widget displays the story board of
            a document having the facet 'Video'.
          </documentation>
    
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/video_storyboard_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="video_conversions">
          <documentation>
            This widget displays the list of available
            video conversions for the given Video document.
          </documentation>
    
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/video_conversions_widget_template.xhtml
          </property>
        </widgetType>
    
        <widgetType name="video_info">
          <documentation>
            This widget displays the information of the main video of
            a document having the facet 'Video'.
          </documentation>
    
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/video_info_widget_template.xhtml
          </property>
        </widgetType>
      </extension>