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.
Issue Links
Activity
Ken Fyten
created issue -
Ken Fyten
made changes -
Field | Original Value | New Value |
---|---|---|
Estimated Complexity | Medium | |
Salesforce Case | [] | |
Assignee Priority | P2 | |
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:slider - ace:menu (and subcomponents) Note that the ace:menu already uses YUI 2.8 code, so this library can be leveraged for the other components in a similar fashion. 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. |
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:slider - ace:menu (and subcomponents) Note that the ace:menu already uses YUI 2.8 code, so this library can be leveraged for the other components in a similar fashion. 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. |
Assignee | Arturo Zambrano [ artzambrano ] |
Ken Fyten
made changes -
Link | This issue depends on ICE-7177 [ ICE-7177 ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
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:slider - ace:menu (and subcomponents) Note that the ace:menu already uses YUI 2.8 code, so this library can be leveraged for the other components in a similar fashion. 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. |
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. |
Ken Fyten
made changes -
Salesforce Case | [] | |
Assignee Priority | P2 | P1 |
Arturo Zambrano
made changes -
Arturo Zambrano
made changes -
Ken Fyten
made changes -
Salesforce Case | [] | |
Fix Version/s | 2.1-Beta [ 10291 ] |
Arturo Zambrano
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Arturo Zambrano
made changes -
Ken Fyten
made changes -
Salesforce Case | [] | |
Security | Private [ 10001 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
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/.