RSS
thumbnail
David Truong | 29 Aug 2018

One of the initiatives our Quality Assurance Team has taken the past few years, has been to try and automate all their testing. This has resulted in testing all of our compatible environments in a similar fashion.  Thus, we no longer need to distinguish between Supported and Certified environments.   Starting with Liferay DXP 7.0, we will now list all our compatible...

15554
0
thumbnail
Yanan Yuan | 28 Aug 2018

We are pleased to announce the new release of Liferay Project SDK Installers version 3.3.0 GA1.   Download:   For customers, they can download all of them on the customer studio download page.   Upgrade From previous 3.2:   Download updatesite here Go to Help > Install New Software… > Add… Select Archive...Browse to...

13534
2
thumbnail
David H Nebinger | 27 Aug 2018

I've been asked a couple of times recently about different aspects of @Modified annotation that I'm not sure have been made clear in the documentation, so I wanted to cover the lifecycle annotations in a little further detail so we can use them effectively. The @Activate, @Deactivate and @Modified annotations are used for lifecycle event notifications for the DS components. They get...

19580
1
thumbnail
David Bougearel | 24 Aug 2018

Hi everybody, With the version 7.X we have all started to play with OSGi and for some projects it's sometimes hard to have a clean start with the correct build tool; despite the blade sample which are definitely useful. I wanted to share through this blog, a sample with an OSGi service and a portlet which are configured to be deployed in a Liferay 7.1. The code given can be...

10874
3
thumbnail
John Feeney | 21 Aug 2018

A customer recently asked me how Liferay can help them deliver documents to their users based on user-preferred language. One of the easiest ways to do this is through Liferay’s out-of-the-box web content localisation feature. In this  blog entry, I will show how this can be easily implemented.   1. The first step is to create a Web Content structure with fields for our...

9790
0
thumbnail
David H Nebinger | 18 Mar 2024

Introduction So many times I have answered the question, "How do I find out what import packages my bundle needs?" with the tired and unsatisfactory response that uses the following process: Build your module. Deploy your module. Use Gogo to see why your bundle doesn't start, often from an Unresolved Requirement on an Import Package. Either ...

15634
3
thumbnail
Olaf Kock | 20 Aug 2018

As promised less than a month ago, we're working on more content for Liferay University. Meet your new professors Charles Cohick and Dimple Koticha. The new lessons are Gain Insight Into the Customer Journey - Liferay Analytics Cloud Fully Customize Your Search Experience As with all lessons on Liferay University, they're completely free and available...

13824
0
thumbnail
David H Nebinger | 06 Jun 2023

A SysAdmin came up to me and said he was having issues starting Liferay DXP 7.0, a bunch of CNFEs were coming up at startup. I found that they were set up to use Wily for monitoring their JVMs, and it was those classes that were generating CNFEs. In general, when you add the -Djavaagent=XXX parameter onto your app server's startup command, you're enabling an agent which will...

16796
4
thumbnail
Victor Zorin | 15 Aug 2018

This is the second part of the "Extending Liferay DXP - User Registration" blog. In this blog we explore the ways of implementing registration process for a portal with multiple sites.  Portal Sites Configuration Let’s presume we have a portal with the following sites configured: "Liferay", default site, will not be listed "Site 1", site with open...

11258
0
thumbnail
Alberto Chaparro | 13 Aug 2018

Hi Liferay Community, Before responding this question I would like to explain what's sharding first: to overcome the horizontal scalability concerns of open source databases at the time (circa 2008), Liferay implemented physical partitioning support.  The solution allowed administrators to configure portal instances to be stored in different database instances and database...

11767
2
thumbnail
Victor Zorin | 06 Aug 2018

I am starting a short series of blogs in which I will show how to customise User Registration / Customer Acquisition process in Liferay. The inspiration for this blog is one of our DXP portal implementations which had very broad (and frequently changing) user data collection requirements. There are many scenarios in which you want to customise user registration and...

13743
0
Ianire Cobeaga | 11 Sep 2018

In Liferay Portal 7.1 a lot of effort has been put in improving the experience of building sites and pages and, as a result, some new functionalities have been introduced to empower marketers and other business users in the creation of stunning websites. We have achieved this by considering differentiated needs for the marketer, designer and web developer; and adding a new approach...

13799
0
thumbnail
Yanan Yuan | 03 Aug 2018

We are pleased to announce the first general available release of Liferay Project SDK Installers that support Liferay 7.1. New Installers: For customers, they can download all of them on the customer studio download page. The installer is the full fledged Liferay Developer Studio installer which installs Liferay workspace, blade, Developer Studio and comes pre-bundled with...

13714
2
thumbnail
Pavel Savinov | 03 Aug 2018

Recently we got a couple of complains about new Web Content article behaviour, specifically about the JournalArticle.getContent() method’s return value. The main problem developers experience is when they embed an Image into the Web Content article or use ddm-image or ddm-document-library field in their structures they expect to see the URL of the object(Image or D&M asset) in the...

17237
10
Michael Chen | 10 Sep 2018

The Problem The c3p0 connection pool exposes MBeans for JMX tools like jconsole to monitor its run-time states. However, both c3p0 and Liferay intentionally generate random MBean names on each startup. The random name of each data source makes it difficult to setup an independent monitoring tool. The second problem is, by default Liferay creates several data sources, one used by...

13398
1
Michael Chen | 10 Sep 2018

Genesis My colleague Vagif proposed a new way to develop a Liferay dynamic widget (the best name I can think of for now) with these pieces: Use the “Basic Web Content” structure or define a new structure. For each dynamic widget type, define a new display template. Create an OSGi service that returns a data model to be used by the display template. Create a web...

13721
0
Michael Chen | 10 Sep 2018

Introduction This is a simplified OSGi service API and implementation pattern. It follows the traditional Java interface-implementation pattern, in which the programmer is only required to keep the interface class and implementation class in sync. It does not use Liferay 7 service builder. The attached archive is a fully implemented ORM service based on MyBatis. Unzip it...

15675
0
Michael Chen | 10 Sep 2018

Liferay 7.0 started to produce a pair of log files per day: ls -l /opt/liferay/home7/logs/ total 3104 -rw-r--r-- 1 michael admin 285201 May 26 13:24 liferay.2016-05-26.log -rw-r--r-- 1 michael admin 898027 May 26 13:24 liferay.2016-05-26.xml -rw-r--r-- 1 michael admin 400811 Aug 19 13:08 liferay.2016-08-19.log -rw-r--r-- 1 michael admin 0 Aug 19 12:26...

19941
3
thumbnail
David H Nebinger | 07 Aug 2018

TL;DR - Add "-v 7.0" to your Blade command line to create modules for Liferay CE 7.0 and Liferay DXP 7.0. Hey, just a quick blog post here for something that developers may need to know... I updated my Blade command line tool recently (since I use Intellij, I rely on the command line tool quite a bit for new module project creation), but I hadn't started a new module after...

14241
1
thumbnail
Susana Vázquez | 26 Jul 2018

The world is big and diverse. Right now there are around 7.6 billion people in the world, 4 billion with an internet access. When you’re improving a Design System for a product used worldwide, like Lexicon for Liferay, you should take this simple statement into account. Cultural, religious and regional concerns need to be considered. It may sound obvious, but the true fact is that we...

14879
0