Cookies help us deliver our services.

By using our services, you agree to our use of cookies. Learn more

I understand

Liferay Dynamic Select - part I

Anyone who has ever developed a web application, has found himself dealing with the classic problem of the linked combos: by selecting a value from the first combo, the values of the second combo are filtered (or loaded).

An example? Nation and region, rather than region and city; or maybe the triad nation, region and city.

Fortunately, Liferay staff had the same problem and solved it by creating a very useful Javascript component: DynamicSelect.

In this first part of the article we will see a classic and simple use of the component, leaving to the second part a more complex case applied to custom entities.

Read more: Liferay Dynamic Select - part I

How to manage browser informations with Liferay

It can often happen that you need to know some informations from the browser or the client that sent the request, in order to make specific decisions. The request is from a mobile device? Or from Firefox? Or maybe from Internet Explorer?

If you ever needed to have an answer to these questions, let's know that Liferay has a very useful class for this purpose; let's see what it is.

Read more: How to manage browser informations with Liferay

Portlets deploy in a multi company environment

Today I want to address a topic often ignored or underestimated: portlets deployment in a multi company environment.

Let's think about a server with multiple companies configured, one for each customer of your company; in this situation, when you deploy a portlet, this will become available in all companies.

But what if the portlet has been developed for a specific customer? Maybe under payment? This behaviour would not be the right choice.

Read more: Portlets deploy in a multi company environment