[jboss-user] [JBoss Seam] - Re: a4j:include and Seam
maykellff
do-not-reply at jboss.com
Wed Dec 19 08:11:42 EST 2007
"matt.drees" wrote : Looking at your stacktrace, I think your issue is caused by using a myfaces phase listener (AutoScrollPhaseListener). I think this sort of issue was fixed in Seam 1.2.1.
Not, this not my case. I not use any myfaces phase listener at all, i only use Seam listeners. In any case i'll to try with Seam 1.2.1 and will see what happen.
This is my web.xml:
anonymous wrote : <?xml version="1.0"?>
| <!--
| * Copyright 2004 The Apache Software Foundation.
| *
| * Licensed under the Apache License, Version 2.0 (the "License");
| * you may not use this file except in compliance with the License.
| * You may obtain a copy of the License at
| *
| * http://www.apache.org/licenses/LICENSE-2.0
| *
| * Unless required by applicable law or agreed to in writing, software
| * distributed under the License is distributed on an "AS IS" BASIS,
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| * See the License for the specific language governing permissions and
| * limitations under the License.
| -->
| <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
| <display-name>jsfTest</display-name>
|
| <!--
| <context-param>
| <param-name>org.jboss.seam.core.init.debug</param-name>
| <param-value>true</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>javax.faces.CONFIG_FILES</param-name>
| <param-value>/WEB-INF/navigation-rule.xml</param-value>
| </context-param>
|
| <context-param>
| State saving method: "client" or "server" (= default)
| See JSF Specification 2.5.2
| <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
| <param-value>server</param-value>
| </context-param>
|
| <!--
| <context-param>
| <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
| <param-value>true</param-value>
| </context-param>
| -->
|
| <display-name>Ajax4jsf Filter</display-name>
| <filter-name>ajax4jsf</filter-name>
| <filter-class>org.ajax4jsf.Filter</filter-class>
| <init-param>
| <param-name>forceparser</param-name>
| <param-value>false</param-value>
| </init-param>
|
|
|
| <filter-mapping>
| <filter-name>ajax4jsf</filter-name>
| <servlet-name>Faces Servlet</servlet-name>
| REQUEST
| FORWARD
| INCLUDE
| </filter-mapping>
|
|
|
| <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
|
|
| <!-- Faces Servlet -->
|
| <servlet-name>Faces Servlet</servlet-name>
| <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
| <load-on-startup>1</load-on-startup>
|
| <servlet-mapping>
| <servlet-name>Faces Servlet</servlet-name>
| <url-pattern>*.seam</url-pattern>
| </servlet-mapping>
| <servlet-mapping>
| <servlet-name>Faces Servlet</servlet-name>
| <url-pattern>/faces/*</url-pattern>
| </servlet-mapping>
| <login-config>
| <auth-method>BASIC</auth-method>
| </login-config>
| </web-app>
(http://fisheye.jboss.com/browse/JBoss/jboss-seam/src/main/org/jboss/seam/contexts/Contexts.java?r1=1.47&r2=1.48)
and this is my faces-config.xml:
anonymous wrote : <?xml version="1.0"?>
| <!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
| "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
| <faces-config>
|
| <converter-id>genericselectarrayconvertidor</converter-id>
| <converter-class>com.web.converter.GenericSelectArrayConvertidor</converter-class>
|
|
|
| <converter-id>genericselectarrayconvertidor1</converter-id>
| <converter-class>com.web.converter.GenericSelectArrayConvertidor1</converter-class>
|
|
|
|
| <converter-id>genericselectlistconvertidor</converter-id>
| <converter-class>com.web.converter.GenericSelectListConvertidor</converter-class>
|
|
|
| <managed-bean>
| <managed-bean-name>carBean</managed-bean-name>
| <managed-bean-class>com.web.CarBean</managed-bean-class>
| <managed-bean-scope>request</managed-bean-scope>
| </managed-bean>
|
| <managed-bean>
| <managed-bean-name>navigationBean</managed-bean-name>
| <managed-bean-class>com.web.NavigationBean</managed-bean-class>
| <managed-bean-scope>request</managed-bean-scope>
| </managed-bean>
|
|
|
| <phase-listener>org.jboss.seam.jsf.TransactionalSeamPhaseListener</phase-listener>
|
|
|
|
| <locale-config>
| <default-locale>en</default-locale>
| </locale-config>
| <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
|
| </faces-config>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114190#4114190
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114190
More information about the jboss-user
mailing list