Monday, February 3, 2014

How to set up Velocity in Liferay?

To use Velocity in Liferay Portlet, we must fulfill the Velocity dependencies.
As Liferay already make sure of Velocity in layouts and themes, thus we just need to import Velocity's required jar into our customized Portlet.

This post is actually referring to Adding liferay libraries to customized portlet classpath and this is the extension of this post.

required jar files to use Velocity are
commons-lang.jar
oro.jar
velocity.jar


Done!!

LinkWithin

Related Posts Plugin for WordPress, Blogger...