Then, I think, you'll have to reproduce the error in the playground (or in a small Application).
BTW, do you have a name? I find anonymous post not particularly polite ... or is this eMail address just a synonym for devmanfrommars? Cheers, Fritz On Fri, 5 Feb 2010, smisonl...@googlemail.com wrote: > Hello, > > no, no error. i try in a sub method to add a win and then set > > subwin.getApplicationRoot() and that runs fine. >> Do you get an error message in the console window? I suspect that "this" >> might not be set. >> >> Cheers, >> Fritz >> >> On Fri, 5 Feb 2010, smisonl...@googlemail.com wrote: >> >> >>> Hello, >>> >>> no, i try >>> >>> this.getApplication().getRoot() >>> this.getRoot() >>> this.getApplicationRoot(); >>> >>> nothing is working >>> >>> >>>>> Hello, >>>>> no , , i try this >>>>> >>>>> getStartLoginbox : function () >>>>> { >>>>> var req = new >>>>> qx.io.remote.Request(job.system.Globals.processorURL, "POST", >>>>> "application/json"); >>>>> req.setRequestHeader("Content-Type", >>>>> "application/x-www-form-urlencoded"); >>>>> req.setParameter("m", "login"); >>>>> req.setParameter("c", "isLogin"); >>>>> >>>>> req.addListener("completed", function(e) { >>>>> var j = e.getContent(); >>>>> >>>>> if(j["result"] == "ERROR") >>>>> { >>>>> this.openLoginbox(j["message"]); >>>>> } >>>>> else >>>>> { >>>>> this.getApplicationRoot().unblock(); >>>>> } >>>>> },this); >>>>> req.send(); // Abschicken >>>>> }, >>>>> >>>>> >>>>> this doesnt work: >>>>> this.getApplicationRoot().unblock(); >>>>> >>>>> >>>>> >>>>> >>>>>> this.getRoot() ? >>>>>> >>>>>> >>>> This was not a question, but a suggestion. Fritz meant to say you should >>>> use this.getRoot in place of this.getApplicationRoot. >>>> >>>> T. -- Oetiker+Partner AG tel: +41 62 775 9903 (direct) Fritz Zaucker +41 62 775 9900 (switch board) Aarweg 15 +41 79 675 0630 (mobile) CH-4600 Olten fax: +41 62 775 9905 Schweiz web: www.oetiker.ch ------------------------------------------------------------------------------ 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 qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel