Forums de discussion

Primefaces dynamic p:graphicImage in Liferay portlet

JIna :), modifié il y a 7 années.

Primefaces dynamic p:graphicImage in Liferay portlet

New Member Publications: 22 Date d'inscription: 16/10/13 Publications récentes
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, modifié il y a 7 années.

RE: Primefaces dynamic p:graphicImage in Liferay portlet

Liferay Master Publications: 760 Date d'inscription: 14/01/13 Publications récentes
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