Hi,

it's more a shot in the dark but I think the problem could be how you call your 
"getStartLoginbox" function.
If you access it in a static way then maybe replacing 
"this.getApplicationRoot()" with "qx.core.Init.getApplication().getRoot()" 
would fix the problem.

Regards,
Andreas

> -----Ursprüngliche Nachricht-----
> Von: smisonl...@googlemail.com [mailto:smisonl...@googlemail.com]
> Gesendet: Freitag, 5. Februar 2010 08:54
> An: qooxdoo Development
> Betreff: Re: [qooxdoo-devel] getApplicationRoot?
> 
> 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.
> >>>
> >>>
> >>>
> >>> --------------------------------------------------------------------------
> ----
> >>> 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
> >>>
> >>>
> >>
> >> ---------------------------------------------------------------------------
> ---
> >> 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
> >>
> >>
> >>
> >
> 
> 
> ------------------------------------------------------------------------------
> 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

------------------------------------------------------------------------------
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

Reply via email to