Platform Explorer / CMF 1.8

Component org.nuxeo.ecm.platform.faceted.search.widgets

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.faceted.search.widgets">

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

    <widgetType name="date_range">
      <documentation>Widget used to search on a date range.</documentation>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/date_range_widget_template.xhtml
      </property>
    </widgetType>

    <widgetType name="faceted_search_users_suggestion">
      <documentation>
        Widget allowing to search and select one or more users with a suggestion
        box.
      </documentation>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/user_suggestion_widget_template.xhtml
      </property>
    </widgetType>

    <widgetType name="faceted_search_wrapper">
      <documentation>
        Template widget dedicated to wrap other sub widgets. It displays the
        widget label, and list the sub widgets below according to the
        wrapperMode. The sub widgets can use 3 wrapperMode (to be defined in the
        sub widget properties): - row: the sub widget label is displayed on one
        row, and the sub widget content on another row. - column: the sub widget
        label and content are displayed on the same row - noLabel: the sub
        widget label is not displayed at all.
      </documentation>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/faceted_search_wrapper_widget_template.xhtml
      </property>
    </widgetType>

    <widgetType name="faceted_searches_selector">
      <documentation>
        Widget displaying all the registered faceted searches. Hidden in case
        only one faceted search is registered.
      </documentation>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/faceted_searches_selector_widget_template.xhtml
      </property>
    </widgetType>

    <widgetType name="saved_faceted_searches_selector">
      <documentation>
        Widget displaying all the saved faceted searches. It displays 2
        categories: - Your searches: your saved faceted searches - All searches:
        all the other users shared saved faceted searches.

        The "outcome" property needs to be defined: on which JSF view should we
        redirect after selecting a saved search.
      </documentation>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/saved_faceted_searches_selector_widget_template.xhtml
      </property>
    </widgetType>

    <widgetType name="faceted_search_directory_tree">
      <documentation>
        Widget allowing to select one or more values from a Tree constructed
        from the directory tree specified in the directoryTreeName property.

        <code>
          <widget name="dc_coverage" type="faceted_search_directory_tree">
            <labels>
              <label mode="any">label.faceted.search.coverage</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>fsd:dc_coverage</field>
            </fields>
            <properties widgetMode="any">
              <property name="directoryTreeName">byCoverageNavigation</property>
              <property name="wrapperMode">noLabel</property>
            </properties>
          </widget>
        </code>

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

</component>