[jboss-user] [JBoss Seam] - Re: Ajax4jsf does no work
m.schuetz
do-not-reply at jboss.com
Mon Nov 13 10:19:34 EST 2006
The web.xml:
| <?xml version="1.0"?>
| <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">
|
| !-- other faces configuration files -->
| <context-param>
| <param-name>javax.faces.CONFIG_FILES</param-name>
| <param-value>/WEB-INF/navigation.xml</param-value>
| </context-param>
|
| <context-param>
| <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
| <param-value>com.sun.facelets.FaceletViewHandler</param-value>
| </context-param>
| <context-param>
| <param-name>facelets.REFRESH_PERIOD</param-name>
| <param-value>2</param-value>
| </context-param>
| <context-param>
| <param-name>facelets.DEVELOPMENT</param-name>
| <param-value>true</param-value>
| </context-param>
| <context-param>
| <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
| <param-value>client</param-value>
| </context-param>
| <context-param>
| <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
| <param-value>.xhtml</param-value>
| </context-param>
| <context-param>
| <param-name>com.sun.faces.validateXml</param-name>
| <param-value>true</param-value>
| </context-param>
| <context-param>
| <param-name>com.sun.faces.verifyObjects</param-name>
| <param-value>true</param-value>
| </context-param>
| <context-param>
| <param-name>org.jboss.seam.core.init.debug</param-name>
| <!-- when true, seam will catch exceptions and shows debug page -->
| <param-value>false</param-value>
| </context-param>
| <filter>
| <filter-name>Seam Redirect Filter</filter-name>
| <filter-class>
| org.jboss.seam.servlet.SeamRedirectFilter
| </filter-class>
| </filter>
| <filter>
| <filter-name>Seam Exception Filter</filter-name>
| <filter-class>
| org.jboss.seam.servlet.SeamExceptionFilter
| </filter-class>
| </filter>
|
| <!-- filter for 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>
| <servlet-name>Faces Servlet</servlet-name>
| <dispatcher>REQUEST</dispatcher>
| <dispatcher>FORWARD</dispatcher>
| <dispatcher>INCLUDE</dispatcher>
| </filter-mapping>
| <listener>
| <listener-class>
| org.jboss.seam.servlet.SeamListener
| </listener-class>
| </listener>
| <listener>
| <listener-class>
| org.apache.myfaces.webapp.StartupServletContextListener
| </listener-class>
| </listener>
|
| <!-- Faces Servlet -->
| <servlet>
| <servlet-name>Faces Servlet</servlet-name>
| <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
| <load-on-startup>1</load-on-startup>
| </servlet>
|
| <!-- Faces Servlet Mapping -->
| <servlet-mapping>
| <servlet-name>Faces Servlet</servlet-name>
| <url-pattern>*.jsf</url-pattern>
| </servlet-mapping>
|
| <!-- welcome file -->
| <welcome-file-list>
| <welcome-file>index.html</welcome-file>
| </welcome-file-list>
| <login-config>
| <auth-method>BASIC</auth-method>
| </login-config>
| </web-app>
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985465#3985465
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985465
More information about the jboss-user
mailing list