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!!
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!!
No comments:
Post a Comment