Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.1-Beta2
-
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.
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
- blocks
-
ICE-7502 Slider rail is not rendering or disappearing under certain circumstances.
- Closed
Attaching screenshot that shows accordion rendering incorrectly and the corresponding JavaScript error.