Details
-
Type: Bug
-
Status: Closed
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: 2.0-Beta1
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ICEfaces 2 ACE Liferay portlet 6
-
Affects:Compatibility/Configuration
Description
The new ACE components rely on YUI (both 2.8 and 3.1 currently). Liferay 6 has a UI layer called Alloy that is based on YUI 3.2. While it appears that YUI 2 and 3 can co-exist on a page, there currently appears to be a collision between the 2 different versions of YUI 3 when they are both loaded into the portal page. The initial rendering of the page dumps out an error to the JavaScript console of Firebug that says:
f.applyConfig is not a function
The Chrome JavaScript console supplies a stack trace:
Loading modules
barebone.jsp:1Uncaught TypeError: Object [object Object] has no method 'applyConfig'
YUI [barebone.jsp:1]
YUI [barebone.jsp:1]
ice.yui3.use [icefaces-2-ace:55]
(anonymous function) [icefaces-2-ace:83]
f.applyConfig is not a function
The Chrome JavaScript console supplies a stack trace:
Loading modules
barebone.jsp:1Uncaught TypeError: Object [object Object] has no method 'applyConfig'
YUI [barebone.jsp:1]
YUI [barebone.jsp:1]
ice.yui3.use [icefaces-2-ace:55]
(anonymous function) [icefaces-2-ace:83]
Issue Links
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion