Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 91516 invoked from network); 5 May 2008 05:10:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 May 2008 05:10:11 -0000 Received: (qmail 90473 invoked by uid 500); 5 May 2008 05:10:10 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 90431 invoked by uid 500); 5 May 2008 05:10:10 -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 90420 invoked by uid 99); 5 May 2008 05:10:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 May 2008 22:10:10 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [66.129.95.153] (HELO www.teego.com) (66.129.95.153) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 May 2008 05:09:16 +0000 Received: from [192.168.1.15] (adsl-068-214-093-238.sip.jax.bellsouth.net [68.214.93.238]) (authenticated bits=0) by www.teego.com (8.13.1/8.13.1) with ESMTP id m4559X4f005251 for ; Mon, 5 May 2008 01:09:34 -0400 Message-ID: <481E9674.7030608@teego.com> Date: Mon, 05 May 2008 01:09:08 -0400 From: Steve Hines Organization: Teego Golf User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: MyFaces Discussion Subject: Re: [Trinidad] Trinidad components not rendering with Facelets References: <481E3B6D.6020208@teego.com> <481E607D.5040206@teego.com> <481E8657.9060804@teego.com> In-Reply-To: <481E8657.9060804@teego.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Bayes-Prob: 0.0001 (Score 0) X-Spam-Score: 1.00 (*) [Hold at 5.50] PIPE_OBFUSCATION X-Canit-Stats-ID: 180370 - 31a9b2ed9425 X-Antispam-Training: Train as spam: http://www.teego.com/canit/b.php?c=s&i=180370&m=31a9b2ed9425 X-Antispam-Training: Train as non-spam: http://www.teego.com/canit/b.php?c=n&i=180370&m=31a9b2ed9425 X-Antispam-Training: Cancel training: http://www.teego.com/canit/b.php?c=f&i=180370&m=31a9b2ed9425 X-Scanned-By: CanIt (www . roaringpenguin . com) on 66.129.95.153 X-Virus-Checked: Checked by ClamAV on apache.org Problem solved, there was an old version of Trinidad in the classpath from another application. Steve Hines wrote: > It's version 1.1.14. I just noticed that the Trinidad tableLayout, > rowLayout, cellLayout components are rendering fine, it's the > inputText, commandButton, and selectOneRadio components that are not > rendering. Here is a chunk of the generated HTML, notice the trinidad > generated comens. > > class="Table2" cellpadding="5" cellspacing="0" border="0" width="75%" > summary=""> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > required="true" styleClass="form"> > > > >
> > required="true" styleClass="form"> > > > >
> > styleClass="form"> > > > >
> > styleClass="form"> > > > > >
> > styleClass="form"> > > > > >
> > styleClass="form"> > > > >
> > styleClass="form"> > > > >
> > styleClass="form"> >
> > styleClass="form"> > > pattern="^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*\.(\w{2}|(com|net|org|edu|int|mil|gov|arpa|biz|aero|name|coop|info|pro|museum))$" > messageDetailNoMatch="Invalid e-mail format"> > > > > > >
> > > > > > > > > >
> > secret="true" styleClass="form"> > > > >
> > secret="true" styleClass="form"> > > > > >
> > > > messageDetailNoMatch="Handicap value is invalid"> > > > > > >
> > > > > > value="y"> > > > value="n"> > > > > > >
> > >
> > >
name="org.apache.myfaces.trinidad.faces.FORM" > value="registration"> id="tr_registration_Postscript"> name="javax.faces.ViewState" value="!-3c8f3e04"> > > > > > > > Andrew Robinson wrote: >> What facelets version are you using? Make sure it is 1.1.14 at least >> to test with. >> >> On Sun, May 4, 2008 at 7:18 PM, Steve Hines wrote: >> >>> Hi Andrew, >>> The trinidad-impl-1.2.7.jar, trinidad-api-1.2.7.jar and >>> jsf-facelets.jar >>> files are in the WEB-INF/lib directory of the war file. As for the >>> JSF jars >>> I don't think there are any duplicates, I know for sure they are >>> not in my >>> .ear or .war file. >>> >>> Thanks for taking the time to reply. >>> >>> Steve >>> >>> >>> >>> Andrew Robinson wrote: >>> >>> >>>> Silly question, but have you ensured that trinidad-impl.jar is on the >>>> classpath and that only one set of JSF jars (myfaces or mojarra/RI) is >>>> on the classpath and no more? >>>> >>>> On Sun, May 4, 2008 at 4:40 PM, Steve Hines wrote: >>>> >>>> >>>> >>>>> I switched my application from using Tiles for templating to facelets >>>>> >>> and >>> >>>>> now the Trinidad components are not rendering (but the original >>>>> >>>> trh: tags are showing the resulting HTML page source). They were >>>>> >>> rendering >>> >>>>> fine with the Tiles configuration. The standard JSF components >>>>> render >>>>> >>> and >>> >>>>> function with no problem. >>>>> >>>>> I'm using Trinidad v1.2.7, facelets v1.1.14 on Glassfish v2 >>>>> >>>>> Attached is the XHTML page in which the Trinidad components do not >>>>> >>> render. >>> >>>>> Here is the web.xml setup for facelets: >>>>> >>>>> >>>>> >>>>> >>>>> >>> org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER >>> >>> >>>>> com.sun.facelets.FaceletViewHandler >>>>> >>>>> >>>>> >>>>> facelets.DEVELOPMENT >>>>> true >>>>> >>>>> >>>>> javax.faces.DEFAULT_SUFFIX >>>>> .xhtml >>>>> >>>>> >>>>> facelets.SKIP_COMMENTS >>>>> true >>>>> >>>>> >>>>> facelets.REFRESH_PERIOD >>>>> 2 >>>>> >>>>> >>>>> javax.faces.STATE_SAVING_METHOD >>>>> client >>>>> >>>>> >>>>> com.sun.faces.validateXml >>>>> true >>>>> >>>>> >>>>> com.sun.faces.verifyObjects >>>>> false >>>>> >>>>> >>>>> trinidad >>>>> >>>>> >>>>> >>> org.apache.myfaces.trinidad.webapp.TrinidadFilter >>> >>> >>>>> >>>>> trinidad >>>>> Faces Servlet >>>>> >>>>> >>>>> Faces Servlet >>>>> javax.faces.webapp.FacesServlet >>>>> 1 >>>>> >>>>> >>>>> resources >>>>> >>>>> >>>>> >>> org.apache.myfaces.trinidad.webapp.ResourceServlet >>> >>> >>>>> >>>>> >>>>> ExceptionHandlerServlet >>>>> >>>>> >>> com.sun.errorhandler.ExceptionHandler >>> >>>>> >>>>> errorHost >>>>> localhost >>>>> >>>>> >>>>> errorPort >>>>> 24444 >>>>> >>>>> >>>>> >>>>> Any help would be appreciated! >>>>> >>>>> >>>>> >>>>>