« Return to Thread: Passing named parameter without the URL

Re: Passing named parameter without the URL

by Jean-Baptiste BRIAUD -- Novlog :: Rate this Message:

Reply to Author | View in Thread


On 17 Nov 2008, at 21:45, Jean-Baptiste BRIAUD -- Novlog wrote:

On 17 Nov 2008, at 21:21, Derrell Lipman wrote:

On Mon, Nov 17, 2008 at 2:25 PM, Jean-Baptiste BRIAUD -- Novlog <j-b.briaud@...> wrote:
Hi,

I'm using io.remote.Request and I'm trying to pass named parameters
with setParameter method.
http://demo.qooxdoo.org/current/apiviewer/#qx.io.remote.Request

Unfortunatly, I found my param name and value always encoded in the
URL : &name=value

How can I pass the parameter inside the HTTP request without the URL ?

Using setParameter() specifically tells it to encode the parameters in the URL.  I believe you're looking for setFormField().

That may explain something :-)

Strangely, when I use setFormField, the request is not submited ...

OK, I managed to make it work with setFormField but from my backend point of view, it look like using form and setting a request parameter is not exactly the same.
Could one confirm that using form and using request parameter is different or is the same ?


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

 « Return to Thread: Passing named parameter without the URL