If you don't want the contents sent to the browser, use <ui:remove/>.
On Oct 20, 2009, at 12:44 PM, webtier_at_javadesktop.org wrote:
> I seem to be having a hard time finding the equivalent of the <%-- --
> %> tag in jsf facelets. Does anyone know if there is one? I don't
> think there was one back in the day of the original facelets.
>
> Sometimes it's useful to comment code like
>
> <%-- this is a hack to work around a browser rendering glitch --%>
> ...
>
> or just to label sections of the page like
>
> <%-- header --%>
> <%-- menu --%>
>
> but you have no desire for that comment to be rendered back to the
> browsers for both bandwidth or just no need to make the client aware
> of issues etc. so the html comment would be undesireable.
> [Message sent by forum member 'tedman' (tedman_at_sfu.ca)]
>
> http://forums.java.net/jive/thread.jspa?messageID=368657
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>
Jason Lee
Senior Java Developer
GlassFish Administration Console
Sun Microsystems, Inc.
Phone x31197/+1 405-343-1964
Email jasondlee_at_sun.com
Blog
http://blogs.sun.com/jasondlee
Blog
http://blogs.steeplesoft.com