From adffaces-user-return-1916-apmail-incubator-adffaces-user-archive=incubator.apache.org@incubator.apache.org Thu Jan 18 16:38:17 2007 Return-Path: Delivered-To: apmail-incubator-adffaces-user-archive@locus.apache.org Received: (qmail 57843 invoked from network); 18 Jan 2007 16:38:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jan 2007 16:38:16 -0000 Received: (qmail 18700 invoked by uid 500); 18 Jan 2007 16:38:23 -0000 Delivered-To: apmail-incubator-adffaces-user-archive@incubator.apache.org Received: (qmail 18469 invoked by uid 500); 18 Jan 2007 16:38:22 -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 18460 invoked by uid 99); 18 Jan 2007 16:38:22 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jan 2007 08:38:22 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of awiner@gmail.com designates 66.249.92.171 as permitted sender) Received: from [66.249.92.171] (HELO ug-out-1314.google.com) (66.249.92.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jan 2007 08:38:13 -0800 Received: by ug-out-1314.google.com with SMTP id y2so257782uge for ; Thu, 18 Jan 2007 08:37:52 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mHl2pOgnO++Qmp9zN9fKBHtd+bcuhU3ecvDAOLRaV3WtZL5mKXcosA6q4hQXroz+mClCj8Jfez9KKDPMgHh6WWdVArrKyML/j5eYQ6HGXDmv6t/NNESm7mCGX5+X+avX9JjJNVqYmnrjCmGPBwqSHCv0TCblKtrBDesu8DO+mCQ= Received: by 10.67.92.1 with SMTP id u1mr1544108ugl.1169138271036; Thu, 18 Jan 2007 08:37:51 -0800 (PST) Received: by 10.67.99.17 with HTTP; Thu, 18 Jan 2007 08:37:50 -0800 (PST) Message-ID: <6dac79b90701180837k2113a37ft355c931fd1aaa139@mail.gmail.com> Date: Thu, 18 Jan 2007 08:37:50 -0800 From: "Adam Winer" To: adffaces-user@incubator.apache.org Subject: Re: Comments into navigationPain In-Reply-To: <200701172248.01538.fabrizio.boco@tin.it> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200701172248.01538.fabrizio.boco@tin.it> X-Virus-Checked: Checked by ClamAV on apache.org From http://wiki.java.net/bin/view/Projects/FaceletsFAQ: How do I prevent HTML comments from being rendered? Add the following to your web.xml: facelets.SKIP_COMMENTS true -- Adam On 1/17/07, Fabrizio Boco wrote: > Hi, > > I am newbie to trinidad that I am using with Jboss. > > I have an xhtml page with the following code: > .......... > > >
> > > ............ > > and everything goes well. > > Since the page is generated by an application, I have to put some comments as > placeholders for custom code: > > >
> > > ............ > > If I put the comments I get the following error message (on the jboss console) > when the page is rendered: > > 21:55:22,076 ERROR [STDERR] Jan 17, 2007 9:55:22 PM > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.NavigationPaneRenderer > renderContent > SEVERE: Warning: illegal component hierarchy detected, expected UIXCommand but > found another type of component instead. > java.lang.ClassCastException: com.sun.facelets.tag.ui.ComponentRef > > Question are: > > 1) Can I use comments into commandNavigationItem and if yes how I have to use > them > > 2) If I can't use comments is there any tag that can I use as place holder ? > > Please, help me !!! > > Thank you > > Fab. >