-
1. Re: Richfaces setup
ilya_shaikovsky Nov 10, 2008 12:55 PM (in response to nshimiye)what about our filter definition? did you add it to your web.xml?
-
2. Re: Richfaces setup
nshimiye Nov 10, 2008 1:06 PM (in response to nshimiye)I added this
<display-name>RichFaces Filter</display-name>
<filter-name>richfaces</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
<filter-mapping>
<filter-name>richfaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
REQUEST
FORWARD
INCLUDE
</filter-mapping> -
3. Re: Richfaces setup - still have problems
nshimiye Nov 10, 2008 1:59 PM (in response to nshimiye)I still have problems
-
4. Re: Richfaces setup
nbelaevski Nov 10, 2008 9:20 PM (in response to nshimiye)Where are the libraries located: WEB-INF/lib?
-
5. Re: Richfaces setup
lauri Nov 11, 2008 5:43 AM (in response to nshimiye)"nshimiye" wrote:
When I add this
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
I get this error:
Cannot find the tag library descriptor for "http://richfaces.org/a4j"
I allready added the librairies:
richfaces-ui-3.1.6.GA.jar, richfaces-impl-3.1.6.GA.jar,richfaces-api-3.1.6.GA.jar
Hi.
Your question has inspired me to share my NetBeans experience. I was suffering from same symptoms.
Check it out http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188412. In short: I used to lack apache commons in my glass fish + NetBeans environment. -
6. Re: Richfaces setup
sumanjara Jan 19, 2011 6:32 AM (in response to nshimiye)<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
Iam getting this error using Rich Faces 4 :
Cannot find the tag library descriptor for "http://richfaces.org/a4j"
Kindly provide me the solution - i didnt find the solution in this post.
I have the jars from Rich faces version 4 .Let me know why it is throwing error. It works fine with rich faces 3.
-
7. Re: Richfaces setup
ilya_shaikovsky Jan 19, 2011 6:56 AM (in response to sumanjara)JSF 2 specification deprecated JSP. All the JSF new features and tags not supports it. And RichFaces 4 has no JSP support in plans because of that.
So use facelets VDL.
-
8. Re: Richfaces setup
sumanjara Jan 21, 2011 1:27 AM (in response to ilya_shaikovsky)hi,
Iam using JSF 2.0 and Rich Faces 4.0.
My web.xml code as shown below.
To integrate rich faces 4..what are things i have to had.
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
id="WebApp_ID" version="2.5">
<display-name>JavaServerFaces</display-name>
<!-- Change to "Production" when you are ready to deploy -->
<context-param>
<param-name>javax.faces.PROJECT_STAGE</param-name>
<param-value>Development</param-value>
</context-param>
<!-- Welcome page -->
<welcome-file-list>
<welcome-file>faces/hello.xhtml</welcome-file>
</welcome-file-list>
<!-- JSF mapping -->
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<!-- Map these files with JSF -->
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.faces</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.xhtml</url-pattern>
</servlet-mapping>
</web-app>
-
9. Re: Richfaces setup
jmanko Jan 21, 2011 12:40 PM (in response to sumanjara)What IDE are you using?