Hi Tobias,

thank you for your help.
I have some functions too to get the URL and each parameter.
I wonder if QX has build in such function?

I have seen "GetParameter()" in qx.io.remote.Request

best regards
Hansjoerg


Vincents wrote:
> 
> Hi,
> 
> i don't know if qooxdoo has something own but her is my method to get the
> URL-Data:
> 
>               getParams : function(){
>                       
>                       var params = "";        
>               var urlParams = window.location.search;
>       
>               if (urlParams.length > 0)
>               {
>                               urlParams = urlParams.substr(1, 
> urlParams.length);
>                               params = urlParams.split("&");
>               }
>       
>               
>       
>               for (var i=0; i<params.length; i++)
>               {
>                               param = params[i].split("=");
>                               scripts.UrlData.PARAMS[param[0]] = param[1];
>                       
>               }
>               }
> 
> 
> Tobias
> 
> -----Ursprüngliche Nachricht-----
> Von: Qoodary [mailto:[email protected]] 
> Gesendet: Montag, 8. Februar 2010 10:03
> An: [email protected]
> Betreff: [qooxdoo-devel] Getting URL parameter?
> 
> 
> Hi list,
> 
> is there any function or Class in QX where you can get URL parameters?
> I want to load the index.html with an Parameter,
> index.html?UserID=3
> 
> Inside the application.js I need the "UserID" for a remote request.
> 
> Or have I to write an own function to get this Parameter?
> 
> best regards
> Hansjoerg
> 
> -- 
> View this message in context:
> http://old.nabble.com/Getting-URL-parameter--tp27496972p27496972.html
> Sent from the qooxdoo-devel mailing list archive at Nabble.com.
> 
> 
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the
> business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the
> business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Getting-URL-parameter--tp27496972p27498656.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to