<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Try to give parameters to a pageprovider in ecm:fulltext an others where clauses, extracting from widget template.xhtml in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/try-to-give-parameters-to-a-pageprovider-in-ecm-fulltext-an/m-p/322162#M9163</link>
    <description>&lt;P&gt;Try to replace your second parameter by that when you remove quote&lt;/P&gt;</description>
    <pubDate>Fri, 15 Feb 2013 14:51:29 GMT</pubDate>
    <dc:creator>Flav_BARTHE</dc:creator>
    <dc:date>2013-02-15T14:51:29Z</dc:date>
    <item>
      <title>Try to give parameters to a pageprovider in ecm:fulltext an others where clauses, extracting from widget template.xhtml</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/try-to-give-parameters-to-a-pageprovider-in-ecm-fulltext-an/m-p/322159#M9160</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I try to do a page provider with parameters.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Parameter should be get in a WIDGET custom parameters.&lt;/LI&gt;
&lt;LI&gt;This widget is using this page provider to display results.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I couldn't find a solution to have results in my request WHEN I had 2 fields "parameter" instead of using
&lt;CODE&gt;&amp;lt;pattern escapeParameters="true" quoteParameters="false"&amp;gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;Here is the extension point :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;extension target="org.nuxeo.ecm.platform.query.api.PageProviderService"  point="providers"&amp;gt;

&amp;lt;coreQueryPageProvider name="document_suggestion_amoi"&amp;gt;
  &amp;lt;property name="coreSession"&amp;gt;#{documentManager}&amp;lt;/property&amp;gt;
  &amp;lt;pattern&amp;gt;
    SELECT * FROM Document WHERE (ecm:path STARTSWITH '?')
     AND ecm:primaryType IN ('Folder', 'Workspace') AND ecm:fulltext LIKE '?*' AND ecm:mixinType !=
    'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND
    ecm:currentLifeCycleState != 'deleted'
  &amp;lt;/pattern&amp;gt;
  &amp;lt;parameter&amp;gt;/My Domain/workspaces/Bidule/&amp;lt;/parameter&amp;gt;
  &amp;lt;parameter&amp;gt;#{documentSearchActions.simpleSearchKeywords}&amp;lt;/parameter&amp;gt;   
  &amp;lt;sort ascending="true" column="dc:title"/&amp;gt;
  &amp;lt;pageSize&amp;gt;5&amp;lt;/pageSize&amp;gt;
&amp;lt;/coreQueryPageProvider&amp;gt;
&amp;lt;/extension&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;moreover, parameter ONE should be #{mycustomparameter_fromwidgetcustom}&lt;/P&gt;
&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2013 16:37:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/try-to-give-parameters-to-a-pageprovider-in-ecm-fulltext-an/m-p/322159#M9160</guid>
      <dc:creator>milonette_</dc:creator>
      <dc:date>2013-02-14T16:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Try to give parameters to a pageprovider in ecm:fulltext an others where clauses, extracting from widget template.xhtml</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/try-to-give-parameters-to-a-pageprovider-in-ecm-fulltext-an/m-p/322160#M9161</link>
      <description>&lt;P&gt;If you don't use quoteParameters="false" you must remove quotes around your parameters no?
