<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Liferay 7 and PrimeFaces Extensions DocumentViewer</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110422415" />
  <subtitle>Liferay 7 and PrimeFaces Extensions DocumentViewer</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110422415</id>
  <updated>2026-04-04T03:56:06Z</updated>
  <dc:date>2026-04-04T03:56:06Z</dc:date>
  <entry>
    <title>RE: Liferay 7 and PrimeFaces Extensions DocumentViewer</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110572408" />
    <author>
      <name>Kyle Joseph Stiemann</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110572408</id>
    <updated>2018-07-16T17:37:26Z</updated>
    <published>2018-07-16T17:37:26Z</published>
    <summary type="html">&lt;p&gt;Glad it's working for you, Ingo! Thanks for using Liferay Faces!&lt;/p&gt;</summary>
    <dc:creator>Kyle Joseph Stiemann</dc:creator>
    <dc:date>2018-07-16T17:37:26Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 7 and PrimeFaces Extensions DocumentViewer</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110542915" />
    <author>
      <name>Ingo Schildmann</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110542915</id>
    <updated>2018-07-13T08:43:02Z</updated>
    <published>2018-07-13T08:43:02Z</published>
    <summary type="html">&lt;p&gt;Thanks Kyle, the workaround helped. &lt;/p&gt;</summary>
    <dc:creator>Ingo Schildmann</dc:creator>
    <dc:date>2018-07-13T08:43:02Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 7 and PrimeFaces Extensions DocumentViewer</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110538174" />
    <author>
      <name>Kyle Joseph Stiemann</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110538174</id>
    <updated>2018-07-12T20:53:33Z</updated>
    <published>2018-07-12T20:53:33Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;p&gt;Hi Ingo, You may be running into &lt;a href="https://github.com/primefaces/primefaces/issues/3746"&gt;PrimeFaces
  #3746&lt;/a&gt;. Can you try working around the problem by adding the
  following to &lt;code&gt;h:head&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;
&amp;lt;f:facet name="last"&amp;gt;
    &amp;lt;h:outputScript&amp;gt;
        // Work around https://github.com/primefaces/primefaces/issues/3746
        PrimeFacesExt.VERSION = null;
    &amp;lt;/h:outputScript&amp;gt;
&amp;lt;/f:facet&amp;gt;&lt;/pre&gt;
&lt;p&gt;Let me know if that works. If not, I'll take a closer look at the
  portlet you've included.&lt;br&gt;
  &lt;br&gt; - Kyle&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Kyle Joseph Stiemann</dc:creator>
    <dc:date>2018-07-12T20:53:33Z</dc:date>
  </entry>
  <entry>
    <title>Liferay 7 and PrimeFaces Extensions DocumentViewer</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110422414" />
    <author>
      <name>Ingo Schildmann</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110422414</id>
    <updated>2018-07-10T13:05:57Z</updated>
    <published>2018-07-10T13:05:57Z</published>
    <summary type="html">&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;I've problems using the  PrimeFaces Extensions DocumentViewer (a
  wrapper for PDF.js) with Liferay 7.&lt;/p&gt;
&lt;p&gt;I know there were problems with older versions, that have been fixed &lt;/p&gt;
&lt;p&gt;
  &lt;a href="https://github.com/primefaces-extensions/primefaces-extensions.github.com/issues/352"&gt;https://github.com/primefaces-extensions/primefaces-extensions.github.com/issues/352&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;My latest trial uses:&lt;/p&gt;
&lt;p&gt;Liferay Faces Portal 3.0.2, Bridge Impl 4.1.1, Bridge Ext 5.0.2,
  PrimeFaces 6.2 and PrimeFaces Extensions 6.2.6&lt;/p&gt;
&lt;p&gt;The console of my browser shows:&lt;/p&gt;
&lt;p&gt;TypeError: (intermediate value).exec(...) is null home:1:5396&lt;br /&gt;
      b.getFacesResource
  http://localhost:8080/web/guest/home:1:5396&lt;br /&gt;     &amp;lt;anonym&amp;gt;
  http://localhost:8080/web/guest/home:361:21&lt;br /&gt;     g/&amp;lt;/j
  http://localhost:8080/web/guest/home:2:29997&lt;br /&gt;     g/&amp;lt;/k&amp;lt; &lt;a href="http://localhost:8080/web/guest/home:2:30313"&gt;http://localhost:8080/web/guest/home:2:30313&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I added a simple Maven project for testing.&lt;/p&gt;
&lt;p&gt;Does anyone else use successfully the DocumentViewer extension
  with Liferay 7?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Ingo &lt;/p&gt;</summary>
    <dc:creator>Ingo Schildmann</dc:creator>
    <dc:date>2018-07-10T13:05:57Z</dc:date>
  </entry>
</feed>
