Liferay

28
02/2018

How to nest modules in folders

Is your module folder full with modules? Do you wish to group them like the Service Builder template does?

15
09/2017

Liferay DXP Configuration Portlet

This article is about my intership in Technopolis S.A. . It was my first summer working in a company and it was pretty interesting.I was 2 months there and my superior told me to develop a project…

25
05/2017

Deploy a Liferay 7/DXP workspace project with Jenkins

Our project is a Liferay Workspace Project and lives in git.

22
05/2017

Elastic Search UI for the default Liferay 7/DXP installation

Liferay comes bundles with an integrated Elastic Search server. This answers in port 9200. If you call the url

15
05/2017

Resolving dependencies in OSGi container in Liferay DXP

Working with gradle in our IDE is not a problem. The problems begin when we choose to deploy our modules which contain third party libraries in liferay...

28
12/2016

Liferay DXP MvcPortlet and Service Builder

We will make a MvcPortlet with a Service builder which on a button click will store a message in the database and then display it.

3
10/2016

How to use the localized input field in Liferay 6.2

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.

20
09/2016

PortletResponseUtil, where were you hiding?

PortletResponseUtil is a class to be used in the serveResource, in case you want to serve a file.

21
07/2016

Bootstrap 3 in Liferay 6.2 works (at last)!

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.

15
07/2016

Quick and dirty solution for web developers

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.

6
06/2016

Liferay 6.2 Integration Tests with Arquillian and maven

At last, after almost two years, I managed finally to make the integration test

18
05/2016

Make your control panel custom portlet visible per site

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

18
05/2016

Getting the preview URL of a File Entry

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.

24
07/2015

Liferay Studio 2.2.x won't do the update thing

If you want to try to update your Liferay Studio, you may encounter the following problem:

8
12/2014

Stop the parallel rendering of the portlets view

You can do this by adding p_p_parallel=0 in the URL.

20
11/2014

Portlets communication on the same page in render phase.

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.

9
10/2014

JCaptcha in Liferay (multiple instances per page)

Liferay supports simpleCaptcha and reCaptcha by default.

27
06/2014

Plugin Unit testing in Liferay 6.2

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.

17
06/2014

Quideline for bootstrap in liferay 6.2

Here ist the link.

20
05/2014

"PermissionChecker not initialised" in scheduler job

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.

9
04/2014

Custom simple captcha in custom portlet for Liferay

In the last month we had to add different captchas in some liferay sites.

21
02/2014

A tip to solve many asset category problems

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

21
02/2014

How to find the groupId of a site as a control panel user

Ever needed to know the groupId of a site?

16
01/2014

Make the preferences of a portlet company wide

Add the following elements in the liferay-portlet.xml file

5
12/2013

Disable javascript minimizer in Liferay

Just add &js_fast_load=0&css_fast_load=0&strip=0 in the URL. Have a nice time debugging the javascript.

7
11/2013

Original PortletConfig in Portlet Configuration

Lets assume you have a Project with its own Language properties and a portlet that have a configuration page.

25
10/2013

How to define an entity in Service Builder for existing tables

Recently we encounter a case, where the tables of an external database were "moved" as synonyms in the schema of

14
10/2013

Liferay Deployer (Jenkins plugin)

After posting my last post I made some progress in building the liferay deployer plugin.

9
10/2013

Jenkins + Liferay plugin deployment

In the past I wrote an article about how to use jenkins to deploy your plugins in a remote liferay portal server.

19
08/2013

Liferay - testing a portlet

While trying to find out how to test a MVC liferay portlet, I realised that there is not much of documentation about the subject.

2
05/2012

ERROR [MVCPortlet:361] null is not a valid include

I was happy with my portlet, till I encounter a strange error after my deploy: ERROR [MVCPortlet:361] null is not a valid include

3
04/2012

Error: Could not find or load main class com.liferay.portal.tools.SassToCssBuilder

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.

28
03/2012

ServiceContext: What is this for?

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.

24
02/2012

Problem overriding equals in a DTO object in Service Builder

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:

23
02/2012

Can't debug javascript in Liferay?

Per default liferay minifies all javascript and css files of your portlets. As a result you have better speed, but while being in the developing cycle, you can scarify some speed for information.

23
02/2012

Unable to locate deployment context from portlet properties

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?

6
02/2012

Liferay and ECJ

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.

17
10/2011

Liferay diaries: Directing between different portlets on different pages

In my latest project I've came across the following UI construct:

17
10/2011

Liferay diaries: Serving resources from a portlet with Spring

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.

17
10/2011

Liferay diaries: Help! My validation errors are not showing!

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.