Jarod Liu <[email protected]> writes:

> I found flot generated the following code:
>       <script type="text/javascript" src="/classpath/flot/
> jquery.flot.js"></script>
>     <!--[if IE]><script language="javascript" type="text/javascript"
> src="/classpath/flot/excanvas.pack.js"></script><![endif]-->
>       <link href="/classpath/flot/jquery.flot.css" type="text/css"
> rel="stylesheet" />
>
> but the these files not exists after jetty:run.
>
> I can access the /classpath/jquery.js.(and other .js in the webkit
> jar)
>
> now, to make flot work, I have to copy these .js files to /static and
> link to these copy on the page

You need to add a call to Flot.init in Boot to make the classpath
resources available...

/Jeppe

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.

Reply via email to