Hi,
   On click of a button, I want to start a process at the  server and
use a Timer to do a periodical retrieval of the console output from the
server for that process till the end of the output.
I declared a timer as an instance variable, initialized in the
constructor, and associated an "interval" event after the process
started.
When I try to load the page, I get the following error:
-------------------------------------------------------
$0.getUiReady is not a function
-------------------------------------------------------
Any idea about this error?

Thanks,
Raffi

Snippet of the code:

qx.Class.define("custom.Application",
{
  extend : qx.application.Gui,

  construct: function()
  {
        this.consoleTimer = new qx.client.Timer(1000);
  },

 members :
  {
    /**
     * TODOC
     *
     * @type member
     */
        
        consoleTimer : null,

        main: function()
        {
                ----
        },

        someFunction: function()
        {
                -----
                this.consoleTimer.addEventListener("interval",
function(e){
                        alert("test");
                }, this);
                consoleTimer.start();
        }
  }
  
}

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to