Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
txt
DO NOT USE.txt.txt 0.0 kB 1 16-Jan-2009 05:33 Andrew Gilmartin Depricated
jsp
browse.jsp 66.9 kB 1 04-Feb-2006 07:19 148.221.80.109
jar
jspwiki-js-plugin-26Jul2006.ja... 13.5 kB 1 26-Jul-2006 22:47 Nascif Abousalh-Neto
zip
jspwiki-js-plugin-jspwiki-2.8-... 25.0 kB 1 16-Jan-2009 05:21 Andrew Gilmartin Made "info" classes public to work with latest Java, JSPWiki, and Tomcat
zip
jspwiki-js-plugin-src-26Jul200... 9.4 kB 1 26-Jul-2006 22:47 Nascif Abousalh-Neto
jar
jspwiki-js-plugin.jar 13.2 kB 1 03-Mar-2005 23:46 68.9.19.21
gz
jspwiki-js-plugin.tar.gz 6.0 kB 1 21-Feb-2005 21:39 216.41.98.254

This page (revision-33) was last changed on 16-Jan-2009 22:07 by 70.181.22.24  

This page was created on 21-Feb-2005 21:36 by 216.41.98.254

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 1 changed one line
This [Contributed Plugin] allows you to execute JavaScript code on the server. Useful for creating pages with dynamic content. This plugin is experimental at this stage; clearly better wiki integration and server safety issues need to be addressed.
This [Contributed Plugin] allows you to execute JavaScript code on the server. Useful for creating pages with dynamic content. This plugin is stable but experimental; clearly better wiki integration and server safety issues need to be addressed.
At line 3 added 8 lines
[{InsertPage page='SecurityRisk'}]
%%commentbox
See also:
* [Groovy Plugin]
* [Tcl Plugin]
%%
At line 5 changed one line
For more information please contact [Andrew Gilmartin] at andrewgilmartin at yahoo.com.
For more information please contact [Andrew Gilmartin] at andrew@andrewgilmartin.com.
At line 7 removed one line
!! Building
At line 9 removed one line
**Update** [Nascif Abousalh-Neto] has contributed an updated version of the plugin that works with JSPWiki 2.4.24. These build instructions need to be updated.
At line 11 changed one line
To built you will need to
!! Building
To built you will need to add the following libraries to the project's lib directory:
* JSPWiki.jar from your JSPWiki 2.8 installation;
* servlet-api.jar from your Apache Tomcat 5.5 or 6.x installation;
* js.jar from Rhino 1.7 at [http://www.mozilla.org/rhino/download.html];
At line 13 changed 4 lines
# copy the JSPWiki.jar to the project's lib directory. Note that I have only built the plugin against the JSPWiki 2.0.39 source.
# copy js.jar from Rhino 1.6R1 at [http://www.mozilla.org/rhino/download.html]
# copy xbrean.jar from at XMLBeans v1.0.3 at [http://www.apache.org/dist/xml/xmlbeans/v1.0.3/bin/xmlbeans-1.0.3.tar]. Note that this is a tar.gz file dispite the file name.
# copy servlet.jar from, for example, your Tomcat installation.
The plugin is available for
At line 18 changed one line
Then run {{ant}}
* JSPWiki 2.8, Rhino 1.7, and Apache Tomcat 6 at [http://www.jspwiki.org/attach/JSPlugin/jspwiki-js-plugin-jspwiki-2.8-java-1.6.zip]
* others...
At line 20 changed one line
The code does not yet conform to the [JSPWIki Coding Standard|My Coding Standard].
Then run {{ant}}.
At line 30 added 2 lines
The code does not yet conform to the [JSPWiki Coding Standard|My Coding Standard].
At line 24 changed one line
Copy the file {{build/jspwiki-js-plugin.jar}}, {{lib/js.jar}}, and {{lib/xbean.jar}} to JSPWiki's {{WEB-INF/lib}} directory.
Copy the file {{build/jspwiki-js-plugin.jar}} and {{lib/js.jar}} to JSPWiki's {{WEB-INF/lib}} directory.
At line 36 changed one line
[{com.ingenta.jspwiki.plugin.js.JSPlugin result='text|xml|wiki'
[{com.ingenta.jspwiki.plugin.js.JSPlugin scriptResult='text|xml|wiki'
At line 41 changed one line
[{scriptPage result='text|xml|wiki'
[{scriptPage scriptResult='text|xml|wiki'
At line 88 added 2 lines
At line 97 removed 21 lines
----
! Comments
Q: I can't get the JSPlugin compiled yet. Is it possible to post the .jar on this page.\\
My compiler complains about the call to {{wikiEngine.saveText(...)}} in ~JSWikiPage.java.
-- [DF|DirkFrederickx]
A: Done. Note that this version works with JSPWIki 2.0.39. -- [Andrew Gilmartin]
----
Q: Help of how to use this plugin is not good enough. e.g. where do we neet to use scriptPage and why? in which cases is it suitable to use it and all things should be given properly.
-- [Kiran thakkar]
A: There are a number of examples on the [JSPluginScripts] page. Perhaps these will answer your questions. Otherwise, please do send me email with some context of how you want to use the plugin and perhaps with all this information I can help. -- [Andrew Gilmartin]
----
Attached the source code and compiled jar file for a version od JSPlugin that was fixed to work with the latest version of JSPWiki (2.4.24). The plugin was also validated with the latest versions of Rhino (1.6R2) and XMLBeans (2.20). \\
-- [Nascif Abousalh-Neto], 26-Jul-2006
Version Date Modified Size Author Changes ... Change note
33 16-Jan-2009 22:07 4.971 kB 70.181.22.24 to previous
32 16-Jan-2009 05:31 4.974 kB Andrew Gilmartin to previous | to last
31 16-Jan-2009 05:30 4.952 kB Andrew Gilmartin to previous | to last
30 16-Jan-2009 05:27 5.044 kB Andrew Gilmartin to previous | to last Removed old comments
29 16-Jan-2009 05:26 6.045 kB Andrew Gilmartin to previous | to last Updated for jspwiki-js-plugin-jspwiki-2.8-java-1.6.zip build
28 26-Sep-2007 23:14 6.026 kB JanneJalkanen to previous | to last
27 26-Sep-2007 01:55 6.036 kB 161.200.255.162 to previous | to last
26 04-May-2007 01:51 6.026 kB 70.181.21.3 to previous | to last
25 04-May-2007 01:50 6.024 kB 70.181.21.3 to previous | to last
24 01-Mar-2007 01:58 6.008 kB MurrayAltheim to previous | to last added security warning
23 11-Dec-2006 17:45 5.968 kB NascifAbousalhNeto to previous | to last Adding link to Groovy Plugin
22 04-Aug-2006 20:35 5.918 kB Nascif Abousalh-Neto to previous | to last
21 27-Jul-2006 17:57 5.906 kB Nascif Abousalh-Neto to previous | to last
« This page (revision-33) was last changed on 16-Jan-2009 22:07 by 70.181.22.24