Forums de discussion
[solved] Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
Christophe Noel, modifié il y a 9 années.
[solved] Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
Junior Member Publications: 99 Date d'inscription: 28/09/12 Publications récentes
Dear all,
I noticed today that there is an issue when deploying multiple portlets on a same page when using PrimeFaces 5.0.
The Javascript error (b is not defined - firefox, debug is not defined - chrome) is related to the PrimeFaces function b.debug("PrimeFaces instance already loaded").
I'm using:
Portlets work fine individually.
Problem is solved when going back to PrimeFaces 4.0. (--> false!)
Would this be an issue related to the Liferay Bridge 3.2.4 ?
Regards
I noticed today that there is an issue when deploying multiple portlets on a same page when using PrimeFaces 5.0.
The Javascript error (b is not defined - firefox, debug is not defined - chrome) is related to the PrimeFaces function b.debug("PrimeFaces instance already loaded").
I'm using:
- Liferay 6.2 (bundle with Tomcat)
- Liferay Faces Bridge 3.2.4-ga5
Portlets work fine individually.
Would this be an issue related to the Liferay Bridge 3.2.4 ?
Regards
Christophe Noel, modifié il y a 9 années.
RE: Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
Junior Member Publications: 99 Date d'inscription: 28/09/12 Publications récentes
Errata: it seems all my resource files are loaded twice...
Mmmh I must have forgotten something to prevent this behaviour ?
Mmmh I must have forgotten something to prevent this behaviour ?
Juan Gonzalez, modifié il y a 9 années.
RE: Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
Liferay Legend Publications: 3089 Date d'inscription: 28/10/08 Publications récentes
Hi Christophe,
can you check if this property works for you?:
https://www.liferay.com/community/forums/-/message_boards/message/41164830
can you check if this property works for you?:
https://www.liferay.com/community/forums/-/message_boards/message/41164830
Christophe Noel, modifié il y a 9 années.
RE: Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
Junior Member Publications: 99 Date d'inscription: 28/09/12 Publications récentes
Thanks Juan,
You went too fast, I was just trying that solution, and worked for me.
Thanks very much for this really quick support.
Note for others that I have simply disabled the parallel rendering activated by default, which prevent Liferay Faces from removing the duplicated libraries.
More information on liferay issue 1773.
Fix --> in portal-ext.properties, add the following code (edited):
You went too fast, I was just trying that solution, and worked for me.
Thanks very much for this really quick support.
Note for others that I have simply disabled the parallel rendering activated by default, which prevent Liferay Faces from removing the duplicated libraries.
More information on liferay issue 1773.
Fix --> in portal-ext.properties, add the following code (edited):
layout.parallel.render.enable=false
Juan Gonzalez, modifié il y a 9 années.
RE: Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
Liferay Legend Publications: 3089 Date d'inscription: 28/10/08 Publications récentes
Glad it worked!
Thanks for confirming and using Liferay Faces .
Thanks for confirming and using Liferay Faces .
Neil Griffin, modifié il y a 9 années.
RE: Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
Liferay Legend Publications: 2655 Date d'inscription: 27/07/05 Publications récentes
Hi Christophe,
Did you mean to write "false" instead of "true", like this:
Kind Regards,
Neil
Did you mean to write "false" instead of "true", like this:
layout.parallel.render.enable=false
Kind Regards,
Neil
Christophe Noel, modifié il y a 9 années.
RE: Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
Junior Member Publications: 99 Date d'inscription: 28/09/12 Publications récentes
Hello Neil,
Oops, yes. Thanks, I fix this in my previous message, sorry.
Oops, yes. Thanks, I fix this in my previous message, sorry.