Fórum

Using PortletFaces Bridge with non-ICEFaces Components

PortletFaces Community Member, modificado 12 Anos atrás.

Using PortletFaces Bridge with non-ICEFaces Components

Regular Member Postagens: 199 Data de Entrada: 03/04/12 Postagens Recentes
I have a working portlet using Trinidad 2.0 components, running through the Apache MyFaces PortletBridge 3.0 and using MyFaces 2.0 as the JSF Implementation. The problem is that the chart itself does not display, and there are no error messages.

I took the portlet and turned it into a stand alone application and it worked fine, so the difference is clearly in making it a portlet in Liferay 6. Why am I posting this here? Because I'm wondering if PortletFaces Bridge would be a better choice. How tightly coupled is PortletFaces bridge to ICEFaces? Should I be able to use it with a Trinidad control?

It's entirely possible that my problem is simply that PortletBridge 3.0 is an Alpha version at this time, so if I want to stick with JSF 2.0 (Which I do) then I will need to use PortletFaces Bridge. I just hope I can get it to work with the Trinidad chart component.
Muhammad Sameer Ikram, modificado 12 Anos atrás.

RE: Using PortletFaces Bridge with non-ICEFaces Components

New Member Postagens: 2 Data de Entrada: 15/09/10 Postagens Recentes
I am trying to configure JSF 2 with MyFaces 2.1.1 on liferay 6.0.5. But facing some exception about {"Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory"}, can you help me?
Muhammad Sameer Ikram, modificado 12 Anos atrás.

RE: Using PortletFaces Bridge with non-ICEFaces Components

New Member Postagens: 2 Data de Entrada: 15/09/10 Postagens Recentes
attached here image of libraries list on JBoss 5 GA.
thumbnail
Neil Griffin, modificado 12 Anos atrás.

RE: Using PortletFaces Bridge with non-ICEFaces Components

Liferay Legend Postagens: 2655 Data de Entrada: 27/07/05 Postagens Recentes
According to this blog post by Faisal Basra, this happens when the Mojara and MyFaces JARs are in your classpath.

From the PNG screenshot you provided, I would recommend removing the following JARs and then restarting your JBoss5 app server:
  • jsf-api-2.1.3-b02.jar
  • jsf-facelets.jar (this is old -- only applies for JSF 1.2 and not JSF 2.x)
  • jsf-impl-2.1.3-b02.jar
Muhammad Sameer Ikram, modificado 11 Anos atrás.

RE: Using PortletFaces Bridge with non-ICEFaces Components

New Member Mensagem: 1 Data de Entrada: 03/02/11 Postagens Recentes
Thanks Neil, you are doing really great, appreciates you and your way towards JSF2.
thumbnail
Neil Griffin, modificado 11 Anos atrás.

RE: Using PortletFaces Bridge with non-ICEFaces Components

Liferay Legend Postagens: 2655 Data de Entrada: 27/07/05 Postagens Recentes
Thank you for the kind words. emoticon