1 Reply Latest reply on Jan 29, 2009 12:27 PM by Ronald van Kuijk

    EL evaluated even in comment

    christophe delarue Newbie
      Hi boys,

      I encouter an strange behaviour. I've this kind of code :
      <li>
        <a href="synthese.xhtml">Créer un devis</a>
        <!--  <h:form> -->
        <!--     <h:commandLink action="#{accueilAction.devisAction}" value="Créer un devis" /> -->
        <!-- </h:form>  -->                   
      </li>

      during the page display by the Facelet Renderer, I've got :
      2009-01-29 10:34:41,180 ERROR [STDERR] 29 janv. 2009 10:34:41 com.sun.facelets.FaceletViewHandler handleRenderException
      GRAVE: Error Rendering View[/accueil.xhtml]
      javax.el.PropertyNotFoundException: Property 'devisAction'

      Once I delete the code in comment, no error raises. That means that the code in comment is *evaluated* !

      what is this strange behaviour where comments may have influence on the code  ?

      Thank's

      PS: I am quite newbie to java