Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Jaber C. Mourad
How to solve liferay and richefaces javascript conflicts ?
April 2, 2010 2:19 AM
Answer

Jaber C. Mourad

Rank: Junior Member

Posts: 89

Join Date: February 19, 2010

Recent Posts

Hi,

I manage to integrate JSF/Richefaces(3.3.2)/JBoss-portlet-bridge(2.0.0-CR1) and liferay 5.2.3.

My portlet works well but liferay doesn't emoticon !

I'm using the suggestionbox component, I've got my suggestions but nothing works in javascript animated things from liferay (no more user menu, can't drag and drop portlet...)...

I think there are some conflicts between JQuery from liferay and from RicheFaces !

I tryied to desactivate javascript loading from richfaces changing org.richfaces.LoadScriptStrategy to NONE...
My portlet lost it's suggestion box and skin of some components (richefaces complains about it !), but liferay works normally again...

The firefox JS console show an error :
1
2Error : inputs.livequery is not a function
3Source : http://localhost:8080/html/js/liferay/util.js?t=1242757004000
4Line : 72

and some repeated warnings :
1
2Warning : reference to undefined property jQuery.cache[id][name]
3Source : http://localhost:8080/html/js/jquery/jquery.js?t=1242757004000
4Line : 679


I have tryed the exadel demo (http://www.exadel.com/web/portal/download/liferaydemo) and it works !

It use jboss-portlet-bridge V1.0.0Snapshot and Richfaces 3.3.1Snapshot... So I try to downgrade my projet to jboss-portlet-bridge 1.0.0.CR3 and RichFaces 3.3.1.GA (available on jboss maven repo) and it is worse, I've got an NPE directly in jboss-portlet-bridge...

Is there anyone have a solution to make both works together emoticon !

Regards
Jaber C. Mourad
RE: How to solve liferay and richefaces javascript conflicts ?
April 2, 2010 4:58 AM
Answer

Jaber C. Mourad

Rank: Junior Member

Posts: 89

Join Date: February 19, 2010

Recent Posts

Hi,

Some news, I tried to deploy my application on liferay 6.0.0, it works as expected but slooooowly emoticon !...

I supposed JQuery was updated is v6 !

As I'm not targetting lf 6 for the moment, I'm still looking for a solution...

Regards

Mourad
Koen Cleynhens
RE: How to solve liferay and richefaces javascript conflicts ?
September 2, 2010 11:59 PM
Answer

Koen Cleynhens

Rank: Junior Member

Posts: 83

Join Date: February 23, 2010

Recent Posts

Did you find a solution?

I have the same error in my Javascript "inputs.livequery is not a function"
Bob Dietrich
RE: How to solve liferay and richefaces javascript conflicts ?
September 3, 2010 8:34 AM
Answer

Bob Dietrich

Rank: Regular Member

Posts: 221

Join Date: May 15, 2005

Recent Posts

Srikanth Reddy Sanivarapu
RE: How to solve liferay and richefaces javascript conflicts ?
July 16, 2011 3:38 AM
Answer

Srikanth Reddy Sanivarapu

Rank: Regular Member

Posts: 193

Join Date: November 14, 2008

Recent Posts

Hi All,

Anyone has any solution or fix for this problem as I am struggling a lot for solution.
I am getting the javascript errors:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.6; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; ShopperReports 3.0.491.0; SRS_IT_E8790574B1765B563EA096; MS-RTC LM 8)
Timestamp: Sat, 16 Jul 2011 10:36:52 UTC


Message: Object doesn't support this property or method
Line: 1
Char: 140014
Code: 0
URI: http://localhost:8080/html/js/everything.jsp?browserId=ie&themeId=classic&colorSchemeId=01&minifierType=js&minifierBundleId=javascript.everything.files&t=1242280472000


Message: Object doesn't support this property or method
Line: 1
Char: 171448
Code: 0
URI: http://localhost:8080/html/js/barebone.jsp?browserId=ie&themeId=classic&colorSchemeId=01&minifierType=js&minifierBundleId=javascript.barebone.files&t=1242280472000


Message: Object doesn't support this property or method
Line: 1
Char: 164973
Code: 0
URI: http://localhost:8080/html/js/barebone.jsp?browserId=ie&themeId=classic&colorSchemeId=01&minifierType=js&minifierBundleId=javascript.barebone.files&t=1242280472000

Any help is much appreciated. Thanks.

Regards,
Srik
Srikanth Reddy Sanivarapu
RE: How to solve liferay and richefaces javascript conflicts ?
October 9, 2011 1:52 AM
Answer

Srikanth Reddy Sanivarapu

Rank: Regular Member

Posts: 193

Join Date: November 14, 2008

Recent Posts

Can anyone suggest on this issue?. Thanks.emoticon
Pierre Legrand
RE: How to solve liferay and richefaces javascript conflicts ?
December 14, 2011 12:54 AM
Answer

Pierre Legrand

Rank: New Member

Posts: 1

Join Date: December 14, 2011

Recent Posts

Hi,

Did you manage to get this issue solved ?
I'm getting the same error :

On Internet Explorer:

Message: Object doesn't support this property or method
Line: 1
Char: 171448
Code: 0 URI: http://myserver/home

Is there a solution ?

Thanks
Srikanth Reddy Sanivarapu
RE: How to solve liferay and richefaces javascript conflicts ?
February 16, 2012 1:49 AM
Answer

Srikanth Reddy Sanivarapu

Rank: Regular Member

Posts: 193

Join Date: November 14, 2008

Recent Posts

Pierre Legrand:
Hi,

Did you manage to get this issue solved ?
I'm getting the same error :

On Internet Explorer:

Message: Object doesn't support this property or method
Line: 1
Char: 171448
Code: 0 URI: http://myserver/home

Is there a solution ?

Thanks


No, I am not able to resolve this issue and I think this is new problem to all or not interested to reply? Thanks.

Regards,
Srik