File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Problem with RichFaces Calendar control Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Problem with RichFaces Calendar control" Watch "Problem with RichFaces Calendar control" New topic
Author

Problem with RichFaces Calendar control

Kiran Kodandoor
Greenhorn

Joined: Sep 07, 2009
Posts: 5
Hi,

I am using Seam 2.0.1GA , RichFaces 3.2.0GA, JSF 1.2 and Facelets 1.1.14 on Wepsphere 6.1.

I am trying to get the richfaces calendar control on one of my JSF pages. Unfortunately i am not able to get there. I do see it on UI, but while loading the page, it throws a JS error : 'Calendar' is undefined.

Also in the backend ( in server logs) it throws this exception:

org.ajax4jsf.resource.ResourceNotFoundException: Resource not registered : /org/richfaces/ui.pack.js.seam

and

org.ajax4jsf.resource.ResourceNotFoundException: Resource not registered : /org/ajax4jsf/framework.pack.js.seam

I have gone through the user guide and added relevant entries.

This is what i have in my web.xml




This is how I use the calendar control in the JSF page:



These are the lib's i have in my WEB-INF/lib:

commons-beanutils-1.7.0.jar
commons-digester-1.8.jar
jboss-seam-debug-2.0.1.GA.jar
jboss-seam-ui-2.0.1.GA.jar
jsf-facelets-1.1.14.jar
richfaces-api-3.2.0.GA.jar
richfaces-impl-3.2.0.GA.jar
richfaces-ui-3.2.0.GA.jar


Can anyone please help me to overcome this error?

Thanks in advance,

- Kiran
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with RichFaces Calendar control