Hello,

but how i set the asyncrone  ?

Their is noc command to set

http://qooxdoo.org/documentation/1.0/remote_io

this is one of my actual request but where should i add the parameter?

                var req = new 
qx.io.remote.Request(jobs.system.Globals.processorURL, "POST", 
"application/json");
                req.setRequestHeader("Content-Type", 
"application/x-www-form-urlencoded");
                req.setParameter("m", "login");
                req.setParameter("c", "setLogin");
                req.setParameter("username", this.__username.getValue());
                req.setParameter("password", this.__password.getValue());
                req.addListener("completed", function(e) {
                    var j = e.getContent();
                    this.setUserdata(j);
                    if(!isNaN(j["USERID"]) && j["result"] == "OK"){
                        this.setLogininfo("Eingeloggt als: "+  
j["vorname"]+ " " +  j["nachname"] +" ("+j["nickname"] + ")");        
               
                        var mainmenu = new makebiz.system.MainMenu;
                        mainmenu.getMainMenuBar();
                        this.__closeeffect.start();
                        this.closeLoginbox();       
                        }
                    else {
                        this.setLogininfo("");
                        this.__prepareeffect.start();
                        }
                    },this);
                req.addListener("failed", function(e) {
                    var j = e.getContent();
                    alert("Failed Error: "+ j);
                    },this);
                req.addListener("timeout", function(e) {
                    var j = e.getContent();
                    alert("Timeout Error: "+ j);
                    },this);
                req.send(); // Abschicken
> Hello Stefan,
>
>
> http://n2.nabble.com/Application-ist-loaded-td4680086.html#a4680313 ,
> http://qooxdoo.org/documentation/1.0/remote_io and
> http://demo.qooxdoo.org/devel/apiviewer/#qx.core.Object~setUserData .
>
> Cheers,
> Jonathan
>
> -----
> Jonathan Weiß
> Framework Engineer
>
> http://mysterycity.de/blog Blog  -  http://www.linkedin.com/in/jonathanrass
> LinkedIn  -  http://www.xing.com/profile/Jonathan_Weiss5 XING 
>   


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to