Re: [xwiki-users] Refreshing a LiveTable

2015-01-30 Thread beldaz
That did it, thanks. It does seem like it would be easier if the livetable could listen out for a reset event, since it already listens for others, but I couldn't get any other way to work. -- View this message in context: http://xwiki.475771.n2.nabble.com/Refreshing-a-LiveTable-tp7593770p759

Re: [xwiki-users] Refreshing a LiveTable

2015-01-27 Thread Clemens Klein-Robbenhaar
On 01/27/2015 02:52 AM, Bryn Jeffries wrote: > Is there a "right" way to make a LiveTable refresh? > I do not know of a "right way", but one that currently works is to fetch the livetable by its name, and refetch the current rows via some not-so obvious code, like: var livetable = window['liv

[xwiki-users] Refreshing a LiveTable

2015-01-26 Thread Bryn Jeffries
Is there a "right" way to make a LiveTable refresh? I have a page that includes a LiveTable to show the results of a query on an external database, and a form triggers an AJAX call to modify the database (e.g., insert a new row). I'd like the AJAX call to include an action within OnSuccess to m