JSFlot 0.7.0 is not working with RichFaces4 and JSF2.0.4

116 views
Skip to first unread message

anujsays

unread,
Apr 10, 2011, 8:04:05 AM4/10/11
to JSFlot JavaServer Faces JSF Chart Library
Hi All,

I am trying JSFlot 0.7.0 with RichFaces4 and JSF 2.0.4. It used to
work with RichFaces 3 and JSF 2 but somehow I am not able to get it
working with RichFaces4 project. I have the jsflot JAR in WEB-INF/lib
but still looks like it is not able to find it. I see these warning
messages-

2011-04-10 13:24:43.518::WARN: /MyApp/jsflot/
prototype-1.6.0.2.js.jsf: java.io.F
ileNotFoundException: /jsflot/prototype-1.6.0.2.js.xhtml Not Found in
ExternalContext as a Resource
2011-04-10 13:24:43.541::WARN: /MyApp/jsflot/canvastext.js.jsf:
java.io.FileNotF
oundException: /jsflot/canvastext.js.xhtml Not Found in
ExternalContext as a Resource
2011-04-10 13:24:43.546::WARN: /MyApp/jsflot/canvas2image.js.jsf:
java.io.FileNo
tFoundException: /jsflot/canvas2image.js.xhtml Not Found in
ExternalContext as a Resource
2011-04-10 13:24:43.552::WARN: /MyApp/jsflot/flotr.js.jsf:
java.io.FileNotFoundE
xception: /jsflot/flotr.js.xhtml Not Found in ExternalContext as a
Resource
2011-04-10 13:24:43.557::WARN: /MyApp/jsflot/dateformat.js.jsf:
java.io.FileNotF
oundException: /jsflot/dateformat.js.xhtml Not Found in
ExternalContext as a Resource
2011-04-10 13:24:43.568::WARN: /MyApp/jsflot/jsflotAjaxscript.js.jsf:
java.io.Fi
leNotFoundException: /jsflot/jsflotAjaxscript.js.xhtml Not Found in
ExternalContext as a Resource
2011-04-10 13:24:43.572::WARN: /MyApp/jsflot/logskeleton.js.jsf:
java.io.FileNot
FoundException: /jsflot/logskeleton.js.xhtml Not Found in
ExternalContext as a Resource

My web.xml has this configuration-

<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.xhtml</param-value>
</context-param>

<context-param>
<description>State saving method: 'client' or 'server' (=default).
See JSF Specification 2.5.2</description>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>

<context-param>
<param-name>javax.servlet.jsp.jstl.fmt.localizationContext</param-
name>
<param-value>resources.application</param-value>
</context-param>

<context-param>
<param-name>javax.faces.FACELETS_REFRESH_PERIOD</param-name>
<param-value>2</param-value>
</context-param>

<context-param>
<param-name>facelets.DEVELOPMENT</param-name>
<param-value>true</param-value>
</context-param>

<context-param>
<param-name>com.sun.faces.validateXml</param-name>
<param-value>true</param-value>
</context-param>

<context-param>
<param-name>com.sun.faces.verifyObjects</param-name>
<param-value>false</param-value>
</context-param>

<context-param>
<param-name>org.richfaces.enableControlSkinning</param-name>
<param-value>true</param-value>
</context-param>

<context-param>
<param-name>org.richfaces.enableControlSkinningClasses</param-name>
<param-value>false</param-value>
</context-param>

<context-param>
<param-name>org.richfaces.skin</param-name>
<param-value>blueSky</param-value>
</context-param>

<listener>
<listener-class>com.sun.faces.config.ConfigureListener</listener-
class>
</listener>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>

What might be the problem?

Thanks,
Anuj
Reply all
Reply to author
Forward
0 new messages