The following function is within a class in a module. Is it possible to return "oNewMenu" from the function or to make "oNewMenu" a class property? If so,...
Hello Dave, ... you can not return oNewMenu from the function because oNewMenu gets set asynchronously "long after" the function returns. You can though make...
I used the "var oSelf = this;" option and it works great! Unless it is easy to impliment the "bound" method improvement I tend to think that it isn't worth the...
Here is the code ( the part that I don't understand what's happening) which deals the class inheritence... //GLOBAL var oNodeManager = null; oNodeManager = new...
I made a dumb mistake: I put the alert inside a callback function! So the "var oSelf = this;" solved the problem. With egg on my face, Dave ... supr){ ... ...
Does jsolait fully support UTF-8? For example would it support sending data like this? The example chat program throws an error when this string is received. ...
Hello. Great work on the library! I have a small question though. When I create a new class using Class all private variables are static: mod.TestClass =...
... TestClass ... Actually public variables are static as well. This pretty much imposes single object at a time for the class limit, or the objects of the...
... I would say no, but that is not 100% correct. It depends how you access it. if you use this.publVar = ... (or from the outside obj.publVar) then it is a...
I attempted to perform the test cases for the HTML chat using Safari for both JSON-RPC and XML-RPC. In both cases I received error conditons. Is Safari not...
... Yes and no. It could be possibe to create a function similar to "supr" which would access private properties and methods but to be honest it would not be...
Safari has/had a bug in the XMLHttpRequest-object which sends a null at the end of each request to the server. I think they have fixed it now and jsolait...
Thank you for the link! I tried visiting it with the offending browser and it claims: "Your browser PASSED the JSON-RPC test." The user agent string for the...
Thanks for the tips. They were really helpful. It makes me wonder though what are real advantages of using Class provided by JSOLait vs. using standard JScript...
... Interesting, I assume there is something wrong with my site then. It might have to do with the dynamic loading of modules in jsolait. I fixed the page not...
... Subclassing/prototyping is internally pretty much the same as in normal JS. jsolait just takes care of some tasks that are unnessisary to write again and...
This is strange and I feel a bit lost. The ModuleImportFailed error only occurs if jsolait tries to load a module file that is not already refferenced in the...
... send ... it ... as an ... I took a look at another project (www.jpspan.net) and looked at how they solved a Safari issue they had with the latest release....
... it ... Well, there's always another way - to fall back to the old JScript OO, although it will make the code to look somewhat uglier. The idea is to...
... I fixed the xmlrpc.py module: http://jan.kollhof.net/projects/xmlrpc/xmlrpcpy/index.xhtml on the server. I had someone try it out with safari and it seems...
... Scopes are lovely things! ... You gotta make sure that all subclasses call the init method. Also, just having the class you cannot inspect what properties...
Thanks for your reply. After thinking about it a bit more it doesn't matter if the function is public in the superclass because the superclass will not be...
... refferenced I tried out the JSON-RPC Html Chat again in Safari and the import failed messages still occur. For reference the link I am trying is: ...
Hi, 1. I have rewritten the json-rpc module. It is pretty much the same as the xmlrpc one. Almost the same interfaces only the encoding of the data differs. I...
Should this fix the JSON-RPC issue Safari had earlier (see errors below)? Unfortunatley I don't have access to my Safari testbed today so I can't verify it.......