Combination View Flat View Tree View
Threads [ Previous | Next ]
Abhi Ed
reading Environment variable in themes
April 30, 2013 3:00 AM

Abhi Ed

Rank: Regular Member

Posts: 118

Join Date: June 4, 2012

Recent Posts

Hi friends,

I want to read the value of environment variable in my themes .By environment variable I mean the value of 'env' set in properties-services.xml.
This value is generally fetched in java as ::: System.getProperty('env')

How can the same be achieved in vm files of themes?

Participate in the State of Liferay Community 2017. Help the community and even win some prizes!