26 April, 2012

Read portal-ext.properties value in VM file


If you want to read  portal-ext.properties file in  VM template, just follow below steps :

portal-ext.properties
your.key1=Your Value
your.key2=value1,value2,value3,value4



VM
#set($ key1 = $propsUtil.get("your.key1") )
#set($ key2 = $propsUtil.get("your.key2") )



Key 1: $ key1
Key 2: $ key2

Enjoy !!!

Rate Me:

0 Discussion:

Post a Comment

Your Comments on this post

Buy Bing Coupon $100 For New Ad Accounts Worldwide Working Whatsapp +91-8586875020

You can  Buy Bing Coupon  For new ad accounts . It is $100 coupon worldwide working for new ad accounts. Buy Bing Coupon today and start ads...