Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
David Matrai
Convo Scope
21 de Setembro de 2012 13:07
Resposta

David Matrai

Ranking: New Member

Mensagens: 12

Data de entrada: 1 de Fevereiro de 2012

Mensagens recentes

Can Conversational Scoped beans be used in a liferay portal ??
Neil Griffin
RE: Convo Scope
25 de Setembro de 2012 09:01
Resposta

Neil Griffin

LIFERAY STAFF

Ranking: Liferay Legend

Mensagens: 1995

Data de entrada: 26 de Julho de 2005

Mensagens recentes

At this time CDI (Weld) is not yet working with portlets. See FACES-1211 for more info. You might want to try MyFaces Orchestra and see if that works.
Satya Ranjan
RE: Convo Scope
19 de Novembro de 2012 01:22
Resposta

Satya Ranjan

Ranking: New Member

Mensagens: 1

Data de entrada: 7 de Julho de 2011

Mensagens recentes

Hi Neil,

I am trying to convert a JSF 2.0 application (deployed on JBoss 5) to portlet in Liferay. This application is using MyFaces orchestra for conversational scope. The first page of the application is working fine. But while clicking on any h:commandLink, it fails by throwing NullPointerException from bridge. I am using portlet-faces-bridge v2.0 .

Caused by: java.lang.NullPointerException
at org.portletfaces.bridge.BridgeImpl.indicateNamespacingToConsumers(BridgeImpl.java:594)
at org.portletfaces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:151)

Could you please let me know if the portlet faces bridge works with orchestra ?

Thanks for your help.

- Satya
Neil Griffin
RE: Convo Scope
20 de Novembro de 2012 09:27
Resposta

Neil Griffin

LIFERAY STAFF

Ranking: Liferay Legend

Mensagens: 1995

Data de entrada: 26 de Julho de 2005

Mensagens recentes

When you get a chance, I recommend upgrading to Liferay Faces Bridge because PortletFaces Bridge is no longer supported. Having said that, I've never tried Orchestra in a portlet before. It looks like Orchestra has a PortletExternalContextWrapper class which indicates that the MyFaces team has taken portlets into consideration, so there *might* be some reason to hope. Please let me know if you see the same problem after upgrading.