This is not really related to the macros since the macro execution is
server side and there is no standard helper to isolate the macro
execution in a ajax request and refresh it in the current page. You
will have to do that yourself: something like use ajax to do the
actual add/remove and refresh the table depending on the result
(either send a complete table in the result to update the displayed
page or add/remove lines from the table in javascript depending on the
result of the ajax request execution).
On Tue, May 13, 2014 at 6:57 AM, firmusoft.xwiki
<firmusoft.xwiki(a)gmail.com> wrote:
Can anyone please respond to my query?
On Tue, Apr 29, 2014 at 11:34 AM, firmusoft.xwiki <firmusoft.xwiki(a)gmail.com
wrote:
Hi,
I have a macro which displays all the objects of a class in a table. We
can add a new object to the class also, using the macro.
I want the newly added object listed in the table. Currently this happens
only when I reload the page.
Can we refresh a macro so that the table gets updated as soon as we add a
new object?
Please help me on this
Thanks,
Firmusoft
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Thomas Mortagne