problem to start with jsflot

27 views
Skip to first unread message

sky delta

unread,
Oct 24, 2009, 9:18:38 AM10/24/09
to JSFlot JavaServer Faces JSF Chart Library
Hi,

i'm just start to use jsflot and have problem to get it running , in
my project i use facelet/richfaces ,

so in my test page i use the exact code as the index page in
http://jsflotdemo.haagen.name/ with the basic graph

in my template page i add the following :

<a4j:loadScript src="/reflection.js"></a4j:loadScript>
<jsflot:resources excludes="prototype" debug="true"/>


i add the bean and the face-config that goes with it.

but when my siteweb load , i mean the the first page by the
template is called :

in firebug i got

Class is not defined
flotr.js()flotr.js (line 279)
[Break on this error] Flotr.Graph = Class.create({\r\nflotr.js (line
279)

and in my page that i called , the graph doesn't appear

NB: my test web page => http://pastebin.com/m40c2822b


and thanks a lot

sky delta

unread,
Oct 25, 2009, 1:20:22 PM10/25/09
to JSFlot JavaServer Faces JSF Chart Library
hi again , i add jquery.noConlict() , now the graph seems working but
stillg have the firebug error

any
ideas

Joachim H. Skeie

unread,
Nov 4, 2009, 1:38:01 AM11/4/09
to JSFlot JavaServer Faces JSF Chart Library
Just out of interest, what is your contextPath in your web.xml ?
Reply all
Reply to author
Forward
0 new messages