I have control over the script..so it can be in the CGI bin...would I then be able to invoke it through velocity?
> On Dec 18, 2014, at 6:01 PM, Bryn Jeffries <[email protected]> > wrote: > > How "external" is the external script? Couldn't you wrap the script into a > cgi script on the same server and invoke it from the client with an AJAX call? > ________________________________________ > From: Jason Clemons [[email protected]] > Sent: 19 December 2014 10:00 > To: 'XWiki Users' > Subject: Re: [xwiki-users] Run external script to generate data for wiki page > > Bump... :) > > Hello all, > > I'm wondering if anyone has done anything like this before so, I thought I'd > ask it here. Essentially, what I want to do is have a page / form that my > users fill out and then submit. Upon submit I need to invoke an external > script (e.g..Perl, Python, VBScript, Batch etc...) that will do some quick > data gathering then insert some data in a database. Once the script > generates the data the page will then retrieve it and render some results > based on it. Most of the mechanics I can figure out I think, but I wanted > to get some tips on the best way to actually invoke the script from a page > in Xwiki. > Any ideas or suggestions are appreciated... > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
