ICEfaces
  1. ICEfaces
  2. ICE-7515

MyFaces 2: two copies of jquery.js are downloaded when ace:ajax tag is included

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1-Beta2
    • Fix Version/s: 3.0.RC1, 3.0
    • Component/s: ACE-Components, Framework
    • Labels:
      None
    • Environment:
      ICEfaces 3 ACE MyFaces 2
    • Assignee Priority:
      P1

      Description

      As of revision 26558, there is an issue that causes a problem running ACE Showcase with MyFaces.

      You can build with MyFaces using: ant -Dmyfaces='true' clean servlet-profile

      In that revision the panel used to show the source code was modified to remove a checkbox with f:ajax and replaced with a panel that uses ace:ajax. The problem manifests as a JavaScript error and the example content not rendering properly. For example, the ace:accordion looks like the attached screenshot. Removing the ace:ajax tag from the source code panel makes the issue go away.

      The problem looks like it stems from the fact that the 2 copied of jquery.js are loaded - one before the component's script and one after. Removing the ace:ajax tag stops the extra request for jquery.js. The problem also doesn't happen with Mojarra.

        Issue Links

          Activity

            People

            • Assignee:
              Mircea Toma
              Reporter:
              Deryk Sinotte
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: