Foren

Liferay property overriding in Portal-ext.properties , Hook , Control Panel

Suman A, geändert vor 7 Jahren.

Liferay property overriding in Portal-ext.properties , Hook , Control Panel

New Member Beiträge: 9 Beitrittsdatum: 30.07.15 Neueste Beiträge
Hi,

Can some one help me to understand , how liferay gives property of the values that was set in ControlPanel , Portal-ext.properties file , Hook that overrides same property.

For Example :

In Portal-ext.porperties i have override the following properties:
auth.forward.by.last.path=true
default.landing.page.path=/web/guest/test4


Similarly i have override the same properties using hook as follows:
auth.forward.by.last.path=true
default.landing.page.path=/web/guest/test11

And this is my ControlPanel Entry:
default.landing.page.path=/web/guest/test10

For Which value Liferay gives property here ?

Thanks & Regards,
Suman A
thumbnail
Samuel Kong, geändert vor 7 Jahren.

RE: Liferay property overriding in Portal-ext.properties , Hook , Control P

Liferay Legend Beiträge: 1902 Beitrittsdatum: 10.03.08 Neueste Beiträge
The value is probably the value from your hook. But try the following to conform:
1. Go to: Menu > Control Panel > Configuration > Server Administration > Properties > Portal Properties
2. In the search box, type in one of the property you listed
The table will show you the value is the system is currently using.