Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.ecm.platform.faceted.search.dm.layouts--widgets

This contribution is part of XML component org.nuxeo.ecm.platform.faceted.search.dm.layouts inside nuxeo-platform-faceted-search-dm-5.6.jar

Extension point

Extension point widgets of component WebLayoutManager.

Contributed items

  • <widget name="text_search" type="faceted_search_wrapper">
          <labels>
            <label mode="any">label.faceted.search.textSearch</label>
          </labels>
          <translated>true</translated>
          <subWidgets>
            <widget name="ecm_fulltext" type="text">
              <labels>
                <label mode="any">label.faceted.search.fulltext</label>
              </labels>
              <translated>true</translated>
              <fields>
                <field>fsd:ecm_fulltext</field>
              </fields>
            </widget>
          </subWidgets>
        </widget>
  • <widget name="date_search" type="faceted_search_wrapper">
          <labels>
            <label mode="any">label.faceted.search.dateSearch</label>
          </labels>
          <translated>true</translated>
          <subWidgets>
            <widget name="dc_created" type="date_range">
              <labels>
                <label mode="any">label.dublincore.creationDate</label>
              </labels>
              <translated>true</translated>
              <fields>
                <field>fsd:dc_created_min</field>
                <field>fsd:dc_created_max</field>
              </fields>
              <properties widgetMode="edit">
                <property name="styleClass">dataInputTextDate</property>
                <property name="wrapperMode">row</property>
              </properties>
            </widget>
    
            <widget name="dc_modified" type="date_range">
              <labels>
                <label mode="any">label.dublincore.modificationDate</label>
              </labels>
              <translated>true</translated>
              <fields>
                <field>fsd:dc_modified_min</field>
                <field>fsd:dc_modified_max</field>
              </fields>
              <properties widgetMode="edit">
                <property name="styleClass">dataInputTextDate</property>
                <property name="wrapperMode">row</property>
              </properties>
            </widget>
          </subWidgets>
        </widget>
  • <widget name="people_search" type="faceted_search_wrapper">
          <labels>
            <label mode="any">label.faceted.search.peopleSearch</label>
          </labels>
          <translated>true</translated>
          <subWidgets>
            <widget name="dc_creator" type="faceted_search_users_suggestion">
              <labels>
                <label mode="any">label.dublincore.creator</label>
              </labels>
              <fields>
                <field>fsd:dc_creator</field>
              </fields>
              <properties widgetMode="any">
                <property name="userSuggestionSearchType">USER_TYPE</property>
                <property name="displayHorizontally">false</property>
                <property name="hideSearchTypeText">true</property>
                <property name="displayHelpLabel">false</property>
              </properties>
            </widget>
          </subWidgets>
        </widget>
  • <widget name="categorization_search" type="faceted_search_wrapper">
          <labels>
            <label mode="any">label.faceted.search.categorizationSearch</label>
          </labels>
          <translated>true</translated>
          <subWidgets>
            <widget name="dc_nature" type="selectManyDirectory">
              <labels>
                <label mode="any">label.dublincore.nature</label>
              </labels>
              <translated>true</translated>
              <fields>
                <field>fsd:dc_nature</field>
              </fields>
              <properties widgetMode="any">
                <property name="directoryName">nature</property>
                <property name="localize">true</property>
              </properties>
              <properties widgetMode="edit">
                <property name="wrapperMode">row</property>
              </properties>
            </widget>
            <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>
            <widget name="dc_subjects" type="faceted_search_directory_tree">
              <labels>
                <label mode="any">label.faceted.search.subjects</label>
              </labels>
              <translated>true</translated>
              <fields>
                <field>fsd:dc_subjects</field>
              </fields>
              <properties widgetMode="any">
                <property name="directoryTreeName">bySubjectsNavigation</property>
                <property name="wrapperMode">noLabel</property>
              </properties>
            </widget>
          </subWidgets>
        </widget>
  • <widget name="path_search" type="faceted_search_wrapper">
          <labels>
            <label mode="any">label.faceted.search.pathSearch</label>
          </labels>
          <translated>true</translated>
          <subWidgets>
            <widget name="ecm_path" type="select_path_tree">
              <labels>
                <label mode="any">label.faceted.search.path</label>
              </labels>
              <translated>true</translated>
              <fields>
                <field>fsd:ecm_path</field>
              </fields>
              <properties widgetMode="any">
                <property name="wrapperMode">noLabel</property>
              </properties>
            </widget>
          </subWidgets>
        </widget>
  • <widget name="faceted_searches_selector" type="faceted_searches_selector">
          <widgetModes>
            <!-- not shown in edit and view modes -->
            <mode value="view">hidden</mode>
            <mode value="edit">hidden</mode>
          </widgetModes>
        </widget>
  • <widget name="saved_faceted_searches_selector" type="saved_faceted_searches_selector">
          <widgetModes>
            <!-- not shown in edit and view modes -->
            <mode value="view">hidden</mode>
            <mode value="edit">hidden</mode>
          </widgetModes>
          <properties widgetMode="any">
            <property name="outcome">faceted_search_results</property>
          </properties>
        </widget>
  • <widget name="actions_bar" type="template">
          <properties widgetMode="any">
            <property name="template">
              /widgets/faceted_search_actions_widget_template.xhtml
            </property>
          </properties>
          <widgetModes>
            <!-- not shown in edit and view modes -->
            <mode value="view">hidden</mode>
            <mode value="edit">hidden</mode>
          </widgetModes>
        </widget>

