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

          Deryk Sinotte created issue -
          Deryk Sinotte made changes -
          Field Original Value New Value
          Attachment ace-showcase-myfaces.png [ 13830 ]
          Deryk Sinotte made changes -
          Salesforce Case []
          Assignee Priority P1
          Assignee Mircea Toma [ mircea.toma ]
          Ken Fyten made changes -
          Link This issue blocks ICE-7502 [ ICE-7502 ]
          Mircea Toma made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Mircea Toma made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Fix Version/s 3.0 [ 10241 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: