What steps will reproduce the problem?
1. JSF 2.0 + Richfaces 4 + jsflot project
2. Create a XHTML page with a chart
What is the expected output? What do you see instead?
A chart but nothing is rendered
What version of the product are you using? On what operating system?
Glassfish server, JSF 2.0, RichFaces 4.0, jsflot 0.7
My Web application is inside an EAR.
Please provide any additional information below.
Issue looks like this one: http://code.google.com/p/jsflot/issues/detail?id=1
Server seems to be not able to retrieve all jsflot script files:
<script type="text/javascript" src="/testApp/jsflot/dateformat.js.jsf">
<script type="text/javascript" src="/testApp/jsflot/flotr.js.jsf">
...
...
And in Glassfish log file, we can see for each *.js.jsf a warning:
com.sun.faces.context.FacesFileNotFoundException: /jsflot/canvastext.js.xhtml
Not Found in ExternalContext as a Resource
I have jsflot 0.7 in my classpath and into the WEB-INF/lib folder.
I tried to add the element below into my faces-config, but nothing changed:
<lifecycle>
<phase-listener>org.jsflot.renderkit.phaselistener.ResourceLoaderPhaseListener</phase-listener>
</lifecycle>
Do you have an idea?
I would be very grateful.
Original issue reported on code.google.com by jonat...@lm3labs.com on 11 Dec 2012 at 9:38
Original issue reported on code.google.com by
jonat...@lm3labs.com
on 11 Dec 2012 at 9:38