ok I've solved using :

var s = window.location.search;
var gP = window.location.parameters = {};  
                        if (s) 
                                {
                                  var parts = s.substr(1).split("&");
                                  
                                        var a = parts[0].split('=');
                                        var b = parts[1].split('=');
                                }


so I have index.html?va1="pippo"&va2="pluto"

then in my Application.js I'll have a[1]="pippo" and b[1] ="pluto"

I don't know if it's the best way to do this but I hope this will be usefull

Regards,

Matteo Masina


--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/send-parameters-to-a-standalone-application-tp7246136p7246456.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to