Since the server has no way (well, there is one way, see [1]) to tell the
client the data has changed you won't be able to update that list without
creating a new request to the server.
If your are using the Json Store, you just need to call: myStore.reload().
[1] Alternatively you can use comet, that is a technology to do what you
want (e.g. http://cometd.org/). But you will have to configure your server
to be able to do so. So it depends on which language/technology you are
using in the server side of your application.
On Tue, Jun 15, 2010 at 5:35 AM, Simone Pandolfo <[email protected]>wrote:
> hi,
> I am trying to configure a data binding that allows me to view live
> data.
>
> Reading the documentation I understood that this is done by the "model"
> but I haven't found examples about.
>
> My application use JSON-RPC for the requests to the backend, but the
> backend works with events and I wish I could update the interface based
> on events.
>
> I have writed a short application that read a json store file and put it
> in a list.
> when i change the data in the file, the list refresh only on reload of
> the page.
> what i need to do for make a model that update automaticaly the list?
>
> Best regards
> Sp
>
>
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit. See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel