2 Replies Latest reply on Mar 27, 2012 6:40 AM by giant2

    BUG - Treenode with stress mark àèéìòù make nodeSelectListener doesn't work

    giant2 Newbie

      Hi all!

      I see a strange thing (a new one for today) :-)

      With my tree, loaded and constructed by DB I create a graphical interface that when I click over a node, the nodeSelectListener call a method that log me "Hi".


      All goes ok, very well, good, wonderfull, but... when the nodeLabel rendered as <h:outputText value="" /> has a value with one of àèéìòù letters the nodeSelectListener doesn't called, sigh!


      Looking for the problem in the html produced I see a strange thing. In the id field of the td element (the tree is rendered as a table) the label is putted into with even the "special" char. So I obtain:



      TabelOlè changed into TabelOlegrave;???????? and used as id.

      It is not correct because there is a ";" char which is not permitted in the id field:

      letters (A-Za-z), digits (0-9), hyphens ("-"), and underscores ("_")

      See here http://www.w3schools.com/tags/att_standard_id.asp




      This is a bug?!?!?!?