Foren
[solved] Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
Christophe Noel, geändert vor 9 Jahren.
[solved] Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
Junior Member Beiträge: 99 Beitrittsdatum: 28.09.12 Neueste Beiträge
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, geändert vor 9 Jahren.
RE: Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
Junior Member Beiträge: 99 Beitrittsdatum: 28.09.12 Neueste Beiträge
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, geändert vor 9 Jahren.
RE: Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
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, geändert vor 9 Jahren.
RE: Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
Junior Member Beiträge: 99 Beitrittsdatum: 28.09.12 Neueste Beiträge
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, geändert vor 9 Jahren.
RE: Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
Glad it worked!
Thanks for confirming and using Liferay Faces .
Thanks for confirming and using Liferay Faces .
Neil Griffin, geändert vor 9 Jahren.
RE: Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
Liferay Legend Beiträge: 2655 Beitrittsdatum: 27.07.05 Neueste Beiträge
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, geändert vor 9 Jahren.
RE: Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
Junior Member Beiträge: 99 Beitrittsdatum: 28.09.12 Neueste Beiträge
Hello Neil,
Oops, yes. Thanks, I fix this in my previous message, sorry.
Oops, yes. Thanks, I fix this in my previous message, sorry.