6 Replies Latest reply on Jun 8, 2010 4:34 AM by Ahmet temiz

    problem in a4j:jsFunction ?

    Ahmet temiz Novice

      hello

       

      I tried to send an arraylist to a javascript by:

         
              <a4j:jsFunction name="showHey" data="#{haritaBean1.gmaplist}"
                  oncomplete="gheyelan(data)">
              </a4j:jsFunction>

       

      # but there is a wrong

       

      function gheyelan(data) {
         
           alert(data.get(0));   // it gives nothing
        } 

       

      where might be the wrong ?

       

       

      regards