Glad things are starting to make sense.
Any good book on OOP should do the trick.
Jim
On Fri, May 8, 2009 at 1:16 AM, Andreas G. <[email protected]> wrote:
>
> i see the problem now ... maybe you know any good tutorial for event-driven
> programming? ;)
>
>
>
> Jim Hunter-2 wrote:
> >
> > You are not giving the call to the server enough time to respond before
> > you
> > are wanting to show the results. The class is not created until the first
> > time it is needed (getInstance), at that time it makes the call to the
> > server. While it is waiting for a return you are calling the alert. You
> > are
> > going to need to learn about asynchronous programming, and event driven
> > programming in order to understand why your code doesn't work.
> >
> > Jim
> >
> > On Fri, May 8, 2009 at 12:22 AM, Andreas G. <[email protected]> wrote:
> >
> >>
> >> here it is. ;)
> >>
> >> menuXmlTest: function()
> >> {
> >> var menuxml = qxgui.reg.MenuXML.getInstance();
> >>
> >> alert( menuxml.getMenu() );
> >> }
> >>
> >>
> >>
> >> Derrell Lipman wrote:
> >> >
> >> >>
> >> >>
> >> >>
> >> >> getMenu() delivers me a null ... again ... funny ;) going home now
> ...
> >> >>
> >> >
> >> > Your code doesn't show getMenu() being called. I'd guess that you're
> >> > calling
> >> > it before the results have arrived and caused setMenu() to be called.
> >> When
> >> > you provide examples, it would be best if you provided the entire
> >> minimal
> >> > test program demonstrating the problem.
> >> >
> >> > Derrell
> >> >
> >> >
> >>
> ------------------------------------------------------------------------------
> >> > The NEW KODAK i700 Series Scanners deliver under ANY circumstances!
> >> Your
> >> > production scanning environment may not be a perfect world - but
> thanks
> >> to
> >> > Kodak, there's a perfect scanner to get the job done! With the NEW
> >> KODAK
> >> > i700
> >> > Series Scanner you'll get full speed at 300 dpi even with all image
> >> > processing features enabled. http://p.sf.net/sfu/kodak-com
> >> > _______________________________________________
> >> > qooxdoo-devel mailing list
> >> > [email protected]
> >> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://n2.nabble.com/going-crazy-...-%28-callback-again-%29-tp2815007p2843952.html
> >> Sent from the qooxdoo mailing list archive at Nabble.com.
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> >> production scanning environment may not be a perfect world - but thanks
> >> to
> >> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
> >> i700
> >> Series Scanner you'll get full speed at 300 dpi even with all image
> >> processing features enabled. http://p.sf.net/sfu/kodak-com
> >> _______________________________________________
> >> qooxdoo-devel mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> >>
> >
> >
> ------------------------------------------------------------------------------
> > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> > production scanning environment may not be a perfect world - but thanks
> to
> > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
> > i700
> > Series Scanner you'll get full speed at 300 dpi even with all image
> > processing features enabled. http://p.sf.net/sfu/kodak-com
> > _______________________________________________
> > qooxdoo-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> >
> >
>
> --
> View this message in context:
> http://n2.nabble.com/going-crazy-...-%28-callback-again-%29-tp2815007p2844121.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
> i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel