フォーラム

ホーム » 1. Marketplace App Development

構造的に表示 平面上に表示 ツリー上に表示
Salman Jamali
PACL Failing - Invocation of $portal.getClass().forName(..) in velocity
2013/02/23 7:48
答え

Salman Jamali

ランク: Youngling

投稿: 0

参加年月日: 2010/05/20

最近の投稿

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:

security-manager-get-bean-property=\
...
com.liferay.portal.kernel.bean.PortalBeanLocatorUtil
...


Please enlighten me, thanks emoticon

Forums

To access the Developer Forum, please login to your Liferay.com account if you are already a registered developer or register to become a developer.