So I have the following javascript:

<script type="text/javascript" 
src="/peanutcafe/seam/remoting/resource/remote.js">/* IE */</script>
  | <script type="text/javascript" 
src="/peanutcafe/seam/remoting/interface.js?myManager">/* IE */</script>
  | 
  | <script type="text/javascript">
  | function getList(id){
  |   var myManager = Seam.Component.getInstance("myManager");
  |   var fctCallback = function(myList) {
  |     for (var idx = 0; idx < myList.length; idx++) {
  |       for(var field in myList[idx]) {
  |         alert(field + " : " + myList[idx][field]);
  |     }
  |  }
  |   myManager.getMyList(id, fctCallback );    
  | }
  | </script>
  | 

The list has been populated with the right number of object, but the javascript 
objects don't seems to be instantiated properly.

Did I miss anything?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962367#3962367

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962367
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to