Platform Explorer / Nuxeo Platform LTS 2015 7.10

Component org.nuxeo.search.ui.local.configuration.layouts

Services

Extension points

Contributions

XML source

<component name="org.nuxeo.search.ui.local.configuration.layouts">

  <extension target="org.nuxeo.ecm.platform.actions.ActionService"
    point="actions">

    <action id="SEARCH_CONFIGURATION" link="/search/incl/tabs/search_configuration.xhtml"
      order="100" label="action.view.theme" icon="/icons/file.gif">
      <category>LOCAL_CONFIGURATION</category>
      <filter-id>manage</filter-id>
    </action>

  </extension>

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

    <widget name="search_content_views_selection" type="shuttle">
      <labels>
        <label mode="any">
          label.search.local.configuration.content.view.selection.label
        </label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>searchc:allowedContentViews</field>
      </fields>
      <properties mode="any">
        <property name="availableElementsLabel">
          label.search.local.configuration.content.view.selection.available
        </property>
        <property name="selectedElementsLabel">
          label.search.local.configuration.content.view.selection.enable
        </property>
        <property name="sourceItems">
          #{searchUIConfigurationActions.getNotSelectedContentViewHeaders(layoutValue)}
        </property>
        <property name="sourceItemVar">contentViewHeader</property>
        <property name="sourceItemValue">#{contentViewHeader.name}</property>
        <property name="sourceItemLabel">
          #{contentViewHeader.translateTitle ?
          messages[contentViewHeader.title] : contentViewHeader.title}
        </property>
        <property name="sourceItemOrdering">label</property>
        <property name="sourceItemCaseSensitive">true</property>
        <property name="targetItems">
          #{searchUIConfigurationActions.getSelectedContentViewHeaders(layoutValue)}
        </property>
        <property name="targetItemVar">contentViewHeader</property>
        <property name="targetItemValue">#{contentViewHeader.name}</property>
        <property name="targetItemLabel">
          #{contentViewHeader.translateTitle ?
          messages[contentViewHeader.title] : contentViewHeader.title}
        </property>
      </properties>
    </widget>
  </extension>

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

    <layout name="search_configuration">
      <templates>
        <template mode="any">
          /layouts/layout_local_configuration_template.xhtml
        </template>
      </templates>
      <properties mode="any">
        <property name="layoutTemplateToInclude">/layouts/layout_default_template.xhtml</property>
        <property name="foldableBoxLabel">label.search.local.configuration.content.view.selection</property>
        <property name="localConfigurationFacet">SearchConfiguration</property>
        <property name="helpLabel">label.search.local.configuration.content.view.selection.info</property>
      </properties>
      <rows>
        <row>
          <widget>search_content_views_selection</widget>
        </row>
      </rows>
    </layout>

  </extension>

</component>

Documentation