留言板

Get portal-ext.properties value in init_custom.vm

Nisarg Parikh,修改在12 年前。

Get portal-ext.properties value in init_custom.vm

Expert 帖子: 262 加入日期: 09-12-31 最近的帖子
Hi All,

I have one proeprty in portal-ext.properties.

I want to use it in init_custom.vm file.

Is this possible? If yes, how to achieve that?

Thanks in Advance,


-Nisarg
thumbnail
Hetal R Malaviya,修改在12 年前。

RE: Get portal-ext.properties value in init_custom.vm (答复)

New Member 帖子: 12 加入日期: 08-9-15 最近的帖子
Hi Nisarg,

You can use below line to access property of portal-ext.properties file.
$propsUtil.get("<property name>"))</property>


Regards,
Hetal Malaviya
CIGNEX Technologies Pvt. Ltd.
Nisarg Parikh,修改在12 年前。

RE: Get portal-ext.properties value in init_custom.vm

Expert 帖子: 262 加入日期: 09-12-31 最近的帖子
Hi Hetal,

Thanks for the response.
I got it few days back.. emoticon

-Nisarg
Bhavik Shah,修改在8 年前。

RE: Get portal-ext.properties value in init_custom.vm

Junior Member 帖子: 64 加入日期: 15-5-21 最近的帖子
Hello Experts,

I have one proeprty in portal-ext.properties.

I want to use it in liferay-look-and-feel.xml

Is this possible? If yes, how to achieve that?

Thanks in Advance,

Bhavik Shah
Knowarth Technologies Pvt. Ltd
thumbnail
Olaf Kock,修改在8 年前。

RE: Get portal-ext.properties value in init_custom.vm

Liferay Legend 帖子: 6403 加入日期: 08-9-23 最近的帖子
Bhavik Shah:
...I have one proeprty in portal-ext.properties....


The question has been answered here. Please don't crosspost without linking the questions.