Using JSPWiki plugins in Liferay Portal 6

One of the render engines of wiki syntax in Liferay Portal, is the JSPwiki engine (with its creole syntax). JSPWiki is also an opensource project and therefore i exists a lot of community plugins for extending its wiki funcionality. Some examples could be, plugins for inserting flash content or for generating PDF's. For using these JSPWiki plugins in Liferay Portal 6, you have to:

  1. Modify (wiki.formats.configuration.main[creole] property in the Note that is loaded in the classpath.
  2. Download the corresponding jar for the plugin and copy to ROOT/WEB-INF/lib
  3. Modify (hint: start from an existing one)
  4. Reboot the portal

The probe of concept was to add the JSP flash plugin and the wiki now can render the following instruction:

 [{Flash src=' ' width='800' height='600'}]

for visualizing flash content. The result is:


To add a plugin modify the jspwiki.plugin.searchPath propertie

jspwiki.plugin.searchPath = org.myorganisation.jspwiki.myplugins,com.foobar.myplugins



Más entradas de blog

Añadir comentarios