More with QxRequest:

I'm trying to add some parameters to my QxRequest:

 

var myTransport = new QxRequest('/user/login', 'POST', 'application/xml');

myTransport.setParameter('username', u_name);

myTransport.setParameter('password', u_password);

 

 

and I get the following error:

 

008531:Failed to execute "_dispatchEvent()":Could not dispatch event of type "click":myTransport.setParameter is not a function

 

There is nothing on the documentation about this, any ideas?

 

 

 

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hugh Gibson
Sent: Wednesday, June 07, 2006 9:17 AM
To: [email protected]
Subject: Re: [qooxdoo-devel] Using QxRequest

 

> 009188:Failed to execute "_dispatchEvent()":Could not dispatch event

> of type "completed":e.getData().getContent is not a function

 

It means there was a bug in your code (doh!). The exception catcher in the dispatcher caught an exception and is giving you some more information.

 

Cut out code in the function until it works. That will indicate where the error is.

 

Hugh

 

 

_______________________________________________

Qooxdoo-devel mailing list

[email protected]

https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to