This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

Problem:#

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

the MultiVersionFileProvider is based on 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 is 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

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
jar
MultiVersionFileProvider-0.1-s... 3.5 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 particular version was published on 11-Mar-2010 21:50 by 165.219.245.62.