XML source

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

    <widget name="text_search" type="faceted_search_wrapper">
      <labels>
        <label mode="any">label.faceted.search.textSearch</label>
      </labels>
      <translated>true</translated>
      <subWidgets>
        <widget name="ecm_fulltext" type="text">
          <labels>
            <label mode="any">label.faceted.search.fulltext</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>fsd:ecm_fulltext</field>
          </fields>
        </widget>
      </subWidgets>
    </widget>

    <widget name="date_search" type="faceted_search_wrapper">
      <labels>
        <label mode="any">label.faceted.search.dateSearch</label>
      </labels>
      <translated>true</translated>
      <subWidgets>
        <widget name="dc_created" type="date_range">
          <labels>
            <label mode="any">label.dublincore.creationDate</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>fsd:dc_created_min</field>
            <field>fsd:dc_created_max</field>
          </fields>
          <properties widgetMode="edit">
            <property name="styleClass">dataInputTextDate</property>
            <property name="wrapperMode">row</property>
          </properties>
        </widget>

        <widget name="dc_modified" type="date_range">
          <labels>
            <label mode="any">label.dublincore.modificationDate</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>fsd:dc_modified_min</field>
            <field>fsd:dc_modified_max</field>
          </fields>
          <properties widgetMode="edit">
            <property name="styleClass">dataInputTextDate</property>
            <property name="wrapperMode">row</property>
          </properties>
        </widget>
      </subWidgets>
    </widget>

    <widget name="people_search" type="faceted_search_wrapper">
      <labels>
        <label mode="any">label.faceted.search.peopleSearch</label>
      </labels>
      <translated>true</translated>
      <subWidgets>
        <widget name="dc_creator" type="faceted_search_users_suggestion">
          <labels>
            <label mode="any">label.dublincore.creator</label>
          </labels>
          <fields>
            <field>fsd:dc_creator</field>
          </fields>
          <properties widgetMode="any">
            <property name="userSuggestionSearchType">USER_TYPE</property>
            <property name="displayHorizontally">false</property>
            <property name="hideSearchTypeText">true</property>
            <property name="displayHelpLabel">false</property>
          </properties>
        </widget>
      </subWidgets>
    </widget>

    <widget name="categorization_search" type="faceted_search_wrapper">
      <labels>
        <label mode="any">label.faceted.search.categorizationSearch</label>
      </labels>
      <translated>true</translated>
      <subWidgets>
        <widget name="dc_nature" type="selectManyDirectory">
          <labels>
            <label mode="any">label.dublincore.nature</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>fsd:dc_nature</field>
          </fields>
          <properties widgetMode="any">
            <property name="directoryName">nature</property>
            <property name="localize">true</property>
          </properties>
          <properties widgetMode="edit">
            <property name="wrapperMode">row</property>
          </properties>
        </widget>
        <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>
        <widget name="dc_subjects" type="faceted_search_directory_tree">
          <labels>
            <label mode="any">label.faceted.search.subjects</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>fsd:dc_subjects</field>
          </fields>
          <properties widgetMode="any">
            <property name="directoryTreeName">bySubjectsNavigation</property>
            <property name="wrapperMode">noLabel</property>
          </properties>
        </widget>
      </subWidgets>
    </widget>

    <widget name="path_search" type="faceted_search_wrapper">
      <labels>
        <label mode="any">label.faceted.search.pathSearch</label>
      </labels>
      <translated>true</translated>
      <subWidgets>
        <widget name="ecm_path" type="select_path_tree">
          <labels>
            <label mode="any">label.faceted.search.path</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>fsd:ecm_path</field>
          </fields>
          <properties widgetMode="any">
            <property name="wrapperMode">noLabel</property>
          </properties>
        </widget>
      </subWidgets>
    </widget>

    <widget name="faceted_searches_selector" type="faceted_searches_selector">
      <widgetModes>
        <!-- not shown in edit and view modes -->
        <mode value="view">hidden</mode>
        <mode value="edit">hidden</mode>
      </widgetModes>
    </widget>

    <widget name="saved_faceted_searches_selector" type="saved_faceted_searches_selector">
      <widgetModes>
        <!-- not shown in edit and view modes -->
        <mode value="view">hidden</mode>
        <mode value="edit">hidden</mode>
      </widgetModes>
      <properties widgetMode="any">
        <property name="outcome">faceted_search_results</property>
      </properties>
    </widget>

    <widget name="actions_bar" type="template">
      <properties widgetMode="any">
        <property name="template">
          /widgets/faceted_search_actions_widget_template.xhtml
        </property>
      </properties>
      <widgetModes>
        <!-- not shown in edit and view modes -->
        <mode value="view">hidden</mode>
        <mode value="edit">hidden</mode>
      </widgetModes>
    </widget>

  </extension>