ok, next topic ... doh.

code:

qx.Class.define("qxgui.reg.MenuXML",
{
    extend: qx.core.Object,
    type: "singleton",
    
    construct: function()
    {
        var rpc = new qxgui.utils.Rpc;
        
        rpc.addListener( "completed", function(e)
        {
            qxgui.reg.MenuXML.getInstance().setMenu( e.getData().result );
        });
        
        rpc.callAsync( "getMenuXml" );
    },
    
    members:
    {
        // eigenschaften
       
////////////////////////////////////////////////////////////////////////
        
        __menuxml: null,
        
        
        // methoden
       
////////////////////////////////////////////////////////////////////////
        
        setMenu: function( menuxml )
        {
            if( menuxml != null)
                this.__menuxml = menuxml;
            
            alert( this.__menuxml ); // works
        }, 
        
        getMenu: function()
        {
            alert( this.__menuxml ); // does not

            return this.__menuxml;
        }
        
    }
});


getMenu() delivers me a null ... again ... funny ;) going home now ...
-- 
View this message in context: 
http://n2.nabble.com/going-crazy-...-%28-callback-again-%29-tp2815007p2828892.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

Reply via email to