I was thinking basic current side AJAX, rather than doing something server side in
Velocity. It's not my area, but I'm sure it's possible. The idea is just too
get your browser to call the CGI script.
----- Reply message -----
From: "Jason Clemons" <jason.clemons(a)live.com>
To: "XWiki Users" <users(a)xwiki.org>
Subject: Re: [xwiki-users] Run external script to generate data for wiki page
Date: Fri, Dec 19, 2014 12:02
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
<bryn.jeffries(a)sydney.edu.au> 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 [jason.clemons(a)live.com]
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
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users