Details
-
Type: Task
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.1-Beta
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ICEfaces 2.1, YUI 2.8, ACE
-
Assignee Priority:P1
Description
In order to avoid a YUI 3 version conflict between ICEface ace components and Liferay 6 (which uses YUI also), we need to remove our dependency on YUI 3. Since most new ace: components are leveraging jQuery and other JS libraries going forward, this seems technically feasible.
Pending review, the following ace: components will need to made to work exclusively with YUI 2.8:
- ace:tabSet (and sub components)
- ace:pushButton
- ace:linkButton
- ace:checkboxButton
- ace:contextMenu (?)
As part of this change, we also need to completely remove the usage of the YUI 3 loader (and YUI loader in general). Instead, we will have each component list their specific YUI dependencies like the ICEfaces 2.0 approach.
Ultimately, we want to distribute a reduce YUI 2.8 library that only contains the functions we require in a single file by leveraging the ACE generator's capability for merging js files.
Pending review, the following ace: components will need to made to work exclusively with YUI 2.8:
- ace:tabSet (and sub components)
- ace:pushButton
- ace:linkButton
- ace:checkboxButton
- ace:contextMenu (?)
As part of this change, we also need to completely remove the usage of the YUI 3 loader (and YUI loader in general). Instead, we will have each component list their specific YUI dependencies like the ICEfaces 2.0 approach.
Ultimately, we want to distribute a reduce YUI 2.8 library that only contains the functions we require in a single file by leveraging the ACE generator's capability for merging js files.
As part of this work we should also minimize the set of YUI 2.8 files that we are including in the ace jar to just those required by the remaining components that use YUI:
Currently the entire YUI 2.8 library is checked in under ace/component/resources/yui/2_8_2. Instead we should only include the required YUI files under ace/component/resources/icefaces.ice/yui/.