Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-4) was last changed on 09-Apr-2003 17:19 by 129.69.13.219  

This page was created on 09-Apr-2003 15:23 by 129.69.13.219

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
###
When invoked, every plugin also gets a reference to the actual "WikiContext" with additional information about the actual environment.
At line 3 added 2 lines
The "showWikiContext" plugin examines this context and displays some of its contents.
At line 5 changed one line
Save the source code shown at the bottom of this page into a file called {{###.java}}. Then invoke the Java compiler as follows
Save the source code shown at the bottom of this page into a file called {{showWikiContext.java}}. Then invoke the Java compiler as follows
At line 7 changed one line
javac ###.java
javac showWikiContext.java
At line 15 changed one line
jar cvf ###.jar ###.class
jar cvf showWikiContext.jar showWikiContext.class
At line 27 changed one line
[{###}]
[{showWikiContext}]
At line 29 changed one line
As the class resides in the default directory, there is no need neither to prefix the plugin name with a package path nor to modify the plugin search path within the JSPWiki configuration file.
without any parameters (they would be ignored anyway). As the class resides in the default directory, there is no need neither to prefix the plugin name with a package path nor to modify the plugin search path within the JSPWiki configuration file.
At line 31 changed one line
###
A possible output of the plugin could look as follows:
At line 35 added 6 lines
!showWikiContext - examines the actual "WikiContext"
| __Wiki Engine:__ | RozekWiki (75 pages, up since Wed Apr 08 21:12:53 CEST 2003)
| __Wiki Page:__ | SandBox (version -1, modified on Wed Apr 08 21:15:27 CEST 2003)
| __Request Context:__ | view
Version Date Modified Size Author Changes ... Change note
4 09-Apr-2003 17:19 3.725 kB 129.69.13.219 to previous
3 09-Apr-2003 15:55 3.073 kB 129.69.13.219 to previous | to last
2 09-Apr-2003 15:52 2.111 kB 129.69.13.219 to previous | to last
1 09-Apr-2003 15:23 2.006 kB 129.69.13.219 to last
« This page (revision-4) was last changed on 09-Apr-2003 17:19 by 129.69.13.219