myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Robinson" <andrew.rw.robin...@gmail.com>
Subject Re: JSF unrendered comments
Date Thu, 09 Aug 2007 17:49:47 GMT
I should also mention

<!-- Comment -->

works if:

<context-param>
  <param-name>facelets.SKIP_COMMENTS</param-name>
  <param-value>true</param-value>
</context-param>

is set for facelets


On 8/9/07, Cormier, Matthieu <matthieu.cormier@abridean.com> wrote:
> Thanks.  I'm using facelets, that's why the first version won't work for me.
>
> -----Original Message-----
> From: Andrew Robinson [mailto:andrew.rw.robinson@gmail.com]
> Sent: Thursday, August 09, 2007 2:44 PM
> To: MyFaces Discussion
> Subject: Re: JSF unrendered comments
>
> JSP use <%-- comment --%>
> Facelets use <ui:remove>comment</ui:remove>
>
> On 8/9/07, Michał 'Gandalf' Stawicki <stawicki@gmail.com> wrote:
> > And why can't you use <%-- --%> ?
> >
> > On 09/08/07, Cormier, Matthieu <matthieu.cormier@abridean.com> wrote:
> > >
> > >
> > >
> > >
> > > Hello all,
> > >
> > >
> > >
> > > In JSP comments could be written with
> > >
> > > <%-- --%>  and they would not be rendered to the browser.
> > >
> > >
> > >
> > > I cannot find anything equivalent for JSF.  Is there?
> > >
> > > The only solution I can think of is to create a custom tag called comment
> > > that does not render it's child data.
> > >
> > >
> > >
> > > Thoughts?
> > >
> > > --
> > >
> > > Matthieu Cormier
> > >
> > > Abridean Inc.
> > >
> > > T: 902-442-5122 x 5145
> > >
> > > F: 902-442-5101
> > >
> > > www.abridean.com
> > >
> > > This e-mail is intended solely for the person or entity to which it is
> > > addressed and may contain confidential and/or privileged information. Any
> > > review, dissemination, copying, printing or other use of this e-mail by
> > > persons or entities other than the addressee is prohibited. If you have
> > > received this e-mail in error, please contact the sender immediately and
> > > delete the material from any computer
> >
> >
> > --
> > Michał Stawicki
> >
> > stawicki@gmail.com
> > http://stawicki.jasliska.pl
> >
>
Mime
View raw message