HowToWriteAPageProvider

How to write a page/attachment provider

See also:

See the starting point for developing custom Page/Attachment providers to create a maven project holding the custom extension.

Code#

Coding a Page / Attachment provider is pretty straightforward:

and that's it!

Unit testing#

See JSPWikiPublicAPI#Testing

Package #

Deploy#

JSPWiki has to be notified that the Page / Attachment provider is going to be used. For that, a couple of entries in jspwiki-[custom].properties are used:

Category.Documentation