O'Reilly logo

Liferay Portal 5.2 Systems Development by Jonas Yuan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Customizing event handlers and model listeners

Liferay portal is highly configurable and extensible. Its default configuration settings are defined in the /portal/portal-impl/src/portal.properties source tree. It is read-only and must not be edited. Fortunately, Ext provides an ability to override the values in the portal.properties file. Custom values are normally placed in /ext/ext-impl/src/portal-ext.properties. In this section, we're going to look in detail at the customization of event handlers and model listeners via the portal-ext.properties file.

Handling events

Generally speaking, the portal supports event listeners to hook into the system. Event listening is configured in the portal.properties file and it should be re-configured in the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required