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

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


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
Code:
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:h="http://java.sun.com/jsf/html"
       xmlns:f="http://java.sun.com/jsf/core">
     <f:view contentType="text/html">
         <h:head>
             <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"/>
         </h:head>
         <h:body>
                 <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]]]);
                     });
                 </script>
                 <div id="chartdiv" style="height:400px;width:300px; "></div>
         </h:body>
     </f:view>
 </html>
 


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:  1402 time(s)


Kind regards
Kenneth Vindum
artzambrano

Joined: 21/Mar/2007 00:00:00
Messages: 175
Offline


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

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