Fórumok
[solved] Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
Christophe Noel, módosítva 9 év-val korábban
[solved] Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
Junior Member Bejegyzések: 99 Csatlakozás dátuma: 2012.09.28. Legújabb bejegyzések
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, módosítva 9 év-val korábban
RE: Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
Junior Member Bejegyzések: 99 Csatlakozás dátuma: 2012.09.28. Legújabb bejegyzések
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, módosítva 9 év-val korábban
RE: Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
Liferay Legend Bejegyzések: 3089 Csatlakozás dátuma: 2008.10.28. Legújabb bejegyzések
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, módosítva 9 év-val korábban
RE: Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
Junior Member Bejegyzések: 99 Csatlakozás dátuma: 2012.09.28. Legújabb bejegyzések
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, módosítva 9 év-val korábban
RE: Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
Liferay Legend Bejegyzések: 3089 Csatlakozás dátuma: 2008.10.28. Legújabb bejegyzések
Glad it worked!
Thanks for confirming and using Liferay Faces .
Thanks for confirming and using Liferay Faces .
Neil Griffin, módosítva 9 év-val korábban
RE: Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
Liferay Legend Bejegyzések: 2655 Csatlakozás dátuma: 2005.07.27. Legújabb bejegyzések
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, módosítva 9 év-val korábban
RE: Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
Junior Member Bejegyzések: 99 Csatlakozás dátuma: 2012.09.28. Legújabb bejegyzések
Hello Neil,
Oops, yes. Thanks, I fix this in my previous message, sorry.
Oops, yes. Thanks, I fix this in my previous message, sorry.