Whereas, if you do that  ecm:fulltext LIKE '?*' will not working anymore... (maybe with a concat?)&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2013 16:58:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/try-to-give-parameters-to-a-pageprovider-in-ecm-fulltext-an/m-p/322160#M9161</guid>
      <dc:creator>Flav_BARTHE</dc:creator>
      <dc:date>2013-02-14T16:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Try to give parameters to a pageprovider in ecm:fulltext an others where clauses, extracting from widget template.xhtml</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/try-to-give-parameters-to-a-pageprovider-in-ecm-fulltext-an/m-p/322161#M9162</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2013 17:36:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/try-to-give-parameters-to-a-pageprovider-in-ecm-fulltext-an/m-p/322161#M9162</guid>
      <dc:creator>milonette_</dc:creator>
      <dc:date>2013-02-14T17:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Try to give parameters to a pageprovider in ecm:fulltext an others where clauses, extracting from widget template.xhtml</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/try-to-give-parameters-to-a-pageprovider-in-ecm-fulltext-an/m-p/322162#M9163</link>
      <description>&lt;P&gt;Try to replace your second parameter by that when you remove quote&lt;/P&gt;</description>
      <pubDate>Fri, 15 Feb 2013 14:51:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/try-to-give-parameters-to-a-pageprovider-in-ecm-fulltext-an/m-p/322162#M9163</guid>
      <dc:creator>Flav_BARTHE</dc:creator>
      <dc:date>2013-02-15T14:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Try to give parameters to a pageprovider in ecm:fulltext an others where clauses, extracting from widget template.xhtml</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/try-to-give-parameters-to-a-pageprovider-in-ecm-fulltext-an/m-p/322163#M9164</link>
      <description>&lt;P&gt;Is This pattern using with a Document Suggestion Box?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Feb 2013 14:53:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/try-to-give-parameters-to-a-pageprovider-in-ecm-fulltext-an/m-p/322163#M9164</guid>
      <dc:creator>Flav_BARTHE</dc:creator>
      <dc:date>2013-02-15T14:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Try to give parameters to a pageprovider in ecm:fulltext an others where clauses, extracting from widget template.xhtml</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/try-to-give-parameters-to-a-pageprovider-in-ecm-fulltext-an/m-p/322164#M9165</link>
      <description>&lt;P&gt;Thanks Flav. Exactly, it's a document suggestion box.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2013 11:04:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/try-to-give-parameters-to-a-pageprovider-in-ecm-fulltext-an/m-p/322164#M9165</guid>
      <dc:creator>milonette_</dc:creator>
      <dc:date>2013-02-18T11:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Try to give parameters to a pageprovider in ecm:fulltext an others where clauses, extracting from widget template.xhtml</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/try-to-give-parameters-to-a-pageprovider-in-ecm-fulltext-an/m-p/322165#M9166</link>
      <description>&lt;P&gt;I got&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2013 14:30:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/try-to-give-parameters-to-a-pageprovider-in-ecm-fulltext-an/m-p/322165#M9166</guid>
      <dc:creator>milonette_</dc:creator>
      <dc:date>2013-02-18T14:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Try to give parameters to a pageprovider in ecm:fulltext an others where clauses, extracting from widget template.xhtml</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/try-to-give-parameters-to-a-pageprovider-in-ecm-fulltext-an/m-p/322166#M9167</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;On version 5.6, the document suggestion widget accepts a provider that only takes one parameter: the suggestion input.&lt;/P&gt;
&lt;P&gt;Additional parameters set on the page provider definition will be ignored. This limitation has recently been removed, see &lt;A href="https://jira.nuxeo.com/browse/NXP-11014" target="test_blank"&gt;https://jira.nuxeo.com/browse/NXP-11014&lt;/A&gt;. Note that the first '?' character in the query pattern will have to match the suggestion input.&lt;/P&gt;
&lt;P&gt;You can define a custom widget template and associated custom suggestion method to replicate the logic on a 5.6.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2013 11:23:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/try-to-give-parameters-to-a-pageprovider-in-ecm-fulltext-an/m-p/322166#M9167</guid>
      <dc:creator>Anahide_Tchertc</dc:creator>
      <dc:date>2013-02-21T11:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Try to give parameters to a pageprovider in ecm:fulltext an others where clauses, extracting from widget template.xhtml</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/try-to-give-parameters-to-a-pageprovider-in-ecm-fulltext-an/m-p/322167#M9168</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2013 16:45:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/try-to-give-parameters-to-a-pageprovider-in-ecm-fulltext-an/m-p/322167#M9168</guid>
      <dc:creator>milonette_</dc:creator>
      <dc:date>2013-04-04T16:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Try to give parameters to a pageprovider in ecm:fulltext an others where clauses, extracting from widget template.xhtml</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/try-to-give-parameters-to-a-pageprovider-in-ecm-fulltext-an/m-p/322168#M9169</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2013 12:36:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/try-to-give-parameters-to-a-pageprovider-in-ecm-fulltext-an/m-p/322168#M9169</guid>
      <dc:creator>Anahide_Tchertc</dc:creator>
      <dc:date>2013-04-05T12:36:15Z</dc:date>
    </item>
  </channel>
</rss>

