Are there “server-side comments” in JSF / Seam / RichFaces?

Posted by Jonik on Stack Overflow See other posts from Stack Overflow or by Jonik
Published on 2010-04-26T14:29:41Z Indexed on 2010/04/26 14:33 UTC
Read the original article Hit count: 159

Filed under:
|
|
|

With the JSF/Seam/RichFaces stack, is there a way to mark up comments (on XHTML pages) so that they will not be included in the HTML output? I.e., something like JSP's <%-- comments --%>, as opposed to normal <!-- comments -->.

I heard that facelets.SKIP_COMMENTS context-param migth do this for normal HTML comments, but is there any other option? (After all, there might be some comments that you want included in the page output and some that you don't.)

© Stack Overflow or respective owner

Related posts about jsf

Related posts about seam