0 Replies Latest reply on Apr 9, 2012 11:14 AM by Adi Katz

    Strange behavior of Ajax reRender with UTF component ID

    Adi Katz Novice

      The following was captured with FireBug:

       

      <?xml version="1.0"?>

      <html xmlns="http://www.w3.org/1999/xhtml">

      <head><title></title>

      <link class="user" href="style.css;jsessionid=281FAD8038E82CFAE62D2CE9971EDB69" rel="stylesheet" type="text/css" />

      </head>

      <body>

      <span id="eazap:cell_#1506;_A1" style="font-size:15px;font-weight:Regular;font-family:Calibri;color:#000000;white-space:nowrap;">2.00</span>

      </span><meta name="Ajax-Update-Ids" content="eazap:cell_ע_A1" />

      <span id="ajax-view-state"><input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="j_id1" /></span>

      <meta id="Ajax-Response" name="Ajax-Response" content="true" />

      </body>

      </html>

       

      As you can see, there is a utf character in the component id in the Ajax-Update-Ids:

      eazap:cell_ע_A1

      But it is encoded in the ajax response as

      eazap:cell_#1506;_A1

       

      The result is that the compoent never updates.

       

      Can someone advise me on that ?

       

      Thanks