掲示板

Overriding StrutsPortletAction in DXP

6年前 に mahesh gade によって更新されました。

Overriding StrutsPortletAction in DXP

Junior Member 投稿: 44 参加年月日: 13/12/05 最新の投稿
Hi ,

i have created module in which i have overriden StrutsPortletAction(LoginAction) and path is /login/login.its deployed in server.
when i check in GoGo shell its in Active state and Started in Server console.
when i try to login this custom Action class is not getting excecuted.No errors in Server console any configurations need to be done.

suggest me to resolve this issue.and module project has been atteched.

Thanks.

添付ファイル:

thumbnail
6年前 に David H Nebinger によって更新されました。

RE: Overriding StrutsPortletAction in DXP

Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
There was already another forum post on this.

There is no more struts action handler for login, the only remaining struts actions are those few limited to portal internals.

Your old struts action override hooks from the Liferay 6.x days will not work as they used to, you have to refactor them to work in the new environ.











Come meet me at 2017 LSNA!
6年前 に Christoph Dalski によって更新されました。

RE: Overriding StrutsPortletAction in DXP

New Member 投稿: 1 参加年月日: 17/10/26 最新の投稿
Hi David,

it would be nice if the samples would be changed.
The blade-cli StrutsPortletAction example usese path=/login/login which won't work anymore.
For me that was confusing as well.

See:
https://github.com/liferay/liferay-blade-samples/blob/master/liferay-workspace/extensions/struts-portlet-action/src/main/java/com/liferay/blade/samples/strutsportletaction/BladePortletAction.java


Is there any way to look up which one is a StrutsAction, a StrutsPortletAction or a normal MVCActionCommand?