[jboss-user] [JBoss Seam] - Error when using ajax and facelets

ama55 do-not-reply at jboss.com
Mon Nov 27 12:04:49 EST 2006


Dear All:
i am trying to use faclets and ajax in my project (similar to the hotel booking example), i am using almost the same web.xml file:

  | <?xml version="1.0" encoding="UTF-8"?>
  | 
  | <web-app version="2.5"
  |     xmlns="http://java.sun.com/xml/ns/javaee"
  |     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  |     xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
  | 
  | 	<!-- Ajax4jsf (must come first!) -->
  | 		
  | 	<filter>
  | 		<display-name>Ajax4jsf Filter</display-name>
  | 		<filter-name>ajax4jsf</filter-name>
  | 		<filter-class>org.ajax4jsf.Filter</filter-class>
  | 	</filter>
  | 	
  | 	<filter-mapping>
  | 		<filter-name>ajax4jsf</filter-name>
  | 		<url-pattern>*.seam</url-pattern>
  | 	</filter-mapping>
  | 
  | 	<context-param>
  | 		<param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
  | 		<param-value>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</param-value>
  | 	</context-param>
  | 

i have added the following jar files to the project;
jboss-seam-ui.jar
ajax4jsf.jar

but still i am getting the following error:
java.lang.ClassNotFoundException: org.jboss.seam.ui.facelet.SeamFaceletViewHandler


any idea how to solve that.
Thanks in advance 

Best Regards 
ama55

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988959#3988959

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988959



More information about the jboss-user mailing list