[jboss-user] [JBoss Seam] - Re: Error when using ajax and facelets
yj4jboss
do-not-reply at jboss.com
Tue Nov 28 02:42:50 EST 2006
These are the mods i did in my web.xml to have Ajax4JSf working
|
|
| <!-- Ajax4jsf -->
| <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>com.sun.facelets.FaceletViewHandler</param-value>
| </context-param>
|
|
| <filter-mapping>
| <filter-name>Seam Exception Filter</filter-name>
| <url-pattern>/*</url-pattern>
| </filter-mapping>
|
| <filter-mapping>
| <filter-name>Seam Redirect Filter</filter-name>
| <url-pattern>*.seam</url-pattern>
| </filter-mapping>
|
|
You also need to have the oscache-2.3.2 and ajax4jsf jars to have ajax working
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989172#3989172
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989172
More information about the jboss-user
mailing list