Problem:

how to separate your domainwiki-pages from other wiki-pages (e.g. the corewiki-pages or default help-pages)?

the MultiVersionFileProvider is based an the default VersionFileProvider and solves the problem like this:
  • you have to configure multi page dirs in the jspwiki.properties (see Installation).
  • if a page requested, the provider looks in every pagedir and return the correspondent page (if exists).
  • the first pageDir-entry is the master dir. every NEW page is created in this dir. you can't create new pages in the other folders.

tested with JSPWiki Version 2.5.166-cvs.
it is not working with MultipleWikis, because the ReferenceManager is not refreshed.

Installation:

jspwiki.pageProvider = de.oomodeller.jspwiki.providers.MultiVersionFileProvider
...
jspwiki.fileSystemProvider.pageDir = c:\\wikipages\\domainpages
jspwiki.fileSystemProvider.pageDir.2 = c:\\wikipages\\defaultpages
jspwiki.fileSystemProvider.pageDir.3 = c:\\wikipages\\helppages

ToDo:


-- OlafKaus, 04 Jan 08
more Category Provider

Add new attachment

In order to upload a new attachment to this page, please use the following box to find the file, then click on “Upload”.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
jar
MultiVersionFileProvider-0.1-s... 3.4 kB 1 04-Jan-2008 11:32 89.182.154.235
jar
MultiVersionFileProvider-0.1.j... 5.4 kB 1 04-Jan-2008 11:32 89.182.154.235
« This page (revision-1) was last changed on 04-Jan-2008 11:32 by 89.182.154.235 [RSS]