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 DE63164A1 for ; Tue, 19 Jul 2011 15:45:45 +0000 (UTC) Received: (qmail 46016 invoked by uid 500); 19 Jul 2011 15:45:45 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 45853 invoked by uid 500); 19 Jul 2011 15:45:44 -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 45844 invoked by uid 99); 19 Jul 2011 15:45:44 -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 15:45:44 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of andrew.rw.robinson@gmail.com designates 209.85.161.51 as permitted sender) Received: from [209.85.161.51] (HELO mail-fx0-f51.google.com) (209.85.161.51) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jul 2011 15:45:38 +0000 Received: by fxh10 with SMTP id 10so250388fxh.10 for ; Tue, 19 Jul 2011 08:45:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=asD8hoKQHjqZ4+yMDhP05aVe/h7Nzbj3ijgsrPYYgrg=; b=Ei1t8YlXfk4qs+nYTfOH6oZXc1LUYONidXV/zzR5Bq7g30Mp7pohl8WrVZjdeTmXK5 UuNSm7CzXTn++yJmPjFTywTQ78p234xDX+INbz9826Uof+H/vCNJy8jB84kmTz/nyvLt oVq1N8UU4hB91uijOeCS0SD5hOLjSiyTwcm2c= MIME-Version: 1.0 Received: by 10.223.30.87 with SMTP id t23mr8163951fac.51.1311090316369; Tue, 19 Jul 2011 08:45:16 -0700 (PDT) Received: by 10.223.46.13 with HTTP; Tue, 19 Jul 2011 08:45:16 -0700 (PDT) In-Reply-To: <4E20BEB5.5090205@flexsecure.de> 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> Date: Tue, 19 Jul 2011 09:45:16 -0600 Message-ID: Subject: Re: tr:document with facelets/jsf2 From: Andrew Robinson To: MyFaces Discussion Content-Type: multipart/alternative; boundary=0015174794b693613b04a86e00b8 --0015174794b693613b04a86e00b8 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable >From the error, it looks like you are missing the Trinidad-impl faces-confi= g information. This could be a classpath issue. For example, are you sure tha= t 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.TrinidadCompo= nentHandler > > > > > > > > the class "org.apache.myfaces.trinidad.CoreDocument" does not exist. it > > moved to "org.apache.myfaces.trinidad.component.core.CoreDocument" righ= t? > > > > 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=3D"http://java.sun.com/jsf/core" > >> xmlns:h=3D"http://java.sun.com/jsf/html" > >> xmlns:ui=3D"http://java.sun.com/jsf/facelets" > >> xmlns:tr=3D"http://myfaces.apache.org/trinidad" > >> xmlns:trh=3D"http://myfaces.apache.org/trinidad/html" > >> xmlns:c=3D"http://java.sun.com/jsp/jstl/core"> > >> > >> > >> > >> > >> >> action=3D"#{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 _getRendererImp= l > >> WARNUNG: Renderer konnte nicht gefunden werden f=FCr > >> CoreDocument[UIXFacesBeanImpl, id=3Dj_idt4] rendererType =3D > >> 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 JSP= X > 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=FCr > >>>>> CoreDocument[UIXFacesBeanImpl, id=3Dj_idt4] rendererType =3D > >>>>> 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=FCr > >>>>> CorePanelPage[UINodeFacesBean, id=3Dj_idt8] rendererType =3D > >>>>> 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 li= ke > >>>>>> you don't have the impl in there if it can't find the tag. Can yo= u > >>>>>> 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 tim= e > 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 b= e > >>>>> 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=E4ftsf=FChrer: > >>>>>>>>> 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=E4ftsf=FChrer: > >>>>> 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=E4ftsf=FChrer: > Erwin Stallenberger, Markus Ruppert > > Amtsgericht Darmstadt HRB 8036 > Umsatzsteuernummer: DE 214745269 > --0015174794b693613b04a86e00b8--