pdf generation - How do you comment out code snippets within a seam pdf file -


how comment out pieces of code within seam pdf generation file. xml style comments don't seem work , commented out code appears in pdf file.

            <p:font name="times-roman" size="12" style="bold normal">                 <p:text value="full name."/>             </p:font>              <p:font name="times-roman" size="9" style="normal">                 <p:text value=" #{abc.firstname}  "/>             </p:font> 

according adobe pdf reference:

any occurrence of percent sign character (%) outside string or stream introduces comment. comment consists of characters between percent sign , end of line, including regular, delimiter, space, , tab characters. pdf ignores comments, treating them if single white-space characters. is, comment separates token preceding 1 following it; thus, pdf fragment

abc% comment { /% ) blah blah blah

123

is syntactically equivalent tokens abc , 123.

i have not used jboss seam myself, guess try combining 2 comment styles (xml , pdf) in xml input file comments not visible in resulting pdf file.


Comments