2 Replies Latest reply on May 27, 2011 7:22 AM by Joaquín Carrasco

    Problem with data parameter in js:Function

    Joaquín Carrasco Newbie

      Hi, I am migrating to richfaces 4 and I have a problem which i hadn´t with richfaces 3.3.X. The problem is when I use "data" parameter in js:Function and is passed to a function in the "oncomplete" tag, this function is not called. When I remove the data parameter, the function is called.


      My code is the following:




              <a4j:jsFunction name="getAllBack"






              <div id="mappanel" onclick="getAllBack();">                       




      In the code above "showG" is never called when data is present as parameter in "showG". In my previous version with richfaces 3.3.X this never happened to me.

      Any idea?


      Thanks for your help.