From adffaces-user-return-2349-apmail-incubator-adffaces-user-archive=incubator.apache.org@incubator.apache.org Tue Mar 13 16:42:20 2007 Return-Path: Delivered-To: apmail-incubator-adffaces-user-archive@locus.apache.org Received: (qmail 92263 invoked from network); 13 Mar 2007 16:42:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Mar 2007 16:42:20 -0000 Received: (qmail 57345 invoked by uid 500); 13 Mar 2007 16:42:27 -0000 Delivered-To: apmail-incubator-adffaces-user-archive@incubator.apache.org Received: (qmail 57330 invoked by uid 500); 13 Mar 2007 16:42:27 -0000 Mailing-List: contact adffaces-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: adffaces-user@incubator.apache.org Delivered-To: mailing list adffaces-user@incubator.apache.org Received: (qmail 57318 invoked by uid 99); 13 Mar 2007 16:42:27 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Mar 2007 09:42:27 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of chris.lowe.uk@gmail.com designates 64.233.184.237 as permitted sender) Received: from [64.233.184.237] (HELO wr-out-0506.google.com) (64.233.184.237) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Mar 2007 09:42:16 -0700 Received: by wr-out-0506.google.com with SMTP id 55so2326750wri for ; Tue, 13 Mar 2007 09:41:56 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Gqb/wCZuCyDAGHATfPy3ZuKxcwcSJQ0fGI8wkq2Ws5gYxkCmF8LQ5svWzgxWLUVK0DYdhz++PoF+762bLmiuyxNYdVDbfzSnEsOjzh0RpLztHoY0zIBQcz75qAFe03lr3n2mS6P6Yqd/x5/4cEI0fcorW9oPlnEVwjvPsC02P1A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=L9wuKX2FUCLUmldvxy3SUTM78JFaf3UggfxsnzJ/IdTPWS/5kem6JTsFF5XdBTi0AYtxh3uZVGXOITbGXhhZx71PcWVENZH/xa0CyC5Fuoezlp9kmbQ5p1mhsioG3OB4VJyr5JPEHcezLBdufaGaTt8Zx4COG8hCbaaN70npIxI= Received: by 10.114.185.8 with SMTP id i8mr2497600waf.1173804114270; Tue, 13 Mar 2007 09:41:54 -0700 (PDT) Received: by 10.114.210.20 with HTTP; Tue, 13 Mar 2007 09:41:54 -0700 (PDT) Message-ID: Date: Tue, 13 Mar 2007 16:41:54 +0000 From: "Chris Lowe" To: adffaces-user@incubator.apache.org, "fabrizio.boco@tin.it" Subject: Re: SEAM Integration - No RenderingContext In-Reply-To: <1114a5bfc5d.fabrizio.boco@tin.it> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_32732_4628607.1173804114209" References: <1114a5bfc5d.fabrizio.boco@tin.it> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_32732_4628607.1173804114209 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, Maybe this link will help? http://www.jboss.com/index.html?module=bb&op=viewtopic&t=97573 Cheers, Chris. On 13/03/07, fabrizio.boco@tin.it wrote: > > Hi, > > I am using Seam 1.2.0.PATCH1 and trinidad (1.0.1-incubating). > > These are my web.xml and faces-config.xml > > encoding="UTF-8"?> > > xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun. > com/xml/ns/j2ee/web-app_2_5.xsd"> > > > name>facelets.SKIP_COMMENTS > true value> > > > > javax.faces. > DEFAULT_SUFFIX > .xhtml > > > > facelets. > REFRESH_PERIOD > 2 > param> > > facelets.DEVELOPMENT name> > true > > param> > javax.faces.STATE_SAVING_METHOD > > client > > > > com.sun.faces.validateXml > value>true > > > name>com.sun.faces.verifyObjects > value>true > > > > > name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER > > com.sun.facelets.FaceletViewHandler > > > > > > > > org. > jboss.seam.servlet.SeamListener > > > > > > org.apache.myfaces.webapp. > StartupServletContextListener > > > > > Faces Servlet > class>javax.faces.webapp.FacesServlet > startup>1 > > > > > resources > class>org.apache.myfaces.trinidad.webapp.ResourceServlet class> > > > > Faces > Servlet > *.jsf > mapping> > > resources > > /adf/* > > > > Faces > Servlet > *.seam > mapping> > > > trinidad > class>org.apache.myfaces.trinidad.webapp.TrinidadFilter > > > > > trinidad > > Faces Servlet > > > > > > org.jboss.seam.core.init.debug name> > true > > > file-list> > Index.jsp > list> > > > > > "-//Sun > Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN" > "http: > //java.sun.com/dtd/web-facesconfig_1_0.dtd"> > > > > > > org.apache.myfaces.trinidad. > core > > messages bundle> > > > it_IT locale> > it > > > > > > > org.jboss.seam.jsf. > TransactionalSeamPhaseListener > > > config> > > Everything works fine. > > To use security EL functions in SEAM I > have to put the following in the faces-config.xml > > > > org.jboss.seam.ui.facelet.SeamFaceletViewHandler handler> > > When I do that, I get the following error > calling the Login.xml page: > > java.lang.IllegalStateException: No > RenderingContext > at org.apache.myfaces.trinidad.render.CoreRenderer. > encodeBegin(CoreRenderer.java:159) > at org.apache.myfaces.trinidad. > component.UIXComponentBase.encodeBegin(UIXComponentBase.java:671) > at > com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive > (ComponentSupport.java:242) > at com.sun.facelets.tag.jsf. > ComponentSupport.encodeRecursive(ComponentSupport.java:249) > at com.sun. > facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:573) > at > org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java: > 384) > at javax.faces.webapp.FacesServlet.service(FacesServlet.java: > 138) > at org.apache.catalina.core.ApplicationFilterChain. > internalDoFilter(ApplicationFilterChain.java:252) > at org.apache. > catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain. > java:173) > at org.apache.myfaces.trinidadinternal.webapp. > TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:210) > at org. > apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl > (TrinidadFilterImpl.java:167) > at org.apache.myfaces.trinidadinternal. > webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:140) > at org. > apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter. > java:93) > at org.apache.catalina.core.ApplicationFilterChain. > internalDoFilter(ApplicationFilterChain.java:202) > at org.apache. > catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain. > java:173) > at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter > (ReplyHeaderFilter.java:96) > at org.apache.catalina.core. > ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 202) > at org.apache.catalina.core.ApplicationFilterChain.doFilter > (ApplicationFilterChain.java:173) > at org.apache.catalina.core. > StandardWrapperValve.invoke(StandardWrapperValve.java:213) > at org. > apache.catalina.core.StandardContextValve.invoke(StandardContextValve. > java:178) > at org.jboss.web.tomcat.security.SecurityAssociationValve. > invoke(SecurityAssociationValve.java:175) > at org.jboss.web.tomcat. > security.JaccContextValve.invoke(JaccContextValve.java:74) > at org. > apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java: > 126) > at org.apache.catalina.valves.ErrorReportValve.invoke > (ErrorReportValve.java:105) > at org.jboss.web.tomcat.tc5.jca. > CachedConnectionValve.invoke(CachedConnectionValve.java:156) > at org. > apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. > java:107) > at org.apache.catalina.connector.CoyoteAdapter.service > (CoyoteAdapter.java:148) > at org.apache.coyote.http11.Http11Processor. > process(Http11Processor.java:869) > at org.apache.coyote.http11. > Http11BaseProtocol$Http11ConnectionHandler.processConnection > (Http11BaseProtocol.java:664) > at org.apache.tomcat.util.net. > PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) > at org.apache. > tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread. > java:112) > at java.lang.Thread.run(Thread.java:595) > > How can I fix the > problem ? > > Thank you very much. > > Regards > > Fab. > > > ------=_Part_32732_4628607.1173804114209--