Yeah, I saw that on the wiki but it wasn't an option because we occaisionally include javascript in those types of comment tags.
M@ -----Original Message----- From: Andrew Robinson [mailto:[EMAIL PROTECTED] Sent: Thursday, August 09, 2007 2:50 PM To: MyFaces Discussion Subject: Re: JSF unrendered comments 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 <[EMAIL PROTECTED]> wrote: > Thanks. I'm using facelets, that's why the first version won't work for me. > > -----Original Message----- > From: Andrew Robinson [mailto:[EMAIL PROTECTED] > 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 <[EMAIL PROTECTED]> wrote: > > And why can't you use <%-- --%> ? > > > > On 09/08/07, Cormier, Matthieu <[EMAIL PROTECTED]> 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 > > > > [EMAIL PROTECTED] > > http://stawicki.jasliska.pl > > >

