ICEfaces
  1. ICEfaces
  2. ICE-8369

ace:chart - Issues when dynamically including chart on page

    Details

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

        Activity

        Hide
        Arran Mccullough added a comment - - edited

        Attached test case that shows issue. The code for this test case is the exact same that's available in the showcase demo.

        Steps:

        • Load welcomeICEfaces.jsf
        • Click on Load Chart Page button.
        Show
        Arran Mccullough added a comment - - edited Attached test case that shows issue. The code for this test case is the exact same that's available in the showcase demo. Steps: Load welcomeICEfaces.jsf Click on Load Chart Page button.
        Hide
        Nils Lundquist added a comment -

        Revision #30065
        Committed by nils.lundquist
        Moments ago
        ICE-8369 - Moved from MandatoryResourceComponent annotations from Meta to Renderers.

        Show
        Nils Lundquist added a comment - Revision #30065 Committed by nils.lundquist Moments ago ICE-8369 - Moved from MandatoryResourceComponent annotations from Meta to Renderers.

          People

          • Assignee:
            Nils Lundquist
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: