留言板

Stuck in ext........

shubhranshu swain,修改在12 年前。

Stuck in ext........

New Member 帖子: 18 加入日期: 11-1-19 最近的帖子
Hi All,

Currently I am using Liferay ext though being new to it. I have added a class LoginPostAction. Inside the run method I have given a sysout to print something. But it's not printing anything. Its very annoying. Please give a suggestion.

Regards
thumbnail
Dhrutika Parekh,修改在12 年前。

RE: Stuck in ext........

Expert 帖子: 435 加入日期: 09-2-9 最近的帖子
Hi,
If you want to customize LoginPost Action,better approach is using Hooks instead of Ext.

Override "login.events.post" property in portal.properties using liferay-hook.xml.

Regards,
Dhrutika
thumbnail
Jignesh Vachhani,修改在12 年前。

RE: Stuck in ext........

Liferay Master 帖子: 803 加入日期: 08-3-10 最近的帖子
First check that does your updated class getting loaded or not ?
If not then please follow proper EXT deployment steps mentioned in Liferay wiki .
you can visit http://liferaycms.blogspot.com/2011/09/ext-deployment-in-lr-6.html or
http://www.liferay.com/community/wiki/-/wiki/Main/Ext+Plugin
http://www.liferay.com/community/wiki/-/wiki/Main/Deploying+an+EXT+WAR+file