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.
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.
If you want to try to update your Liferay Studio, you may encounter the following problem:
You can do this by adding p_p_parallel=0 in the URL.
Once again I faced the same old problem: I have one portlet A which carries a value X and 2 other portlets on the same page B and C that needs this value X on their render phase.
Liferay supports simpleCaptcha and reCaptcha by default.
In the past I tried to find out how to unit test my plugins in liferay with no success. To be honest, I never tried much, and I am also a rookie in unit testing.
When writing a scheduler job in liferay, you don't have access to the the themeDisplay life in portlet methods. So you miss a lot of handy data.
In the last month we had to add different captchas in some liferay sites.
In case you are experiencing a strange behaviour in the Categories portlet of the control panel, like creating a category in vocabulary x and finding it in vocabulary y, you try to rebuild the cate
Ever needed to know the groupId of a site?
Add the following elements in the liferay-portlet.xml file
Lets assume you have a Project with its own Language properties and a portlet that have a configuration page.
Recently we encounter a case, where the tables of an external database were "moved" as synonyms in the schema of
After posting my last post I made some progress in building the liferay deployer plugin.
In the past I wrote an article about how to use jenkins to deploy your plugins in a remote liferay portal server.
Just look at the post here.
While trying to find out how to test a MVC liferay portlet, I realised that there is not much of documentation about the subject.
Have a look also at this post. First of all we need:
I was happy with my portlet, till I encounter a strange error after my deploy: ERROR [MVCPortlet:361] null is not a valid include
Today, being a little tired and having a problem with the monitor of my computer I encountered a problem that I saw for the first time.
Lately I was trying to insert some content into liferay programmatically and I saw in many API calls that there was a parameter object of type ServiceContext.
If you try to override the equals method in a generated DTO object implementation and rerun the service builder, you will see the following error:
Are you fresh in life ray and testing Service Builder for the first time? is everything working fine, but in the console you see the following exception?
If you ever saw the following error while trying to run, for example, the deploy ant task of your portlet: Task cannot continue because ECJ is not installed.
In my latest project I've came across the following UI construct:
So there comes the day when you finally have to serve an image, pdf or excel report generated by a portlet or, more elegantly, by a Spring controller backing a portlet.
While still battling form submissions in my Liferay/Spring MVC Form controller/Multi-portlet beast, I noticed that the Spring form tags would not display errors.