Total Pageviews

Saturday, August 6, 2011

Using Liferay Services in VM using ServiceLocator

When developing custom themes, we need to use Liferay services in VM. Its quite easy but tricky. So, putting here a simple example-
Write following in init-custom.vm

Now you can use this service as follows:
where $myPlace is a group.


Hope this will help.

No comments:

Post a Comment