>     this.addEventListener("dataReceived",function(e){
>       result = e.getData();
>       if ( result== null )
>       {
>         this.setRowCount(null);
>         this.setRowData([]);
>       }
>       else if ( "rowCount" in result )
>       {
>         this.setRowCount(result.rowCount);
>       }
>       else if ( "rowData" in result )
>       {
>         this.setRowData(result.rowData);
>       }
>     })

You have to add "this" as the third parameter to addEventListener - it
defines the object which will be set to "this" in the event handler
function. See http://demo.qooxdoo.org/current/apiviewer/#qx.core.Target

Hugh

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

Reply via email to