Fórum

com.liferay.portal.events.DefaultLandingPageAction

thumbnail
aryan sahu, modificado 11 Anos atrás.

com.liferay.portal.events.DefaultLandingPageAction

Junior Member Postagens: 54 Data de Entrada: 07/04/12 Postagens Recentes
how do i overide the run method of com.liferay.portal.events.DefaultLandingPageAction? is it possible through hooks or exts?
thumbnail
David H Nebinger, modificado 11 Anos atrás.

RE: com.liferay.portal.events.DefaultLandingPageAction

Liferay Legend Postagens: 14914 Data de Entrada: 02/09/06 Postagens Recentes
You can create your own instance in a hook and enable it in a hook.

You can either extend DefaultLandingPageAction or implement your own copy of the Action interface.

In your portlet's property file, you'll add a "login.events.post=com.example.MyLandingPageAction" entry.