Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.1.0.RC1
-
Fix Version/s: 3.1
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Firefox, IE, ICEfaces 3.1.0 BETA2 06282012
-
Assignee Priority:P1
Description
When dynamically adding an ace:chart to the page, vie a ui:include for example. Various issues can be seen depending on the browser:
IE - When the content that has the chart is includes a JavaScript error is thrown: 'ice.ace.jq.jqplot.CategoryAxisRenderer' is null or not an object. The chart does not display once the error is thrown. A browser refresh does resolve the issue.
Firefox - Similar behaviour to IE but a JavaScript error is not thrown. The chart does not display and a full browser refresh is required.
IE - When the content that has the chart is includes a JavaScript error is thrown: 'ice.ace.jq.jqplot.CategoryAxisRenderer' is null or not an object. The chart does not display once the error is thrown. A browser refresh does resolve the issue.
Firefox - Similar behaviour to IE but a JavaScript error is not thrown. The chart does not display and a full browser refresh is required.
Attached test case that shows issue. The code for this test case is the exact same that's available in the showcase demo.
Steps: