Skip to content

Instantly share code, notes, and snippets.

@jamesfalkner
Last active December 28, 2015 11:08
Show Gist options
  • Save jamesfalkner/7490854 to your computer and use it in GitHub Desktop.
Save jamesfalkner/7490854 to your computer and use it in GitHub Desktop.
## Super-simple example of a WCM app
#set ($userLocalService = $serviceLocator.findService("com.liferay.portal.service.UserLocalService"))
<em>Demo 1: Super-simple example of a WCM app</em>
<h1>Hello, Liferay!</h1>
<img src="http://www.liferay.com/osb-community-theme/images/custom/heading.png">
<h3>User Count: $userLocalService.getUsersCount()</h3>
<h3>Config Setting: $appconfig1.data</h3>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment