Hi Thomas,

1. welcome to the _english_ qooxdoo forum ;)

2. For a quick start, I would recommend something like this:
   <code>
   // -------------------------------
   var toUriString = function (obj)
   {
     var tmp = [];
     for (var key in obj)
     {
       var val = obj[key].toString();
       tmp.push(encodeURIComponent(key) +
                "=" +
                encodeURIComponent(val) );
     }
     return tmp.join("&");
   };
   // -------------------------------

   var myObject = {
     foo    : 1,
     bar    : "one",
     baz    : 1.234,
     umlaut : "dängerous"
   };

   alert( toUriString(myObject) );
   </code>


/Peter

On 2010-08-30 17:05 Thomas Bückemeyer wrote:
> Hallo zusammen,
> 
> ich habe einen  qx.io.remote.Request und über req.setParameter Parameter 
> gesetzt.
> 
> Ich würde gerne eine Schleife durchlaufen, um alle gesetzten Parameter 
> als String zurückzubekommen. Mit getParameters bekomme ich zwar ein 
> Objekt zurück, aber wie durchlaufe ich das, damit ich alle Parameters 
> z.b. einem String zuweisen kann der Art: "param1=wert1&param2=wert2&..."
> 
> Das ist vermutlich doch nicht so schwer, oder?
> 
> Gruß
> Thomas

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to