掲示板
[solved] Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
9年前 に Christophe Noel によって更新されました。
[solved] Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
Junior Member 投稿: 99 参加年月日: 12/09/28 最新の投稿
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
9年前 に Christophe Noel によって更新されました。
RE: Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
Junior Member 投稿: 99 参加年月日: 12/09/28 最新の投稿
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 ?
9年前 に Juan Gonzalez によって更新されました。
RE: Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
Liferay Legend 投稿: 3089 参加年月日: 08/10/28 最新の投稿
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
9年前 に Christophe Noel によって更新されました。
RE: Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
Junior Member 投稿: 99 参加年月日: 12/09/28 最新の投稿
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
9年前 に Juan Gonzalez によって更新されました。
RE: Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
Liferay Legend 投稿: 3089 参加年月日: 08/10/28 最新の投稿
Glad it worked!
Thanks for confirming and using Liferay Faces .
Thanks for confirming and using Liferay Faces .
9年前 に Neil Griffin によって更新されました。
RE: Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
Liferay Legend 投稿: 2655 参加年月日: 05/07/27 最新の投稿
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
9年前 に Christophe Noel によって更新されました。
RE: Multiple PrimeFace 5.0 portlets fails (Liferay 6.2)
Junior Member 投稿: 99 参加年月日: 12/09/28 最新の投稿
Hello Neil,
Oops, yes. Thanks, I fix this in my previous message, sorry.
Oops, yes. Thanks, I fix this in my previous message, sorry.