hello. at first the code ...
qx.Class.define("qxgui.reg.MenuXML",
{
extend: qx.core.Object,
type: "singleton",
construct: function()
{
var rpc = new qxgui.utils.Rpc;
rpc.callAsync( "getMenuXml", null, function( result )
{
qxgui.reg.MenuXML.getInstance().setMenu( result );
});
},
members:
{
// eigenschaften
////////////////////////////////////////////////////////////////////////
__menuxml: null,
// methoden
////////////////////////////////////////////////////////////////////////
setMenu: function( menuxml )
{
this.__menuxml = menuxml;
},
getMenu: function()
{
return this.__menuxml;
}
}
});
usage: var menu = qxgui.reg.MenuXML.getInstance().getMenu();
now back to my problem ... when i run alert( menuxml ) in setMenu, i get the
right output (some xml stuff). actually, the result is saved in the property
__menuxml, right?
but alert( menu ) gives me the damn null. any suggestions?
--
View this message in context:
http://n2.nabble.com/going-crazy-...-%28-callback-again-%29-tp2815007p2815007.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