Return-Path: X-Original-To: apmail-myfaces-users-archive@www.apache.org Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 23D7C6950 for ; Tue, 19 Jul 2011 19:06:59 +0000 (UTC) Received: (qmail 628 invoked by uid 500); 19 Jul 2011 19:06:58 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 567 invoked by uid 500); 19 Jul 2011 19:06:57 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 559 invoked by uid 99); 19 Jul 2011 19:06:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jul 2011 19:06:57 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [212.227.126.187] (HELO moutng.kundenserver.de) (212.227.126.187) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jul 2011 19:06:50 +0000 Received: from [192.168.17.105] (dslb-084-058-155-019.pools.arcor-ip.net [84.58.155.19]) by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis) id 0LjJuR-1RJguB2Jt1-00dY5e; Tue, 19 Jul 2011 21:06:28 +0200 Message-ID: <4E25D5B1.3090001@flexsecure.de> Date: Tue, 19 Jul 2011 21:06:25 +0200 From: Manuel Hartl Organization: FlexSecure GmbH User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: MyFaces Discussion Subject: Re: tr:document with facelets/jsf2 References: <3138779.630.1310595770935.JavaMail.mobile-sync@ynt15> <-7188376655264727774@unknownmsgid> <8236EC9E-E4E3-4954-9E52-B5298F1F1A5D@flexsecure.de> <8780817223327301491@unknownmsgid> <4E1EBC36.7060203@flexsecure.de> <4E1F1109.7060109@flexsecure.de> <4E1F3F29.50600@flexsecure.de> <4E20BB75.40506@flexsecure.de> <4E20BEB5.5090205@flexsecure.de> In-Reply-To: X-Enigmail-Version: 1.2 Content-Type: multipart/mixed; boundary="------------000506030104010405040804" X-Provags-ID: V02:K0:KS2wLpUGbFMgBeI/2kjaPyhKG27SHXrPMzjw98aBEGc qI/E94xD6MOigpS+XxQ4JXzhGlwuZjiWk4ZFKhXgHFZ3eDZinH IGadl5shGa85dD+wflLiyy0kFPyUz3NR7yUYuR1WrK0PySsfPL t0SSmT+RNbj3LXqvyJgrgj35acZypkhmVTY7bnGKf6Jtq91TPG vtLsd295B3XMkfLehB0sJqaZvuBlL8fH43ctjiqJls= --------------000506030104010405040804 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Hi , i am confused, but you seem to be right. i setup a new project with a cleaner classpath with only jsf2/facelets/trinidad setup and it worked. i have to search for the issue on our project setup then.. and i still have no explanation for the (now vanished) viewstate serialization problems. so i apologize to the trinidad developers for my complains. Is there a possibility to have better log messages in such cases? And i think what would be really good:A trinidad example in the distribution with this setup, because i think it will be used more often in future. Regards, Manuel. > From the error, it looks like you are missing the Trinidad-impl faces-config > information. This could be a classpath issue. For example, are you sure that > the Trinidad 2.0 jars are the only ones on the classpath and there is only > one JSF implementation set of jars on the classpath? You can try running > your code on Jetty to see if there is a problem with your server setup. > > The renderers are registered in the faces-config.xml (type->class), so it > seems like that is not being found during the jar parsing. > > On Fri, Jul 15, 2011 at 4:27 PM, Manuel Hartl wrote: > >> Hi All, >> >> ok. sorry for the last post. i understood that these identifiers to not >> reference java classes. >> >> anyways. does my example page work for you? >> >> Regards, >> Manuel. >> >>> Hi All, >>> >>> if i look at the tr.taglib.xml file of the trinidad2.0.0 release then i >> see: >>> >>> >>> >>> org.apache.myfaces.trinidad.CoreDocument >>> org.apache.myfaces.trinidad.Document >>> >>> >> org.apache.myfaces.trinidadinternal.facelets.TrinidadComponentHandler >>> >>> >>> >>> the class "org.apache.myfaces.trinidad.CoreDocument" does not exist. it >>> moved to "org.apache.myfaces.trinidad.component.core.CoreDocument" right? >>> >>> it seems that the taglib file is just incorrect!? that would explain my >>> errors perfectly :) >>> >>> Regards, >>> Manuel. >>> >>> >>> >>> >>>> Hi Scott & Andrew, >>>> >>>> here is a small test page: >>>> >>>> ---------- SNIP ----------------- >>>> >>>> >>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> >>>> >>> xmlns:f="http://java.sun.com/jsf/core" >>>> xmlns:h="http://java.sun.com/jsf/html" >>>> xmlns:ui="http://java.sun.com/jsf/facelets" >>>> xmlns:tr="http://myfaces.apache.org/trinidad" >>>> xmlns:trh="http://myfaces.apache.org/trinidad/html" >>>> xmlns:c="http://java.sun.com/jsp/jstl/core"> >>>> >>>> >>>> >>>> >>>> >>> action="#{servicesBean.restart}" /> >>>> >>>> >>>> >>>> >>>> >>>> ---------- SNAP ----------------- >>>> >>>> with this page i get the following warning (and ONLY this warning): >>>> >>>> 14.07.2011 21:05:26 >>>> org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl >>>> WARNUNG: Renderer konnte nicht gefunden werden f�r >>>> CoreDocument[UIXFacesBeanImpl, id=j_idt4] rendererType = >>>> org.apache.myfaces.trinidad.Document >>>> >>>> Is this a bug or am i wrong with something? >>>> >>>> environment: mojarra 2.0.2 / trindad 2.0.0 / tomcat 6.0.32 >>>> >>>> Regards, >>>> Manuel. >>>> >>>> >>>> >>>>> Hi Andrew, >>>>> >>>>> so i think my configuration is correct (as there is not really much >>>>> needed). >>>>> Do i need to use jspx? >>>>> >>>>> i think i will generate a minimal demo page and post it here for >> review. >>>>> >>>>> Regards, >>>>> Manuel. >>>>> >>>>>> Yes, you can have a look at the demo. It is running facelets and JSPX >> and is >>>>>> on JSF 2. >>>>>> >> https://svn.apache.org/repos/asf/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo >>>>>> >>>>>> web.xml: >>>>>> >> https://svn.apache.org/repos/asf/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/WEB-INF/web.xml >>>>>> >>>>>> faces-config.xml: >>>>>> >> https://svn.apache.org/repos/asf/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/WEB-INF/faces-config.xml >>>>>> >>>>>> On Thu, Jul 14, 2011 at 3:51 AM, Manuel Hartl >> wrote: >>>>>> >>>>>>> hi scott, >>>>>>> >>>>>>> i am pretty sure, that i have the impl :) i doublechecked it now. >>>>>>> >>>>>>> some of the errors (sorry for german localization) >>>>>>> 14.07.2011 11:45:03 >>>>>>> org.apache.myfaces.trinidad.component.UIXComponentBase >> _getRendererImpl >>>>>>> WARNUNG: Renderer konnte nicht gefunden werden f�r >>>>>>> CoreDocument[UIXFacesBeanImpl, id=j_idt4] rendererType = >>>>>>> org.apache.myfaces.trinidad.Document >>>>>>> 14.07.2011 11:45:03 >>>>>>> org.apache.myfaces.trinidad.component.UIXComponentBase >> _getRendererImpl >>>>>>> WARNUNG: Renderer konnte nicht gefunden werden f�r >>>>>>> CorePanelPage[UINodeFacesBean, id=j_idt8] rendererType = >>>>>>> org.apache.myfaces.trinidad.Page >>>>>>> >>>>>>> can i somehow >>>>>>> >>>>>>> is there an example how to configure the webapp for >>>>>>> trinidad2/jsf2/facelets? (web.xml, faces-config.xml, ...) >>>>>>> >>>>>>> Regards, >>>>>>> Manuel. >>>>>>> >>>>>>> >>>>>>>> Wow.. It looks like I really DO need a new release. :). I was >> waiting >>>>>>>> for thing to stabilize and then got tied up.. Manuel, it looks like >>>>>>>> you don't have the impl in there if it can't find the tag. Can you >>>>>>>> show me a copy of your page? >>>>>>>> >>>>>>>> Sent from my iPad >>>>>>>> >>>>>>>> On Jul 13, 2011, at 4:36 PM, Manuel Hartl >> wrote: >>>>>>>> >>>>>>>>> Hi Scott, >>>>>>>>> >>>>>>>>> I am using the trinidad 2.0.0 Release. It is the latest on the >> page. >>>>>>>>> >>>>>>>>> Tags like document or pagePanel are not rendered and there is a >> warning >>>>>>> in the log for these tags that the renderer could Not Be found >>>>>>>>> >>>>>>>>> >>>>>>>>> Am 14.07.2011 um 00:26 schrieb "Scott O'Bryan" < >> darkarena@gmail.com>: >>>>>>>>> >>>>>>>>>> It should work just fine. We've supported faceless for some time >> and >>>>>>>>>> JSF20 should be fully functional. What version of Trin are you >> using? >>>>>>>>>> >>>>>>>>>> Sent from my iPad >>>>>>>>>> >>>>>>>>>> On Jul 13, 2011, at 4:22 PM, Manuel Hartl >> wrote: >>>>>>>>>> >>>>>>>>>>> Hi Trinidad-Team, >>>>>>>>>>> >>>>>>>>>>> I am trying to use Trinidad2 with Facelets(JSF2). Should this be >>>>>>> possible? >>>>>>>>>>> e.g. the tag tr:document seems not to be rendered. >>>>>>>>>>> >>>>>>>>>>> Is this a configuration problem or is is the document tag not >> usable >>>>>>>>>>> with Facelets? >>>>>>>>>>> >>>>>>>>>>> Regards, >>>>>>>>>>> Manuel. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> Dipl. Inform. Manuel Hartl >>>>>>>>>>> Software Architect >>>>>>>>>>> >>>>>>>>>>> FlexSecure GmbH >>>>>>>>>>> Industriestr. 12 >>>>>>>>>>> D - 64297 Darmstadt >>>>>>>>>>> Tel: +49 (0) 6151 501 23-18 >>>>>>>>>>> Fax: +49 (0) 6151 501 23-19 >>>>>>>>>>> >>>>>>>>>>> E-Mail: hartl@flexsecure.de >>>>>>>>>>> Internet: www.flexsecure.de >>>>>>>>>>> >>>>>>>>>>> Gesch�ftsf�hrer: >>>>>>>>>>> Erwin Stallenberger, Markus Ruppert >>>>>>>>>>> >>>>>>>>>>> Amtsgericht Darmstadt HRB 8036 >>>>>>>>>>> Umsatzsteuernummer: DE 214745269 >>>>>>> >>>>>>> -- >>>>>>> Dipl. Inform. Manuel Hartl >>>>>>> Software Architect >>>>>>> >>>>>>> FlexSecure-Logo KobilGroup-Logo >>>>>>> >>>>>>> FlexSecure GmbH >>>>>>> Industriestr. 12 >>>>>>> D - 64297 Darmstadt >>>>>>> Tel: +49 (0) 6151 501 23-18 >>>>>>> Fax: +49 (0) 6151 501 23-19 >>>>>>> >>>>>>> E-Mail: hartl@flexsecure.de >>>>>>> Internet: www.flexsecure.de >>>>>>> >>>>>>> Gesch�ftsf�hrer: >>>>>>> Erwin Stallenberger, Markus Ruppert >>>>>>> >>>>>>> Amtsgericht Darmstadt HRB 8036 >>>>>>> Umsatzsteuernummer: DE 214745269 >>>>>>> >>>>>>> >>>>> >>>>> >>>> >>>> >>> >>> >> >> >> -- >> Dipl. Inform. Manuel Hartl >> Software Architect >> >> FlexSecure GmbH >> Industriestr. 12 >> D - 64297 Darmstadt >> Tel: +49 (0) 6151 501 23-18 >> Fax: +49 (0) 6151 501 23-19 >> >> E-Mail: hartl@flexsecure.de >> Internet: www.flexsecure.de >> >> Gesch�ftsf�hrer: >> Erwin Stallenberger, Markus Ruppert >> >> Amtsgericht Darmstadt HRB 8036 >> Umsatzsteuernummer: DE 214745269 >> > -- Dipl. Inform. Manuel Hartl Software Architect FlexSecure GmbH Industriestr. 12 D - 64297 Darmstadt Tel: +49 (0) 6151 501 23-18 Fax: +49 (0) 6151 501 23-19 E-Mail: hartl@flexsecure.de Internet: www.flexsecure.de Gesch�ftsf�hrer: Erwin Stallenberger, Markus Ruppert Amtsgericht Darmstadt HRB 8036 Umsatzsteuernummer: DE 214745269 --------------000506030104010405040804--