jqPlot and Icefaces 4.2.0  XML
Forum Index -> General Help
Author Message

Joined: 08/Dec/2016 01:05:58
Messages: 5

I've recently upgraded to Icefaces 4.2.0, and have discovered that jqPlot has stopped working. I'm not using the ace:chart, but have made a custom implementation of jqplot. This worked fine in Icefaces 4.1.1 but broke in Icefaces 4.2.0

This simple example doesn't work with Icefaces 4.2.0
 <html xmlns="http://www.w3.org/1999/xhtml"
     <f:view contentType="text/html">
             <h:outputScript name="jquery.min.js" library="js" target="head"/>
             <h:outputScript name="jquery.jqplot.min.js" library="js" target="head"/>
             <h:outputStylesheet name="jquery.jqplot.css" library="css"/>
                 <script type="text/javascript">
                     $(document).ready(function () {
                         $.jqplot('chartdiv', [[[1, 2], [3, 5.12], [5, 13.1], [7, 33.6], [9, 85.9], [11, 219.9]]]);
                 <div id="chartdiv" style="height:400px;width:300px; "></div>

The code works just fine if I downgrade to Icefaces 4.1.1.

Can you give a clue to why $.jqplot is no longer working?

Kind regards
Kenneth Vindum
[Thumb - Icefaces 4.2.0 error.PNG]
 Filename Icefaces 4.2.0 error.PNG [Disk] Download
 Description JavaScript error message
 Filesize 31 Kbytes
 Downloaded:  1444 time(s)

Kind regards
Kenneth Vindum

Joined: 21/Mar/2007 00:00:00
Messages: 177

Hi Kenneth,

I would need to see the entire generated markup for that test page to see what ICEfaces resources are being loaded and which aren't. It's hard to tell right now.


Art Zambrano
ICEsoft Technologies Inc.
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team