JSPWiki logo
Main page
About
News
Recent Changes
WikiEtiquette

Find pages
Unused pages
Undefined pages
Page Index

Set your name in
UserPreferences

Edit this page


Referenced by
JSPWikiTags




JSPWiki v2.2.14-beta


[RSS]

PluginTag


Allows you to insert any of the JSPWikiPlugins directly into the template.

Usage

<wiki:Plugin plugin="<plugin class>" args="<argument string>">
  <optional plugin body>
</wiki:Plugin>

Parameters

plugin
The fully-fledged class name of the plugin. If the plugin is one of the standard plugins that come with the JSPWiki distribution OR it's package name has been added to jspwiki.properties (see jspwiki.plugin.searchPath), then you can use also the class name directly.
args
The argument string to the plugin, as if you were giving it on the page itself.

To include a body to the plugin, include it in the body of the tag.

Example

<wiki:Plugin plugin="Counter" args="name='foo'" />

Inserts the CounterPlugin, with its name set to 'foo'.

<wiki:Plugin plugin="FooBar" args="name='foo'">
   I am body text.
</wiki:Plugin>

Inserts the FooBar plugin, with the arguments "name" set to "foo", and the plugin body set to "I am body text".


Back to JSPWikiTags.




Go to top   Edit this page   More info...   Attach file...
This page last changed on 26-Mar-2006 00:48:48 EET by unknown.