On Fri, Feb 17, 2012 at 05:40, chrjab <[email protected]> wrote:
> Ok, this is my source code. The window never appears before the request
> starts. At first I call the initReq function and then the getTopMenuItems
> function.
>
Your code looks fine for most purposes. The "appear" event technically
means, however, that the DOM is complete (all width calculations, etc.,
have been completed) and the result is effectively rendered. I suppose it's
possible that it's not actually visible on the screen yet. Try this small
change to see if it fixes things for you:
> this.getWin().addListener("appear", function(){
> this.getReq().send();
> }, this);
>
> this.getWin().addListener(
"appear",
function()
{
> qx.util.TimerManager.getInstance().start(
function(userData, timerId)
{
this.getReq().send();
},
0, // no recurrent timer
this, // context
null, // userData
100); // enough time to return to JavaScript to ensure visible on
screen
},
this);
Derrell
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel