ZK - Open Source Ajax Java FrameworkZK - Open Source Ajax Java Framework

Liferay 5.1.1 + ZK 3.0.7

Gordon
21 Aug 2008 15:47:14 GMT
21 Aug 2008 15:47:14 GMT

I'm upgrading from Liferay 4.2.2 + ZK 2.3 which worked together very well. With the new versions, it looks like there may be some conflicts - when ZK Portlets are loaded onscreen, Liferay loses all of its mouseover / Ajax functionality. The ZK Portlets themselves work fine.

Has anyone experienced any of these incompatibilities?

Thanks,
Gordon

Gordon
21 Aug 2008 21:57:16 GMT
21 Aug 2008 21:57:16 GMT

Digging a little deeper into what's changed between Liferay versions 4.2.2 to 5.1.1, it looks like they've revamped their Ajax front end using JQuery.
That being said, it looks like JQuery has a handy 'feature' which uses the '$ ' as a shortcut to 'jQuery'.
http://docs.jquery.com/Using_jQuery_with_Other_Libraries

At a glance, the Liferay rendering code is littered with references to jQuery via the '$' symbol. Is it possible that ZK makes reference to the $ in its code (possibly prototype.js), which somehow conflicts with Liferay?

Gordon
3 Sep 2008 14:37:21 GMT
3 Sep 2008 14:37:21 GMT

Update: Robbie has fixed this as of 09/03/2008. Thanks a bunch!