Component org.nuxeo.search.ui.layouts
In bundle org.nuxeo.search.ui
Resolution Order
803
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime
framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.
Contributions
- org.nuxeo.search.ui.layouts--widgettypes
- org.nuxeo.search.ui.layouts--widgets
- org.nuxeo.search.ui.layouts--actions
- org.nuxeo.search.ui.layouts--layouts
XML Source
<?xml version="1.0" encoding="UTF-8"?>
<component name="org.nuxeo.search.ui.layouts">
<extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
point="widgettypes">
<widgetType name="search_view_title">
<configuration>
<sinceVersion>6.0</sinceVersion>
<title>Search View Title</title>
<description>
<p>
This widget type displays the title of the search view: the title of
the selected saved search, or the title of the selected content view.
</p>
<p>
</p>
</description>
</configuration>
<handler-class>
org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
</handler-class>
<property name="template">
/search/widgets/search_view_title_widget_template.xhtml
</property>
</widgetType>
</extension>
<extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
point="widgets">
<!-- Grid layout widgets -->
<widget name="searchPanelLeft" type="container">
<properties widgetMode="view">
<property name="display">block_top</property>
<property name="hideSubLabels">true</property>
<property name="ajaxPanelId">searchPanelLeft</property>
</properties>
<subWidgetRefs>
<widget>searchForm</widget>
</subWidgetRefs>
<controls mode="any">
<control name="gridStyleClass">
gridStyle2 compactLayout nxSearchForm
</control>
</controls>
</widget>
<widget name="searchPanelRight" type="container">
<properties widgetMode="view">
<property name="display">block_top</property>
<property name="hideSubLabels">true</property>
<property name="ajaxPanelId">searchPanelRight</property>
</properties>
<subWidgetRefs>
<widget>searchResults</widget>
</subWidgetRefs>
<controls mode="any">
<control name="gridStyleClass">
gridStyle6 nxSearchResults
</control>
</controls>
</widget>
<!-- End of Grid layout widgets -->
<!-- Main actions widgets -->
<widget name="searchForm" type="documentActions">
<properties widgetMode="view">
<property name="category">SEARCH_PANEL_LEFT</property>
</properties>
</widget>
<widget name="searchResults" type="documentActions">
<properties widgetMode="view">
<property name="category">SEARCH_PANEL_RIGHT</property>
</properties>
<controls mode="any">
<control name="requireSurroundingForm">false</control>
</controls>
</widget>
<!-- End of Main actions widgets -->
<!-- Search form widgets -->
<widget name="searchesSelector" type="template">
<properties widgetMode="any">
<property name="template">
/search/widgets/searches_selector_widget_template.xhtml
</property>
<property name="ajaxReRender">
searchPanelLeft searchPanelRight
</property>
</properties>
<controls mode="any">
<control name="requireSurroundingForm">true</control>
</controls>
</widget>
<widget name="searchLayout" type="container">
<handlingLabels>false</handlingLabels>
<properties widgetMode="any">
<property name="hideSubLabels">true</property>
</properties>
<controls mode="any">
<control name="requireSurroundingForm">true</control>
<property name="useAjaxForm">true</property>
</controls>
<subWidgetRefs>
<widget>searchActions</widget>
<widget>searchFilters</widget>
<widget>searchActions</widget>
</subWidgetRefs>
</widget>
<widget name="searchFilters" type="contentViewSearchLayout">
<properties widgetMode="any">
<property name="contentViewName">#{searchUIActions.currentContentViewName}</property>
<property name="ajaxReRender">searchPanelRight</property>
</properties>
</widget>
<widget name="searchActions" type="documentActions">
<properties widgetMode="any">
<property name="category">SEARCH_FILTER_ACTIONS</property>
<property name="actionsDisplay">buttons</property>
<property name="actionStyleClass">button</property>
<property name="overallDisplay">horizontal_block</property>
<property name="hideSubLabels">true</property>
<property name="styleClass">searchFilterActions</property>
</properties>
</widget>
<!-- End of Search form widgets -->
<!-- Search results widgets -->
<widget name="searchViewTitle" type="search_view_title" />
<widget name="searchResultsActions" type="documentActionsWithForms">
<properties widgetMode="view">
<property name="category">SEARCH_RESULTS_ACTIONS</property>
<property name="styleClass">globalActionBar</property>
<property name="overallDisplay">horizontal_block</property>
<property name="actionStyleClass">button</property>
<property name="actionsDisplay">buttons</property>
<property name="useAjaxForm">true</property>
<property name="ignoreTemplateProperty">true</property>
<property name="maxActionsNumber">3</property>
</properties>
</widget>
<widget name="searchNxqlInput" type="template">
<properties widgetMode="any">
<property name="template">
/search/widgets/search_nxql_input_widget_template.xhtml
</property>
<property name="ajaxReRender">
searchPanelRight
</property>
</properties>
<controls mode="any">
<control name="requireSurroundingForm">true</control>
</controls>
</widget>
<widget name="searchContentView" type="contentViewWithForms">
<properties widgetMode="any">
<property name="contentViewName">#{searchUIActions.currentContentViewName}</property>
<property name="showFilterForm">false</property>
<property name="useAjaxForm">true</property>
<property name="useAjaxPagination">true</property>
<property name="styleClass">alignL</property>
</properties>
</widget>
<!-- End of Search results widgets -->
</extension>
<extension target="org.nuxeo.ecm.platform.actions.ActionService"
point="actions">
<!-- Search form -->
<action id="searchesSelector" type="widget" order="100">
<category>SEARCH_PANEL_LEFT</category>
<properties>
<property name="widgetName">searchesSelector</property>
</properties>
</action>
<action id="searchLayout" type="widget" order="200">
<category>SEARCH_PANEL_LEFT</category>
<properties>
<property name="widgetName">searchLayout</property>
</properties>
<filter-id>notNxqlSearchSelected</filter-id>
</action>
<!-- End Search form -->
<!-- Search results -->
<action id="searchViewTitle" type="widget" order="100">
<category>SEARCH_PANEL_RIGHT</category>
<properties>
<property name="widgetName">searchViewTitle</property>
<property name="containerStyleClass">searchViewTitle</property>
</properties>
</action>
<action id="searchResultsActions" type="widget" order="200">
<category>SEARCH_PANEL_RIGHT</category>
<properties>
<property name="widgetName">searchResultsActions</property>
<property name="containerStyleClass">searchResultsActions</property>
</properties>
</action>
<action id="searchNxqlInput" type="widget" order="300">
<category>SEARCH_PANEL_RIGHT</category>
<properties>
<property name="widgetName">searchNxqlInput</property>
</properties>
<filter-id>nxqlSearchSelected</filter-id>
</action>
<action id="searchContentView" type="widget" order="400">
<category>SEARCH_PANEL_RIGHT</category>
<properties>
<property name="containerStyleClass">searchResultsListing</property>
<property name="widgetName">searchContentView</property>
</properties>
</action>
<!-- End Search results -->
</extension>
<extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
point="layouts">
<layout name="gridSearchLayout">
<templates>
<template mode="any">
/layouts/layout_grid_template.xhtml
</template>
</templates>
<rows>
<row>
<widget>searchPanelLeft</widget>
<widget>searchPanelRight</widget>
</row>
</rows>
</layout>
</extension>
</component>