Category Archives: Liferay

Digging Liferay article categories from database

In order to investigate certain issues I wanted to find out the journal categories directly from database. Below is the select I came up with. This is for MySQL. The string operations on the second line try to extract the … Continue reading

Posted in Liferay |

Write log from Liferay velocity templates

A simple example for writing log entries from Liferay velocity templates

Posted in Liferay |

Customizing Liferay service builder templates

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 (note that those are from master branch – if … Continue reading

Posted in Liferay |

Liferay service builder, class loader issues

When you create a new service with Liferay service builder that 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 … Continue reading

Posted in Liferay |