akrherz
24 Jun 2009, 4:06 PM
Hi,
My use case is to have a DataView of webcam images that are stored on the server and I wish for the client to refresh these images every minute. Optionally, the user can selectively disable certain webcam images from refreshing (still working on that). Anyway....
I am basically following the DataView example shown in the docs and get the images to display via a JsonDataStore. Now, how can I get the images to refresh? I don't need/want to reload the datastore, as it will fire a needless json request.
The docs indicate a dataview.refresh() may be what I want, but it doesn't appear to actually do anything (templates are not re-rendered).
Anybody giveme a hint onto what I am probably obviously missing? :)
thanks!
daryl
My use case is to have a DataView of webcam images that are stored on the server and I wish for the client to refresh these images every minute. Optionally, the user can selectively disable certain webcam images from refreshing (still working on that). Anyway....
I am basically following the DataView example shown in the docs and get the images to display via a JsonDataStore. Now, how can I get the images to refresh? I don't need/want to reload the datastore, as it will fire a needless json request.
The docs indicate a dataview.refresh() may be what I want, but it doesn't appear to actually do anything (templates are not re-rendered).
Anybody giveme a hint onto what I am probably obviously missing? :)
thanks!
daryl