Combination View Flat View Tree View
Salman Jamali
PACL Failing - Invocation of $portal.getClass().forName(..) in velocity
February 23, 2013 7:48 AM

Salman Jamali

Rank: New Member

Posts: 5

Join Date: May 20, 2010

Recent Posts

Hi All,

So this time I am overriding our theme plugin's navigation items ($nav_items) and in the process following is required to work but it's failing:

#set ($portalBeanLocator = $portal.getClass().forName('com.liferay.portal.kernel.bean.PortalBeanLocatorUtil'))
#set ($veloengine = $portalBeanLocator.locate('com.liferay.portal.kernel.velocity.VelocityEngineUtil'))

This only happens after enabling the security manager. No errors, exceptions, etc. just the $portalBeanLocator is not being set. I do have the following:


Please enlighten me, thanks emoticon

Participate in the State of Liferay Community 2017. Help the community and even win some prizes!