Hi Sebastien,
I used this code for my application with a separate login application.

buttonLoginOk.addListener("execute", function (e) { var wLogin = this.__wLogin;
        var user = champLogin.getValue();
        var password = champPassword.getValue();

        wLogin.setShowStatusbar(false);

var result = this.SPOT2U_RPC.callSync("connexion", {login_utilis : user, passwd_utilis : password});

        if (result.authentification) {
          // Redirection vers la page client
          wLogin.close();
          window.open("/client/","_self");
        }
Thanks. I just couldn't find about this window.open. That was the missing piece.

cheers,
skar.

--
--
The life so short, the craft so long to learn.
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to