|
NYCJava.net Main Page About NYCJava.net JUG Java Study Groups: Java Mobile SCJP 6 (Programmer Cert.) Design Patterns SCEA 5 (Architect Cert.) Java Enterprise Study Group Sponsor of the Skylight1 ![]() open source project Location Sponsor: ![]() A member SIG of http://nypc.org ![]() Sponsor of the NYC Java Meetup ![]() ![]() help support NYC Java: http://cafepress.com/nycjava ![]()
![]() Special thanks to: Sun Microsystems Prentice Hall O'Reilly JetBrains Apress and NYPC! Book Reviews Articles Java Links Java Jobs Humor About Duke System Info Find pages About this Wiki Wiki Quick Start WikiEtiquette
Set your name in
UserPreferences |
Since v1.6.3 you can now define your own plugins. These are just simply Java classes that implement the com.ecyrd.jspwiki.plugin.WikiPlugin interface and can be found from somewhere in your class path. The plugins work so that when you write a special code on the Wiki page, the plugins are invoked and their output is inserted into the page, verbatim. The form is: [{INSERT <plugin class> WHERE <param1=value1>,<param2=value2>,...}] You can also use a shortcut: instead of using [{INSERT com.ecyrd.jspwiki.plugin.RecentChangesPlugin you can also use [{INSERT RecentChangesPlugin}]. This works only with the plugins that come with JSPWiki, though. In addition, you can now (since 1.9.30) omit even the "INSERT", so the shortest possible version for plugins becomes: [{CurrentTimePlugin}] If a parameter contains spaces, you can use single quotes (') around the parameter. Like this: In the examples on the plugin documentation pages these forms are used interchangeably. [{INSERT CurrentTimePlugin format='dd MM yyyy'}] List of plugins included with JSPWiki
|
||||||