if(async) {
   self=this;
   xmlHttp.onreadystatechange = function() {
     if(xmlHttp.readyState == 4) {
         self.__onLoadWsdl(method, parameters, async, callback, xmlHttp);
     }
   }
}

self is JS for the window object.
try

if(async) {
   self.myob=this;
   xmlHttp.onreadystatechange = function() {
     if(xmlHttp.readyState == 4) {
         self.myob.__onLoadWsdl(method, parameters, async, callback, xmlHttp);
     }
   }
}

Sandy


Burak Arslan wrote:
> Amit Rana wrote:
>   
>> Burak Arslan ha scritto:
>>     
>>> - firebug shows the following error on page load, but soap calls work
>>> perfectly.
>>>
>>> self.__onLoadWsdl is not a function
>>> http://localhost:7789/static/frontend/source/class/soap/client.js
>>> Line 304
>>>
>>>       
>> maybe instead of self.__yourFunction try *this*.__yourFunction  ;-)
>>     
>  >
> here's the code:
>
> if(async) {
>    self=this;
>    xmlHttp.onreadystatechange = function() {
>      if(xmlHttp.readyState == 4) {
>          self.__onLoadWsdl(method, parameters, async, callback, xmlHttp);
>      }
>    }
> }
>
> which seems correct to me.
>
> using "this" gives:
>
> this.__onLoadWsdl is not a function
> http://localhost:7789/static/frontend/source/class/soap/client.js
> Line 303
>
> same error...
>
> and i repeat, wsdl and soap calls work perfectly after startup. so the 
> problem is somewhere else.
>
> burak
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> ------------------------------------------------------------------------
>
>
> Internal Virus Database is out of date.
> Checked by AVG. 
> Version: 8.0.101 / Virus Database: 270.6.21/1672 - Release Date: 15/09/2008 
> 09:21
>   

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to