In liferay 6.2 (yes, it is alive), if you are working with a miltilingual site, you can use a very handy way to define multilingual fields, for example in the preferences of a custom portlet.
PortletResponseUtil is a class to be used in the serveResource, in case you want to serve a file.
Liferay 6.2 is nice, but the guys working on the themes, should make a time travel in the past and use bootstrap 2.3... They don'y like it at all. There are many articles in the web about using bootstrap 3 in a liferay 6.2 theme, but all of them had problems or didn't work at all.
In some of our projects we have the problem, that the portlet plugins are big and slow and the deploy time takes a lot of time. Especially for the web developers, who make for example a css change in a portlets css file and want to see quickly if it is fixed, its very annoying.
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.
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.
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
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.
If you see the error