ICEfaces
  1. ICEfaces
  2. ICE-7176

Revert ace: library to YUI 2.8.x library only (remove YUI 3.x dependencies)

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major 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.



        Issue Links

          Activity

          Hide
          Ken Fyten added a comment -

          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:

          • tabSet
          • pushButton, checkboxButton, and linkButton

          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/.

          Show
          Ken Fyten added a comment - 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: tabSet pushButton, checkboxButton, and linkButton 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/.
          Hide
          Arturo Zambrano added a comment -

          Reverted the three button components, and tabset to YUI 2.8.
          Re-implemented slider using jQuery. There are still a few outstanding issues documented in ICE-7209.
          Re-implemented animations using jQuery. There are still a few outstanding issues documented in ICE-7208.

          Show
          Arturo Zambrano added a comment - Reverted the three button components, and tabset to YUI 2.8. Re-implemented slider using jQuery. There are still a few outstanding issues documented in ICE-7209 . Re-implemented animations using jQuery. There are still a few outstanding issues documented in ICE-7208 .

            People

            • Assignee:
              Arturo Zambrano
              Reporter:
              Ken Fyten
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: