Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Liferay 5.2.3 + Vaadin 6
I have installed Vaadin 6 in Liferay 5.2.3. When I install a very simple Vaadin 6 portlet the Liferay's menu stop working.
The problem is that when the mouse is over a Liferay's menu, it isn't shown (should appears a submenu).
It looks like the vaadin is overriden the Liferay event that shows the submenus...
Can anyone tell me any tip about how to restore these events?? (or maybe where can I found some documents about how the liferay uses the JQuery for the User Interface)
The problem is that when the mouse is over a Liferay's menu, it isn't shown (should appears a submenu).
It looks like the vaadin is overriden the Liferay event that shows the submenus...
Can anyone tell me any tip about how to restore these events?? (or maybe where can I found some documents about how the liferay uses the JQuery for the User Interface)
Hmm, I'm not sure that Vaadin6 is compatible with Liferay 5.2.3. I mean, seriously, that version is what, almost 5 years gone now?
Vaadin 6 is compatible width Liferay 5.2.3.
It is working with vaadin 6.1.1, Liferay 5.2.3 and tomcat 6 (following the intructions here Running Vaadin MailPortlet in Liferay 5.2.3)
The problem is when I try to update to the last 6 version (6.8.12), the javascript event over in the Liferay´s menu is not working (function hoverIntent of jquery).
I checked the version of the jquery in dock.js (adding alert('Liferay.Dock:' + jQuery().jquery); in init function), where the event is registered and it´s ok (version 1.2.6). The events are registered for the menu, but it´s not working.
Any idea?
Thanks in advance!!
It is working with vaadin 6.1.1, Liferay 5.2.3 and tomcat 6 (following the intructions here Running Vaadin MailPortlet in Liferay 5.2.3)
The problem is when I try to update to the last 6 version (6.8.12), the javascript event over in the Liferay´s menu is not working (function hoverIntent of jquery).
I checked the version of the jquery in dock.js (adding alert('Liferay.Dock:' + jQuery().jquery); in init function), where the event is registered and it´s ok (version 1.2.6). The events are registered for the menu, but it´s not working.
Any idea?
Thanks in advance!!
Here's the thing... Liferay 5 is based on jQuery, but Liferay 6 is based on AUI. When the underlying JS framework changed, Vaadin would have had to change their code to work to register event handlers and the like...
The latest version of Vaadin certainly works under Liferay 6 (I'm using it on my site), but I doubt that it would work under 5 because of the JS changes.
If 6.1.1 works and you want a newer version, you're going to have to increment slowly to find the last version which supports Liferay 5 (I think Liferay 6 support came in around version 6.6 line of Vaadin).
The latest version of Vaadin certainly works under Liferay 6 (I'm using it on my site), but I doubt that it would work under 5 because of the JS changes.
If 6.1.1 works and you want a newer version, you're going to have to increment slowly to find the last version which supports Liferay 5 (I think Liferay 6 support came in around version 6.6 line of Vaadin).