Fórum

get propertie from template

thumbnail
Soukaina HAJI, modificado 9 Anos atrás.

get propertie from template

Regular Member Postagens: 195 Data de Entrada: 17/06/14 Postagens Recentes
Hello
I need to get this propertie from a velocity template I tried this code but It gets nothing:
#set ($test3 = $PropsUtil.get($PropsKey.LIFERAY_HOME))


I use liferay 6.2 ce ga2
thank you
thumbnail
Pankaj Kathiriya, modificado 9 Anos atrás.

RE: get default.landing.page.path from template (Resposta)

Liferay Master Postagens: 722 Data de Entrada: 05/08/10 Postagens Recentes
$propsUtil.get('liferay.home')
will work.
thumbnail
Soukaina HAJI, modificado 9 Anos atrás.

RE: get default.landing.page.path from template

Regular Member Postagens: 195 Data de Entrada: 17/06/14 Postagens Recentes
thanks