Foros de discusión

Primefaces dynamic p:graphicImage in Liferay portlet

JIna :), modificado hace 7 años.

Primefaces dynamic p:graphicImage in Liferay portlet

New Member Mensajes: 22 Fecha de incorporación: 16/10/13 Mensajes recientes
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, modificado hace 7 años.

RE: Primefaces dynamic p:graphicImage in Liferay portlet

Liferay Master Mensajes: 760 Fecha de incorporación: 14/01/13 Mensajes recientes
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