That was exactly what I was looking for!
I'll see if I can get a real update running, if I do - I'll be sure to
let you know. The processing bubble isn't a problem
in this project, since the whole view is just displayed on an
auxiliary screen and used for orchestration.
Thanks a lot!
//Daniel
On Feb 6, 2008, at 1:34 PM, Axel Hecht wrote:
> I'm using
>
> exhibit
> .getDatabase
> ().removeAllStatements
> ();exhibit.getDatabase().loadDataLinks(function(){});
>
> in my firebug console to refresh the data. Didn't get around to hook
> that up to a button yet. I haven't found a way to actually update the
> database, I guess you had to do some kind of mark-sweep approach for
> that.
>
> Randomly made up pseudo code:
> create a new database, loadDataLinks on that, with marksweep() as
> callback, in marksweep, go through all arcs in both databases and
> update one from the other.
>
> I doubt I'm going to ever hook up my reload step to a timer, as it
> really tears down the whole exhibit, and creates the content from
> scratch. It does keep the selection on the facets, and the selected
> view, but you see the processing bubble, and no content. that's pretty
> interruptive to be run on a timer, IMHO.
>
> If you get a real update running, I wanna have! :-)
>
> Axel
>
> 2008/2/6, Daniel Sundström <[EMAIL PROTECTED]>:
>> Hi!
>>
>> I want to make an auto-updating Exhibit, more specifically - an
>> Exhibit based on an auto-updating data-set. Since Exhibit loads all
>> data on load (per default), what would
>> be the best way to achieve this? Is it possible to just use some
>> Prototype.PeriodicalExecuter-magic to add data to the already loaded
>> JSON, or do I have to reload the whole data-structure?
>>
>> Have anyone done this? Is there any examples?
>>
>> Regards,
>>
>> Daniel Sundström
>> _______________________________________________
>> General mailing list
>> [email protected]
>> http://simile.mit.edu/mailman/listinfo/general
>>
>
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general