"Paulo Delgado" <[EMAIL PROTECTED]> writes: > I'm starting to use QxRequest and I've followed the steps in > > http://old.qooxdoo.org/documentation/transport-api-ajax > > > > But I get the following error: > > > > QxRequest[HASHCODE:252] > > 009188:Failed to execute "_dispatchEvent()":Could not dispatch event of type > "completed":e.getData().getContent is not a function
I'm not working with the branch you're using, but I think you might need to change that line to be: e.getData()[0].getContent() Note that I'm currently finishing up a bunch of work that will make the whole Transport/RPC mechanism substantially more robust. My work is in the newer "namespaces" branch, however. If you need reliable Transport capabilities and the ability to properly trap errors and determine what error or response is associated with which asynchronous request that you had generated, I'd suggest moving to using "namespaces". I should have my code checked in soon. Prior to checking it in, though, very soon I will be posting a patch for those using "namespaces" Transport to play with. It slightly changes the interface, so I want to give people a chance to comment before I check it in. Cheers, Derrell _______________________________________________ Qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
