Fórum

Get portal-ext.properties value in init_custom.vm

Nisarg Parikh, modificado 12 Anos atrás.

Get portal-ext.properties value in init_custom.vm

Expert Postagens: 262 Data de Entrada: 31/12/09 Postagens Recentes
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, modificado 12 Anos atrás.

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

New Member Postagens: 12 Data de Entrada: 15/09/08 Postagens Recentes
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, modificado 12 Anos atrás.

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

Expert Postagens: 262 Data de Entrada: 31/12/09 Postagens Recentes
Hi Hetal,

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

-Nisarg
Bhavik Shah, modificado 8 Anos atrás.

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

Junior Member Postagens: 64 Data de Entrada: 21/05/15 Postagens Recentes
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, modificado 8 Anos atrás.

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

Liferay Legend Postagens: 6403 Data de Entrada: 23/09/08 Postagens Recentes
Bhavik Shah:
...I have one proeprty in portal-ext.properties....


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