Open IT Experts for Enterprise

Zylk empresa de desarrollo de ecommerce

Using JSPWiki plugins in Liferay Portal 6

Gustavo Fernández
Gustavo Fernández

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]=jspwiki-ext.properties)
    property in the portal-ext.properties. Note that
    jspwiki-ext.properties is loaded in the classpath.
  2. Download the corresponding jar for the plugin and copy to ROOT/WEB-INF/lib
  3. Modify jspwiki-ext.properties (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=’
http://bytescout.com/demo/swfscout_VideoSample.swf
‘ width=’800′ height=’600’}]

for visualizing flash content. The result is:Using JSPWiki plugins in Liferay Portal 6

Links:

  • Liferay – http://www.liferay.com
  • JSPwiki – http://www.jspwiki.org/
  • JSPwiki plugins – http://www.jspwiki.org/wiki/JSPWikiPlugins

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

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

Si te ha parecido interesante comparte este post en RRS

Facebook
LinkedIn
Telegram
Email

Leer más sobre temas relacionados

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *