1 Reply Latest reply on Dec 16, 2008 3:45 AM by Ingo Jobling

    how to properly use el

    Hugo Cura Newbie

      Hi


      How can i get EL interpolation to work in a these two scenarios:


      First:


      <button onclick="javascript:mudar('#e.id')">detalhe</button>



      "e" is the variable in an iteration and i want to output its value to the javascript call. it allways outputs an empty value like:


      <button onclick="javascript:mudar('')">detalhe</button>



      I've tried different approaches without any success (eg: with our without '')


      Second:


      Pretty similar to the first one.


      <tr class="#{e.id}" style="display: none">



      result:


      <tr class="" style="display: none;">



      I'd appreciate some help here.


      Thanks.