Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
aryan sahu
com.liferay.portal.events.DefaultLandingPageAction
June 11, 2012 9:57 AM
Answer

aryan sahu

Rank: Junior Member

Posts: 54

Join Date: April 6, 2012

Recent Posts

how do i overide the run method of com.liferay.portal.events.DefaultLandingPageAction? is it possible through hooks or exts?
David H Nebinger
RE: com.liferay.portal.events.DefaultLandingPageAction
June 11, 2012 11:17 AM
Answer

David H Nebinger

Community Moderator

Rank: Liferay Legend

Posts: 11046

Join Date: September 1, 2006

Recent Posts

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.