Blog posts

Mon, 06/06/2016
At last, after almost two years, I managed finally to make the integration tests work. And it is not so complicated as it seems to be. So straight to the point.
Thu, 26/05/2016
This seems to be, even now, a subject without a specific documentation. The need of thumbnails is very common especially if you are showing content with images in a public url with a lot of traffic.
Wed, 18/05/2016
Lets us assume we want to have an admin portlet in the content area in our site. We can do this by adding the following xml elements in the liferay-portlet.xml
Wed, 18/05/2016
If you are working in a custom portlet and with FileEntries, it is very likely that you will need the preview url of this file, to use it in your UI. There is a class with the name DLUtil that provide you with a method for this.
Wed, 20/01/2016
If we have a web content and we want to update the index of it we can do that with the following code:
Tue, 19/01/2016
While trying to make a custom validator in a form, there was the need to reuse the information set in the portlet-model-hints.xml file. You can do this by using the following Util class:
Mon, 14/12/2015
When a kaleo workflow in Liferay 6.2 sends an email, it adds automatically as the sender the email If you want to change that, you can't... at least not directly through the UI of control panel.
Thu, 10/12/2015
While working I encounter a strange exception: Illegal character in query at index 79: http:// ...Strange, because there was no special character in my URL. The index 79 was here: