2 Replies Latest reply on Jan 5, 2012 12:44 PM by Ozkan Sari

    Problem with a4j:jsFunction data parameter

    Ozkan Sari Newbie

      I'm migrating a project from Richfaces 3.3 to Richfaces 4.1. In migration guide, it's written that jsfunction works the same but I guess there is a problem with "data" parameter.


      For the following sample code :



      <h:form id="myform" style="display:none;">

         <a4j:jsFunction name="callJsWithBeanData" data="#{mybean.activeDataCount}"






      I get the following javascript error:


      data is not defined


      richfaces.js Line 481



      Is it possible that a4j:jsFunction's data parameter not supported in Richfaces 4 ?