留言板

Primefaces dynamic p:graphicImage in Liferay portlet

JIna :),修改在7 年前。

Primefaces dynamic p:graphicImage in Liferay portlet

New Member 帖子: 22 加入日期: 13-10-16 最近的帖子
I do need to display images from database in my portlet. It is developed using primefaces 5.3. When I tried to use p:graphicImage and org.primefaces.model.StreamedContent class instance combination the image is not displayed. I checked the src value of generated html image element and tried to open it in seperate window - it is empty. I guess Liferay (Liferay Bridge) influences that.
Any ideas what should be done to get correct resource path for Liferay?

Thanks in advance

Liferay 6.2 + Primefaces 5.3 + Liferay Bridge 3.2.4-ga5
thumbnail
Kyle Joseph Stiemann,修改在7 年前。

RE: Primefaces dynamic p:graphicImage in Liferay portlet

Liferay Master 帖子: 760 加入日期: 13-1-14 最近的帖子
Hi JIna,
Can you try the latest version of the bridge? If you go to liferayfaces.org, you can use the Archetype Portlet to determine which versions of Liferay Faces jars you should be using.

- Kyle