Foros de discusión

Using PortletFaces Bridge with non-ICEFaces Components

PortletFaces Community Member, modificado hace 12 años.

Using PortletFaces Bridge with non-ICEFaces Components

Regular Member Mensajes: 199 Fecha de incorporación: 3/04/12 Mensajes recientes
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 hace 12 años.

RE: Using PortletFaces Bridge with non-ICEFaces Components

New Member Mensajes: 2 Fecha de incorporación: 15/09/10 Mensajes recientes
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 hace 12 años.

RE: Using PortletFaces Bridge with non-ICEFaces Components

New Member Mensajes: 2 Fecha de incorporación: 15/09/10 Mensajes recientes
attached here image of libraries list on JBoss 5 GA.
thumbnail
Neil Griffin, modificado hace 12 años.

RE: Using PortletFaces Bridge with non-ICEFaces Components

Liferay Legend Mensajes: 2655 Fecha de incorporación: 27/07/05 Mensajes recientes
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 hace 11 años.

RE: Using PortletFaces Bridge with non-ICEFaces Components

New Member Mensaje: 1 Fecha de incorporación: 3/02/11 Mensajes recientes
Thanks Neil, you are doing really great, appreciates you and your way towards JSF2.
thumbnail
Neil Griffin, modificado hace 11 años.

RE: Using PortletFaces Bridge with non-ICEFaces Components

Liferay Legend Mensajes: 2655 Fecha de incorporación: 27/07/05 Mensajes recientes
Thank you for the kind words. emoticon