0 Replies Latest reply on Sep 6, 2011 6:53 AM by Ahmet temiz

    a4j:jsFunction fails

    Ahmet temiz Novice

      hello

       

      I tried to transfer a list from server to javascript using a4j:jsFunction.

       

      But it failed.

       

       

      here is the code:

       

                  <a4j:jsFunction name="show_hey" data="#{MyBean.gmaplist}"

                       oncomplete="alert(data.length);gheyelan(data)">

                  </a4j:jsFunction>

       

      In java bean

       

      gmaplist is a <List>

      System.out.println(getGmaplist().size()); # it gives 1500 and it looks OK

       

      what am I doing wrong

       

      regards