Hi All, if i look at the tr.taglib.xml file of the trinidad2.0.0 release then i see:
<component> <component-type>org.apache.myfaces.trinidad.CoreDocument</component-type> <renderer-type>org.apache.myfaces.trinidad.Document</renderer-type> <handler-class>org.apache.myfaces.trinidadinternal.facelets.TrinidadComponentHandler</handler-class> </component> 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 ----------------- > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml" > 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"> > > <f:view> > <tr:document title="title"> > <h:form usesUpload="true" id="globalForm"> > <h:commandButton image="/pictures/header.png" > action="#{servicesBean.restart}" /> > </h:form> > </tr:document> > </f:view> > </html> > > ---------- 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 <ha...@flexsecure.de> 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 <ha...@flexsecure.de> 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" <darkar...@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 <ha...@flexsecure.de> 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: ha...@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: ha...@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: ha...@flexsecure.de Internet: www.flexsecure.de Geschäftsführer: Erwin Stallenberger, Markus Ruppert Amtsgericht Darmstadt HRB 8036 Umsatzsteuernummer: DE 214745269