« Return to Thread: Passing named parameter without the URL

Re: Passing named parameter without the URL

by Derrell Lipman :: Rate this Message:

Reply to Author | View in Thread

On Mon, Nov 17, 2008 at 3:45 PM, Jean-Baptiste BRIAUD -- Novlog <j-b.briaud@...> 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 ...

What does your debug console tell you?  There's almost certainly a message from qx.io.remote.<something> providing a reason.  Be sure that you're using the "source" version, not a "build", and that you've enabled a log appender, e.g. by adding these lines to your main():

      // Enable logging in debug variant
      if (qx.core.Variant.isSet("qx.debug", "on"))
      {
        // support native logging capabilities, e.g. Firebug for Firefox
        qx.log.appender.Native;

        // support additional cross-browser console. Press F7 to
        // toggle visibility
        qx.log.appender.Console;
      }

Derrell


-------------------------------------------------------------------------
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