Posts tagged with #liferay
Liferay service builder code generation is based on Freemarker templates. The default templates come packaged inside the portal jar files. You can take a look at them for example in [Github](https://github.com/liferay/liferay-portal/tree/master/port...
In order to investigate certain issues I wanted to find out the journal categories directly from database....
When you create a new service with Liferay service builder, the system generates a whole lot of boilerplate code based on the few lines you put into the service.xml. Part of the code deals with the problem related to passing objects between differen...
set ($logFactory = $portal.getClass().forName('com.liferay.portal.kernel.log.LogFactoryUtil'))
set ($log = $logFactory.getLog('myTemplate'))
$log.info('Here we go again')
...