Oldest first Newest first Threaded. Show comments Show property changes. Changed 14 years ago by guest. If I pass a DOM node for the "form" attribute, then the test case works for me: form: dojo. Proposed repair attached. Changed 14 years ago by Rawld Gill. Also provides the ability to register additional types of handlers. Error in the documentation? Let us know! The number of milliseconds to wait for the response. If this time passes the request is canceled and the promise rejected.
The content handler to process the response payload with. The HTTP method that should be used to send the request. I am using the iframe for json handleAs response, and receiving the same error than in the python code. My response is something like:.
But wat it seems to me strange, is that when I am writing a message to a file as the first line in a trivial php program, this line is not written. So it seems that the program is not being executed at all. Of course this trivial program has no syntax errors and is being executed correctly from other non 'iframe' Dojo methods.
I cannot be sure, exactly when. But if I remember well, I tested this piece of code two weeks ago and still worked as always since I wrote the code, at least half year ago. For sure something changed, If it is intentional, and if the python test will be corrected accordingly, I will do the same in my php code or in the javascript. Other than the reason noted above about reliability getting proper events indicating data retrieved , the choice of using textarea was because a textarea provides a fixed container that dojo can locate in the iframe DOM and extract the contents from.
Once the data is obtained, the usual data handlers from dojo process it and pass it back through the callbacks specified by the user. A common use of dojo. Startpage Dojo Dijit DojoX. Dojo 1. These situations are fairly common and include the following: Calling a service on a server other than the one that originated the calling page cross-domain request. Note that in this case, the response body cannot be read.
So you can send stuff, but not get any replies.
0コメント