From adffaces-user-return-2153-apmail-incubator-adffaces-user-archive=incubator.apache.org@incubator.apache.org Tue Feb 13 23:49:18 2007 Return-Path: Delivered-To: apmail-incubator-adffaces-user-archive@locus.apache.org Received: (qmail 32721 invoked from network); 13 Feb 2007 23:49:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Feb 2007 23:49:17 -0000 Received: (qmail 58788 invoked by uid 500); 13 Feb 2007 23:49:24 -0000 Delivered-To: apmail-incubator-adffaces-user-archive@incubator.apache.org Received: (qmail 58772 invoked by uid 500); 13 Feb 2007 23:49:24 -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 58763 invoked by uid 99); 13 Feb 2007 23:49:24 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Feb 2007 15:49:24 -0800 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.162.234 as permitted sender) Received: from [64.233.162.234] (HELO nz-out-0506.google.com) (64.233.162.234) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Feb 2007 15:49:14 -0800 Received: by nz-out-0506.google.com with SMTP id j2so967nzf for ; Tue, 13 Feb 2007 15:48:53 -0800 (PST) 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=gbVeRL/tDh1RZD1LKguYG2tEVSENJu9g+ksxYubCm8g6/GrKCsQbP6JTxhmxV63sa+5tpaOw8aMJnSdidoPJrUysKxUW6LpUTXcVb58Ny6Tabul/pTbDfOIaoh3sG/0mTPC8A74loeS+mJr/IAbluL+O/A0+h/zIUfZZkA0LHgk= Received: by 10.65.248.19 with SMTP id a19mr24359225qbs.1171410533066; Tue, 13 Feb 2007 15:48:53 -0800 (PST) Received: by 10.64.196.4 with HTTP; Tue, 13 Feb 2007 15:48:53 -0800 (PST) Message-ID: Date: Tue, 13 Feb 2007 23:48:53 +0000 From: "Chris Lowe" To: adffaces-user@incubator.apache.org Subject: Re: Ajax4Jsf component not rendered In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_58186_1670400.1171410533007" References: <71235db40701290802x4151f04cq4fbbc39f2883ff29@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_58186_1670400.1171410533007 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline This issue still has me stumped. Interestingly if I have a page that refers to regular MyFaces components, then they too are not rendered. top Can anyone offer any direction on where I can investigate? Cheers, Chris. On 29/01/07, Chris Lowe wrote: > > Thanks for the reply Matthias. > > I had seen that wiki and I have tried its recommendations, but I get the > same result (component is ignored and I get the output). > > Any idea on what the warnings and errors from Trinidad are telling me? > > Cheers, > > Chris. > > On 29/01/07, Matthias Wessendorf wrote: > > > > Chris- > > > > never used seam, yet.. > > > > according to [1] your web.xml should contain this for the viewhandler > > > > > > > > org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER > > > > > > com.sun.facelets.FaceletViewHandler > > > > > > > > instead of > > > > org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER > > => > > org.jboss.seam.ui.facelet.SeamFaceletViewHandler > > > > also you should (or have to) remove the VH def. from the > > faces-config.xml file. > > > > -M > > > > [1] http://wiki.apache.org/myfaces/TrinidadSeamAjax4Jsf > > > > On 1/29/07, Chris Lowe wrote: > > > Hi All, > > > > > > So far, I have been using Trinidad and Seam together without too much > > fuss. > > > Now I've tried to add Ajax4Jsf into the mix, I'm having some trouble > > getting > > > Ajax4Jsf to work. My pages are being rendered without throwing an > > exception > > > however the Ajax4Jsf components are just being ignored. I've added a > > simple > > > poller to my page as follows: > > > > > > > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd > > > "> > > > > > ... > > > xmlns:tr=" http://myfaces.apache.org/trinidad" > > > xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"> > > > > > > > > > > > > > > >
> > > > /> > > > > > > > > > ... > > >
> > >
> > > > > > > > > At render time, the poller is ignored and nothing is added to my page, > > hence > > > no polling. I get output like this repeated about 12 times despite > > there > > > only being one instance of the poller: > > > > > > 14:04:26,453 ERROR [STDERR] 29-Jan-2007 14:04:26 > > > org.apache.myfaces.trinidadinternal.renderkit.RenderKitBasegetRenderer > > > WARNING: Renderer ' javax.faces.ViewRoot' not found for component > > family ' > > > javax.faces.ViewRoot' > > > 14:04:26,453 INFO [[/ripuk]] No Renderer found for component > > > {Component-Path : [Class: org.ajax4jsf.framework.ajax.AjaxViewRoot,ViewId: > > > /view/secure/payment-processing.xhtml]} (component-family= > > > javax.faces.ViewRoot, renderer-type= javax.faces.ViewRoot) > > > 14:04:26,453 WARN [UIComponentBase] No Renderer found for component > > > {Component-Path : [Class: org.ajax4jsf.framework.ajax.AjaxViewRoot > > ,ViewId: > > > /view/secure/payment-processing.xhtml]} (component-family= > > > javax.faces.ViewRoot, renderer-type=javax.faces.ViewRoot) > > > > > > I have used the poller successfully in a MyFaces/Facelets/Seam project > > that > > > doesn't use Trinidad. Is there anything special that I need to do in > > order > > > to make these libraries play together? > > > > > > My web.xml and faces-config.xml are below. > > > > > > Any help will be greatly appreciated. > > > > > > Best Regards, > > > > > > Chris. > > > > > > > > > web.xml > > > > > > > > > > > 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 "> > > > > > > > > > > > > > > > javax.faces.CONFIG_FILES > > > /WEB-INF/navigation.xml, /WEB-INF/managed- > > beans.xml > > > ,/WEB-INF/con-val.xml > > > > > > > > > > > > javax.faces.DEFAULT_SUFFIX > > > .xhtml > > > > > > > > > > > > javax.faces.STATE_SAVING_METHOD > > > client > > > > > > > > > > > > > > > > > > > > > org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER > > > > > > org.jboss.seam.ui.facelet.SeamFaceletViewHandler > > > > > > > > > > > > > > > > > > > > > > > > facelets.LIBRARIES > > > /WEB-INF/facelets/ripuk.taglib.xml > > > > > > > > > > > > facelets.DEVELOPMENT > > > true > > > > > > > > > > > > facelets.SKIP_COMMENTS > > > false > > > > > > > > > > > > > > > > > > > > > > > > Ajax4jsf Filter > > > ajax4jsf > > > org.ajax4jsf.Filter > > > > > > > > > > > > ajax4jsf > > > Faces Servlet > > > > > > > > > > > > > > > Seam Exception Filter > > > org.jboss.seam.servlet.SeamExceptionFilter > > > > > > > > > > > > Seam Exception Filter > > > *.seam > > > > > > > > > > > > > > > Seam Redirect Filter > > > org.jboss.seam.servlet.SeamRedirectFilter > > > > > > > > > > > > > > > Seam Redirect Filter > > > *.seam > > > > > > > > > > > > > > > trinidad > > > > > org.apache.myfaces.trinidad.webapp.TrinidadFilter > > > > > > > > > > > > trinidad > > > Faces Servlet > > > > > > > > > > > > > > > > > > > > > org.jboss.seam.servlet.SeamListener > > > > > > > > > > > > > > > > > org.apache.myfaces.webapp.StartupServletContextListener > > > > > > > > > > > > > > > > > > > > > Faces Servlet > > > javax.faces.webapp.FacesServlet > > > 1 > > > > > > > > > > > > Faces Servlet > > > *.seam > > > > > > > > > > > > > > > resources > > > > > org.apache.myfaces.trinidad.webapp.ResourceServlet > > > > > > > > > > > > resources > > > /adf/* > > > > > > > > > > > > > > > > > > > > > BASIC > > > > > > > > > > > > 404 > > > /view/public/home.seam > > > > > > > > > > > > 30 > > > > > > > > > > > > > > > > > > faces-config.xml > > > > > > > > > > > > > > > org.apache.myfaces.trinidad.core > > > > > > org.ajax4jsf.framework.ajax.AjaxViewHandler > > > > > > > > > > > > > > > > > > org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener > > > > > > > > > > > > > > > messages > > > > > > en > > > en > > > > > > > > > > > > > > > > > > > > > > > > -- > > Matthias Wessendorf > > http://tinyurl.com/fmywh > > > > further stuff: > > blog: http://jroller.com/page/mwessendorf > > mail: mwessendorf-at-gmail-dot-com > > > > ------=_Part_58186_1670400.1171410533007--