From adffaces-user-return-1682-apmail-incubator-adffaces-user-archive=incubator.apache.org@incubator.apache.org Sat Dec 23 16:09:36 2006 Return-Path: Delivered-To: apmail-incubator-adffaces-user-archive@locus.apache.org Received: (qmail 31112 invoked from network); 23 Dec 2006 16:09:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Dec 2006 16:09:36 -0000 Received: (qmail 61764 invoked by uid 500); 23 Dec 2006 16:09:43 -0000 Delivered-To: apmail-incubator-adffaces-user-archive@incubator.apache.org Received: (qmail 61741 invoked by uid 500); 23 Dec 2006 16:09:43 -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 61732 invoked by uid 99); 23 Dec 2006 16:09:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Dec 2006 08:09:42 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: 199.185.220.240 is neither permitted nor denied by domain of duong.batien@gmail.com) Received: from [199.185.220.240] (HELO defout.telus.net) (199.185.220.240) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Dec 2006 08:09:31 -0800 Received: from priv-edtnaa06.telusplanet.net ([142.179.180.163]) by priv-edtnes73.telusplanet.net (InterMail vM.7.05.00.01 201-2174-101-101-20051220) with ESMTP id <20061223160901.CQTB24409.priv-edtnes73.telusplanet.net@priv-edtnaa06.telusplanet.net> for ; Sat, 23 Dec 2006 09:09:01 -0700 Received: from dev2.dbgroups.com (s142-179-180-163.ab.hsia.telus.net [142.179.180.163]) by priv-edtnaa06.telusplanet.net (BorderWare MXtreme Infinity Mail Firewall) with ESMTP id 1651HNHU1Q for ; Sat, 23 Dec 2006 09:08:58 -0700 (MST) Subject: Re: TrinidadFilter has not been installed From: Duong BaTien To: adffaces-user@incubator.apache.org In-Reply-To: <1166823084.3619.10.camel@dev2.dbgroups.com> References: <45880B83.4050807@tecnotp.it> <71235db40612190908j2de0ee43xef9ae843abcf98ef@mail.gmail.com> <1166764495.4645.33.camel@dev2.dbgroups.com> <71235db40612212246s2505440ayc8a7d7d4982bbb8c@mail.gmail.com> <1166823084.3619.10.camel@dev2.dbgroups.com> Content-Type: text/plain Organization: DBGROUPS Date: Sat, 23 Dec 2006 09:09:04 -0700 Message-Id: <1166890145.4265.26.camel@dev2.dbgroups.com> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 (2.2.2-5) Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello Adam and Matthias: I start from square 1 with facelets 1.1.12 NumberBean demo and Trinidad stable 06-dec and found out that org.apache.myfaces.trinidad.core in the faces-config causes a problem of rendering the command button. When taken out, the NumberBean works and no warning of "TrinidadFilter has not been installed". There is no SEVERE message either. I took the out of the previously posted configuration of my complex application (at the bottom of this email), it works and no warning of "TrinidadFilter has not been installed". But there is a SEVERE message: SEVERE: No structure available and no root available o.a.myfaces.renderkit.RenderKitFactoryImpl addRenderkit Renderkit with renderkitId 'HTML_BASIC' was replaced. Under both simple and slightly complex applications, there is no trinidad component; only a simple trinidad-config.xml with 1 tag. By the way, how can i put trinidad-config.xml in different directory than its default under /WEB-INF Thanks BaTien On Fri, 2006-12-22 at 14:31 -0700, Duong BaTien wrote: > On Fri, 2006-12-22 at 07:46 +0100, Matthias Wessendorf wrote: > > Hi Duong, > > > > back to faces ? :) > > > > However, I am not seeing any issue with your web.xml. > > I am also using the same libs like you and my app runs fine in Jetty. > > (and tested it just in TC 5.5.17) > > > Hi Matthias: > > Yes i run it on TC 5.5.17 and facelets 1.1.12. I guest i must start from > square 1 and need some of your advise (i am so far behind): > > 1) Is there any simple app that use facelets and Trinidad so i can start > from there? > 2) Preferably the app also uses Shales for viewController, Spring for > IoC, Shales Dialog and Trinidad pageFlowScope. > 3) How Trinidad and Myfaces come along with Jsf 1.2? Should i start with > jsf 1.2 if my project time line is 3 - 6 months? > > Thanks and Merry Christmas > > BaTien > > > > > > here is the web.xml: > > > > > > > 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" > > version="2.4"> > > > > > > org.apache.myfaces.trinidadinternal.DISABLE_CONTENT_COMPRESSION > > false > > > > > > > > org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER > > com.sun.facelets.FaceletViewHandler > > > > > > > > > > javax.faces.DEFAULT_SUFFIX > > .xhtml > > > > > > > > > > javax.faces.STATE_SAVING_METHOD > > client > > > > > > > > org.apache.myfaces.trinidad.USE_APPLICATION_VIEW_CACHE > > false > > > > > > > > org.apache.myfaces.trinidad.CHANGE_PERSISTENCE > > session > > > > > > > > > > org.apache.commons.chain.CONFIG_WEB_RESOURCE > > /WEB-INF/chain-config.xml > > > > > > > > > > shale > > > > org.apache.shale.application.faces.ShaleApplicationFilter > > > > > > > > > > trinidad > > org.apache.myfaces.trinidad.webapp.TrinidadFilter > > > > > > > > > > shale > > /* > > > > > > > > trinidad > > faces > > > > > > > > > > > > > > net.wessendorf.hsql.HsqlListener > > > > > > > > > > > > org.apache.commons.chain.web.ChainListener > > > > > > > > > > > > > > faces > > javax.faces.webapp.FacesServlet > > > > > > > > > > resources > > org.apache.myfaces.trinidad.webapp.ResourceServlet > > > > > > > > > > faces > > *.faces > > > > > > > > resources > > /adf/* > > > > > > > > > > > > > > On 12/22/06, Duong BaTien wrote: > > > What did i do wrong here? I start to explore Trinidad with this page > > > http://wiki.apache.org/myfaces/Facelets_with_Trinidad > > > But get the warning "The TrinidadFilter has not been installed". > > > > > > The libraries include Shale 1.0.4 (core, dialog, remoting, spring, > > > validator, view), Spring 2.0 (aop, beans, context, core,web), tomahawk > > > 1.1.5.jar, trinidad stable Dec-06 (api, impl). > > > > > > Here is my faces-config: > > > > > > > > > > > > com.dbgroups.psi.PsiBundle > > > > > > > > > en > > > en > > > > > > > > > > > > org.apache.myfaces.trinidad.core > > > > > > > > > > > > Here is my web.xml > > > > > > > > > org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER > > > com.sun.facelets.FaceletViewHandler > > > > > > > > > javax.faces.DEFAULT_SUFFIX > > > .xhtml > > > > > > > > > javax.faces.STATE_SAVING_METHOD > > > client > > > > > > > > > org.apache.myfaces.trinidad.CLIENT_STATE_METHOD > > > all > > > > > > > > > org.apache.myfaces.trinidad.USE_APPLICATION_VIEW_CACHE > > > false > > > > > > > > > org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION > > > true > > > > > > > > > org.apache.myfaces.trinidad.CHANGE_PERSISTENCE > > > session > > > > > > > > > trinidad > > > org.apache.myfaces.trinidad.webapp.TrinidadFilter > > > > > > > > > trinidad > > > faces > > > > > > > > > faces > > > javax.faces.webapp.FacesServlet > > > > > > > > > resources > > > org.apache.myfaces.trinidad.webapp.ResourceServlet > > > > > > > > > faces > > > *.jsf > > > > > > > > > resources > > > /public/budhnet.com/trinidad/* > > > > > > > > > javax.faces.CONFIG_FILES > > > > > > /WEB-INF/xmlConfig/faces-bean.xml, > > > /WEB-INF/xmlConfig/faces-navigation.xml > > > > > > Comma separated list of config files. > > > > > > > > > contextConfigLocation > > > > > > /WEB-INF/xmlConfig/psi.xml > > > > > > > > > > > > > > > org.springframework.web.context.ContextLoaderListener > > > > > > > > > > > > Thanks > > > > > > > > > > > > >