Hi Derrell,
I tested your changes, and now the information gets sent to the server.
However, none of the eventlisteners work instead. I don't get a "completed"
event after a successful call to the server.
I know that the information travels to the server and is correct. However I
would still like to receive information from the server as a response to the
POST.
Regards,
Andréas
Derrell.Lipman wrote:
>
> Andréas Kühne <[EMAIL PROTECTED]> writes:
>
>> We have just migrated to the new 0.6.6 version of qooxdoo. However there
>> seems to be something wrong with the POST version of
>> qx.io.remote.Request. As far as I can see it uses the
>> qx.io.remote.IFrameTransport object when sending a POST with a form
>> attached. The problem is that a method seems to be missing
>> (this.getFormFields(), see below)
>>
>> Has anyone got the POST versions working?
>
> Sigh. The problem with quick fixes that people need right away is that
> those
> fixes end up in the distribution without any testing when that urgent need
> seems to vanish after the quick fix is provided. Bummer. I hate to be
> unresponsive, but then I end up feeling stupid when my fixes don't work.
> :-(
>
> Would you please apply this patch to 0.6.6 and confirm that it fixes the
> problem.
>
> Thanks,
>
> Derrell
>
>
> Index:
> frontend/framework/source/class/qx/io/remote/AbstractRemoteTransport.js
> ===================================================================
> ---
> frontend/framework/source/class/qx/io/remote/AbstractRemoteTransport.js
> (revision 6780)
> +++
> frontend/framework/source/class/qx/io/remote/AbstractRemoteTransport.js
> (working copy)
> @@ -107,6 +107,11 @@
> qx.OO.addProperty({ name : "parameters", type: "object" });
>
> /*!
> + Request form fields to send.
> +*/
> +qx.OO.addProperty({ name : "formFields", type: "object" });
> +
> +/*!
> Response Type
> */
> qx.OO.addProperty({ name : "responseType", type: "string" });
> Index: frontend/framework/source/class/qx/io/remote/Exchange.js
> ===================================================================
> --- frontend/framework/source/class/qx/io/remote/Exchange.js (revision
> 6780)
> +++ frontend/framework/source/class/qx/io/remote/Exchange.js (working
> copy)
> @@ -580,6 +580,7 @@
> propValue.setPassword(vRequest.getPassword());
>
> propValue.setParameters(vRequest.getParameters());
> + propValue.setParameters(vRequest.getFormFields());
> propValue.setRequestHeaders(vRequest.getRequestHeaders());
> propValue.setData(vRequest.getData());
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
--
View this message in context:
http://www.nabble.com/%28no-subject%29-tf3361859.html#a9355756
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel