<?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 How to display picture thumbnails in content views ? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-display-picture-thumbnails-in-content-views/m-p/327065#M14066</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I'd like to display the thumbnails of pictures in a content a view.
Here's what I tried :&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;I picked "Generic" in "Advanced Widgets"&lt;/LI&gt;
&lt;LI&gt;I chose "Image" as "Widget type"&lt;/LI&gt;
&lt;LI&gt;I added two fields for this widget : data.picture.views[3].content and "data.dc.title"&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Here's the error :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;Cannot convert org.nuxeo.ecm.platform.query.pai.PageSelection@214cd6 of type class org.nuxeo.ecm.platform.query.api.PageSelection to interface org.nuxeo.ecm.core.api.DocumentModel
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I thought "data" could get a documentModel from the pageSelection but obviously it doesn't.&lt;/P&gt;
&lt;P&gt;Do you know how I could resolve this ?&lt;/P&gt;
&lt;P&gt;Thank you for any idea.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Fabrice&lt;/P&gt;</description>
    <pubDate>Tue, 29 May 2012 10:09:05 GMT</pubDate>
    <dc:creator>fabrice_</dc:creator>
    <dc:date>2012-05-29T10:09:05Z</dc:date>
    <item>
      <title>How to display picture thumbnails in content views ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-display-picture-thumbnails-in-content-views/m-p/327065#M14066</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I'd like to display the thumbnails of pictures in a content a view.
Here's what I tried :&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;I picked "Generic" in "Advanced Widgets"&lt;/LI&gt;
&lt;LI&gt;I chose "Image" as "Widget type"&lt;/LI&gt;
&lt;LI&gt;I added two fields for this widget : data.picture.views[3].content and "data.dc.title"&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Here's the error :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;Cannot convert org.nuxeo.ecm.platform.query.pai.PageSelection@214cd6 of type class org.nuxeo.ecm.platform.query.api.PageSelection to interface org.nuxeo.ecm.core.api.DocumentModel
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I thought "data" could get a documentModel from the pageSelection but obviously it doesn't.&lt;/P&gt;
&lt;P&gt;Do you know how I could resolve this ?&lt;/P&gt;
&lt;P&gt;Thank you for any idea.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Fabrice&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2012 10:09:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-display-picture-thumbnails-in-content-views/m-p/327065#M14066</guid>
      <dc:creator>fabrice_</dc:creator>
      <dc:date>2012-05-29T10:09:05Z</dc:date>
    </item>
  </channel>
</rss>

