Aah, but of course... Why didn't I think of this, I've done it before but got wrapped up in things so much I guess I just missed it. Thanks guys, FWIW I think XWiki is a remarkable platform. Just wanna put it out there ;) Op 18-7-2016 om 9:30 schreef Eduard Moraru:
Hi,
As Vincent mentions, REST is the way to go.
An alternative, though, is to use the save action's URL: http://platform.xwiki.org/xwiki/bin/view/DevGuide/Standard+URL+Format#HActio...
Thanks, Eduard
On Mon, Jul 18, 2016 at 10:28 AM, Vincent Massol <[email protected]> wrote:
Hi Jean-Paul,
On 16 Jul 2016, at 15:58, Jan-Paul Kleijn <[email protected]> wrote:
Hi good folks,
Is there a way to save a page using javascript?
I read the XWiki JavaScript API but could not find this functionality. You should check the XWiki REST API: http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI
I don’t think there’s any JS API that encapsulate this but I could be wrong.
Thanks -Vincent
Thanks in advance,
Jan-Paul
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
--- Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware. https://www.avast.com/antivirus