3 Replies Latest reply on Aug 26, 2009 5:43 PM by Hosam Aly

    How to put java comments in facelet (xhtml)?

    Akanksha Abhiman Newbie

      I want to put java comment (not HTML comment) in facelet/xhtml. How do I do it?
      The HTML comment works only to


      <!-- -->



      hide the display but code does executes and throws error.





      <h:outputText value="Region: " />
      <h:outputText value="Americas" />
      
      <!-- The below section i want to make as a java comment-->
      
      <!--
      <a4j:commandButton action="#{RegistrationBean.getPrevious}" value="&#x2039;&#x2039; Cancel" styleClass="primButton"  style="float:left" />
      <a4j:commandButton action="#{RegistrationBean.getSuccess}"  value="Confirm &#187;" styleClass="primButton" style="float:right" />
                                                              
       -->
      <h:panelGrid columns="1" style="align: left" width="100%">
      <a4j:commandLink value="Create Another User" />
      
      </h:panelGrid>
      
      



      Thanks,
      Devil