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

    problem in a4j:jsFunction ?

    orkun

      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