hello
im trying to develop an standalone application with qooxdoo. i want to load
each part
of GUI with PartLoader. i just want to load big group boxes when the user
select the related menu item from the menu. but when i run the code (execute
the part loading related function)
i got the error **"arguments.callee.base.call is not a function"**. im using
Firefox 3.6 on windows xp.
this is the my part loading code in Application.js:
qx.io.PartLoader.require(["part1"], function()
{
if (!this.__groupbox1)
{
this.__groupbox1 = new appname.Classname();
container.add(this.__groupbox1, {left:20, top:40});
}
}, this);
this is the Class code to be loaded:
qx.Class.define("appname.Classname",
{
extend : new qx.ui.groupbox.GroupBox,
construct : function()
{
this.base(arguments);
this._addContent();
},
members:
{
_addContent : function()
{
some_ui_parts;
this.add(some_ui.parts);
some_more_ui_parts;
this.add(some_more_ui_parts);
}
}
});
and this is the part of the config.jason related to PartLoader:
"jobs":
{
"common":
{
"packages" :
{
"parts" :
{
"boot" :
{
"include" : [ "${QXTHEME}", "appname.Application" ]
},
"part1" :
{
"include" : [ "appname.Classname" ]
}
}
}
}
}
note: i just replaced real appname & Classname with appname.Classname short.
i searched for this error but i could not find anything related.
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel