oscache2.3.2.jar is not required since Ajax4jsf 1.1.1.
Did your application run successfully before you added the files mentioned above?
It work fine if i just testing using normal JSF components. I forgot to mention the JSF libraries which i installed:
I have jsf-api.jar and jsf-impl.jar from http://javaserverfaces.dev.java.net
I have standard.jar and jstl.jar from http://people.apache.org/builds/jakarta-taglibs/nightly
They are located in Tomcat /lib folder
These works fine with examples that i am learning via CoreJSF book.
I am guessing i must be missing some other files. Do i need MyFaces commons-xxxx.jar and myfaces-xxxx.jar as well? Cause i tried installing those jar into my Tomcat/lib and end up with 505 status error instead.
java.lang.UnsupportedOperationException javax.faces.application.Application.getELResolver(Application.java:455) com.sun.faces.context.FacesContextImpl.getELContext(FacesContextImpl.java:174) javax.faces.component.UIViewRoot.setLocale(UIViewRoot.java:888) com.sun.faces.application.ViewHandlerImpl.createView(ViewHandlerImpl.java:375) org.ajax4jsf.framework.ViewHandlerWrapper.createView(ViewHandlerWrapper.java:84) org.ajax4jsf.framework.ajax.AjaxViewHandler.createView(AjaxViewHandler.java:87) org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:83) org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:95) org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70) javax.faces.webapp.FacesServlet.service(FacesServlet.java:244) org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127) org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
Much appreciated if anyone can point me in the right direction of all the files that are needed for deploying richfaces step by step.
Hello frnds, am new to JSF and I'd like to include richfaces components in my application, I downloaded a zipped version of richfaces 3.0.1 but I cannot find the richfaces-3.0.1.jar file in it..could someone please let me where to find that file and how to include in my application? tons of thanks cheers
Once extracted, look under richfaces-3.0.1\lib folder, there u should find both ajax4jsf-1.1.1.jar and richfaces-3.0.1.jar
Thanks sodium. am really sorry I dont find a lib folder in my richfaces-3.0.1, I have lib folders from the demo applications WEB-INF folder but not in the extracted richfaces-3.0.1. Any help would be greatly appreciated. cheers
I found the jar files and made my first application work with richfaces. Thanks again sodium!
Hello frnds just to share how I made the application work
I made the filter settings for ajax4jsf first then made the listener for application in web.xml which looks something like this,
hope it helps someone!