Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Tom Vleminckx
Multi portlets on a page
12 de Outubro de 2011 06:33
Resposta

Tom Vleminckx

Ranking: Junior Member

Mensagens: 39

Data de entrada: 27 de Junho de 2011

Mensagens recentes

Hello,

I have two portlets in Liferay6.0.6 with primefaces3 and portletfaces-bridge2.0.1 performing their ajax call fine. If I add them both on the same page and click on one, the other one is broken??

I receive a ViewExpiredException on the second portlet ...

Anyone a suggestion ?
PortletFaces Community Member
RE: Multi portlets on a page
12 de Dezembro de 2011 22:22
Resposta

PortletFaces Community Member

Ranking: Regular Member

Mensagens: 201

Data de entrada: 2 de Abril de 2012

Mensagens recentes

Hi tom,

You are using primefaces component library means it will load all the resources (css and js) when the <h:head/> part is loaded.

If you have mutiple portlets in one page some of the resources is being loaded multiple times may be this is the problem problem the resources wont work for the second portlet the first portlet in the page only works fine. Try reordering portlets and referesh now the one present first in the page works fine.

So the solution that is provided is remove all <h:head/> tags and provide manual resource includes which is a very bad idea. some solution from PortletFaces Bridge is shortly expected as it will load all resources from <h:head/> or Primefaces has to take care.

If you find any solution please let me know.

Regards
Phani
Tom Vleminckx
RE: Multi portlets on a page
13 de Dezembro de 2011 01:32
Resposta

Tom Vleminckx

Ranking: Junior Member

Mensagens: 39

Data de entrada: 27 de Junho de 2011

Mensagens recentes

Yes,

But it seems to be fixed in primefaces 3RC1

So no more worries emoticon
PortletFaces Community Member
RE: Multi portlets on a page
13 de Dezembro de 2011 21:00
Resposta

PortletFaces Community Member

Ranking: Regular Member

Mensagens: 201

Data de entrada: 2 de Abril de 2012

Mensagens recentes

Oh ok

Thanks for the update i have been working on M3 and M4 from the past 3 months i haven't checked with primefaces website

Thanks
Phani
PortletFaces Community Member
RE: Multi portlets on a page
9 de Fevereiro de 2012 09:44
Resposta

PortletFaces Community Member

Ranking: Regular Member

Mensagens: 201

Data de entrada: 2 de Abril de 2012

Mensagens recentes

Tom Vleminckx:
Yes,

But it seems to be fixed in primefaces 3RC1

So no more worries emoticon


I'm curious as to why you say this. My issues with multiple PrimeFaces portlets seem to persist even with PrimeFaces 3.1. I have issues with p:lightBox not working, an AJAX event in portlet A triggering p:ajaxStatus in portlet B, and AJAX not working in general. This thread on the PF forums seems to indicate the issue is with the bridge and not PF.
Tom Vleminckx
RE: Multi portlets on a page
9 de Fevereiro de 2012 09:58
Resposta

Tom Vleminckx

Ranking: Junior Member

Mensagens: 39

Data de entrada: 27 de Junho de 2011

Mensagens recentes

It's indeed not fixed...

I hope they will fix this soon because it's really a blocker.
Neil Griffin
RE: Multi portlets on a page
10 de Maio de 2012 14:27
Resposta

Neil Griffin

LIFERAY STAFF

Ranking: Liferay Legend

Mensagens: 2335

Data de entrada: 26 de Julho de 2005

Mensagens recentes

Please refer to FACES-1216 for more information.
Neil Griffin
RE: Multi portlets on a page
4 de Setembro de 2012 12:31
Resposta

Neil Griffin

LIFERAY STAFF

Ranking: Liferay Legend

Mensagens: 2335

Data de entrada: 26 de Julho de 2005

Mensagens recentes

I just committed a Liferay vendor-specific fix for FACES-1216. Please give it a try as soon as you can. You can download 3.1.0-ga1-SNAPSHOT artifacts from the snapshot repository.