News‎ > ‎

1.5.5 Released

posted Jul 29, 2010, 1:36 AM by Serhat Dirik
   1-Javascript client is changed .
        Now callback functions for asynch calls requires a paramater for resulttext.Here is a sample code:

       var jsonrq = new JSONRequest(jsonurl);
       var uuid = new UUID();
       var cb = function(resultText){
        try{
            var result = jsonrq.resolveResult(resultText);
            print(" returns :" + result.result + " classHintAttribute:"+result.result.classHintAttribute);
               print(" headers " + result.header);
        }catch(e){
            print("Error:"+e.message);
            throw e;
        }
      };
      var header = { item1:'item1', item2:3};
      var id = uuid.createUUID();
      print("echoBean.echo( 3 )");
      jsonrq.send(id,"echoBean.echo",[3],header,cb);


   2-CallerContext.isSessionValid()  method is added 
   3-Some minor transformation bugs handled
   4-JSONRequest.js concurrent call bug is fixed
   5-Transformation bug for inherited bean properties now handled. 
Comments