If using URI parameters is a way to go, you could use 
qx.util.Uri.parseUri and detect parameters added along with the main URI 
of you app.

You could have a link like

     http://mysite.com?pwdchange=123456&foo=bar

still opening your app and detecting the parameters in 
qx.application.Standalone.main:

     var uri = qx.util.Uri.parseUri(window.location);

     /* yields
     uri.queryKey === {
         pwdchange: "123456",
         foo: "bar"
     };
     */

     if(uri.queryKey && uri.queryKey.pwdchange) {
         this.showPwdChangeWindow(uri.queryKey);
     }
     else {
         // default code
     }

For more sophisticated URI parsing you could use a library like 
http://medialize.github.io/URI.js/

And in the end you could rewrite URLs on the webservers side which turn 
links like http://mysite.com/pwdchange/123456 into 
http://mysite.com?pwdchange=123456



Am 11.12.2015 um 08:28 schrieb Dietrich Streifert:
> Good Morning Voger,
>
> OK I think I just don't get it.
>
> Do you have a scenario for us (besides the password change) what you 
> are trying to achieve? Something like a workflow description?
>
> Do you mean something like:
>
> 1. Start app in default mode:
>
>     http://mysite.com/
>
> 2. Start app in password change mode:
>
>     http://mysite.com/pwdchange?someparameter=somevalue
>
> 3. Start app and Show apps register user wizard:
>
>     http://mysite.com/register
>
> ?
>
>
>


------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to