Good work, Marc.

T.

On 05/08/2011 04:56 PM, Marc Puts wrote:
> On 05/08/2011 02:48 PM, dabd wrote:
>> url = "http://localhost:8080/sparql/resources/sparql/getusers";;
>> store = new qx.data.store.Jsonp(url, null, "callback");
>> model = store.getModel();                            
> The store fetches the data asynchronously. You need to wait for the
> "loaded" event to occur, because otherwise the model will not have been
> created yet.
>
> The correct way to do it is:
>
> store.addListener("loaded", function(ev) {
>     model = store.getModel();
> }, this);
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to