3 Replies Latest reply on Aug 20, 2010 7:03 AM by Adrian Mitev

    ValueExpressions in id attribute return null

    Ziphyre Marco Newbie

      Hi,


      I'm using seam 2.0.2 with facelets 1.1.14 and richafeces 3.2.1. My problem is I can't generate dynamic ids with EL.
      For example:


      <s:link id="message#{msg.id}" styleClass="message#{msg.Id}" />



      results in:


      <a id="message" class="message45" />



      As you can seen #{msg.id} is not null, since it evaluates to 45 in styleClass attribute.


      Some people have reported that they can and do generate dynamic ids with facelest 1.1.14 and JSF1.2


      I don't know how to troubleshoot this, since there is no error.
      Any help would be much appreciated...


      Thanks