<?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 Nuxeo 5.8 - Single document suggestion - customisation in VIEW mode in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-8-single-document-suggestion-customisation-in-view-mode/m-p/314836#M1837</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Why is it not possible to customise "single doc suggestion" with a "selection formatter" and inline Javascript in nuxeo 58 ?&lt;/P&gt;
&lt;P&gt;thank you&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jan 2014 16:46:02 GMT</pubDate>
    <dc:creator>milonette_</dc:creator>
    <dc:date>2014-01-21T16:46:02Z</dc:date>
    <item>
      <title>Nuxeo 5.8 - Single document suggestion - customisation in VIEW mode</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-8-single-document-suggestion-customisation-in-view-mode/m-p/314836#M1837</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Why is it not possible to customise "single doc suggestion" with a "selection formatter" and inline Javascript in nuxeo 58 ?&lt;/P&gt;
&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2014 16:46:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-8-single-document-suggestion-customisation-in-view-mode/m-p/314836#M1837</guid>
      <dc:creator>milonette_</dc:creator>
      <dc:date>2014-01-21T16:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo 5.8 - Single document suggestion - customisation in VIEW mode</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-8-single-document-suggestion-customisation-in-view-mode/m-p/314837#M1838</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;The "selection formatter" and "inline javascript" are widget properties to customize the select2 suggestion box.&lt;/P&gt;
&lt;P&gt;Since view mode is readonly, select2 is not used to render the widget and it falls back to the way it was rendered in 5.6.&lt;/P&gt;
&lt;P&gt;A workaround would be to force the widget mode to edit mode:
&lt;WIDGETMODES&gt;
&lt;MODE value="view"&gt;edit&lt;/MODE&gt;
&lt;/WIDGETMODES&gt;&lt;/P&gt;
&lt;P&gt;but then you'd be able to change the selection despite you're in view mode (which is functionally weird). To achieve a functionally acceptable solution, you could use the readonly mode of select2
&lt;PROPERTY name="readonly"&gt;true&lt;/PROPERTY&gt;&lt;/P&gt;
&lt;P&gt;Unfortunately, it won't work because this select2 "readonly" property is not supposed to be set as a widget property and is only determined by the widget mode.&lt;/P&gt;
&lt;P&gt;I created &lt;A href="https://jira.nuxeo.com/browse/NXP-13611"&gt;NXP-13611&lt;/A&gt; improvement to achieve this.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2014 19:23:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-8-single-document-suggestion-customisation-in-view-mode/m-p/314837#M1838</guid>
      <dc:creator>Guillaume_Renar</dc:creator>
      <dc:date>2014-01-21T19:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo 5.8 - Single document suggestion - customisation in VIEW mode</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-8-single-document-suggestion-customisation-in-view-mode/m-p/314838#M1839</link>
      <description>&lt;P&gt;thank you !&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2014 13:48:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-8-single-document-suggestion-customisation-in-view-mode/m-p/314838#M1839</guid>
      <dc:creator>milonette_</dc:creator>
      <dc:date>2014-02-14T13:48:27Z</dc:date>
    </item>
  </channel>
</rss>

