Platform Explorer / Nuxeo Platform LTS 2015 7.10

Component org.nuxeo.search.ui.urlservice

Services

Extension points

Contributions

XML source

<?xml version="1.0" encoding="UTF-8"?>
<component name="org.nuxeo.search.ui.urlservice">

  <extension
    target="org.nuxeo.ecm.platform.url.service.DocumentViewCodecService"
    point="codecs">

    <documentViewCodec name="docpathsearch" enabled="true" default="false"
      prefix="nxsearch"
      class="org.nuxeo.search.ui.codec.SearchCodec" />

  </extension>

  <extension target="org.nuxeo.ecm.platform.ui.web.rest.URLService"
    point="urlpatterns">

    <urlPattern name="search" enabled="true">
      <defaultURLPolicy>false</defaultURLPolicy>
      <needBaseURL>true</needBaseURL>
      <needRedirectFilter>true</needRedirectFilter>
      <needFilterPreprocessing>true</needFilterPreprocessing>
      <codecName>docpathsearch</codecName>
      <actionBinding>
        #{searchUIActions.loadPermanentLink}
      </actionBinding>
      <documentViewBindingApplies>
        #{mainTabsActions.isOnMainTab('search')}
      </documentViewBindingApplies>
      <documentViewBinding>#{restHelper.documentView}</documentViewBinding>
      <newDocumentViewBinding>
        #{restHelper.getNewDocumentView(null)}
      </newDocumentViewBinding>
      <bindings>
        <binding name="tabIds">#{searchUIActions.searchMainTab}</binding>
        <binding name="language" callGetter="false">
          #{restHelper.localeString}
        </binding>
        <binding name="contentViewName" callGetter="true">
          #{searchUIActions.currentContentViewName}
        </binding>
        <binding name="currentPage" callGetter="true">
          #{searchUIActions.currentPage}
        </binding>
        <binding name="pageSize" callGetter="true">
          #{searchUIActions.pageSize}
        </binding>
        <binding name="state" callGetter="false">
          #{searchUIActions.state}
        </binding>
        <binding name="searchTerm" callGetter="false">
          #{searchUIActions.searchTerm}
        </binding>
      </bindings>
    </urlPattern>

  </extension>

</component>

Documentation