Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 1 of 1 total
Thread Remobject and EWB
Tue, Feb 21 2012 9:50 AMPermanent Link

Friedrich Westermann

Ok i must say i'm a totaly new on JS so i'm lost

i try to use the Remobject SDK with EWB but i find no way........
i have the *js from Remobjects SDK and Dataabstract but i have no Idea
how to declare thes in EWB

// Service: NewService
function NewService(__channel, __message, __service_name) {
 RemObjects.SDK.ROService.call(this, __channel, __message,
__service_name);
 this.fServiceName = this.fServiceName || __service_name ||
"NewService";
};



NewService.prototype.TestDataFromServer = function(
   __success, __error) {
   try {
       var msg = this.fMessage.clone();
       msg.initialize(this.fServiceName, "TestDataFromServer");
       msg.finalize();
       this.fChannel.dispatch(msg, function (__message) {
      var __result = __message.read("Result", "WideString");
           __success(
      __result
      );
       }, __error);

   } catch (e) {
       __error(msg, e);
   };
};

can anybody point me to the right direction?


Thanks

Fritz
Image