Blogs

RSS
RSS
thumbnail

My friend, Olaf Kock, recently shared with me that he had struggled with and resolved an issue after moving to Tomcat 9.0.31 when using AJP. Update: What maybe we didn't know, Tomcat 9.0.31 (and other versions of Tomcat 6, 7, 8 and 8.5) were all being fixed to address a newly identified attack vector against Tomcat nicknamed...

19031
thumbnail

Overview Liferay 7.1 uses the Quartz Scheduler to schedule jobs for running background tasks. Liferay administrators and developers sometimes require a live (runtime) view of the scheduled jobs and/or control of those jobs. The scheduled jobs may be Liferay platform tasks and/or custom tasks. The scheduled jobs can be managed via many different tools and approaches. This...

11123
thumbnail

We’d like to dig deeper into one of the features delivered for the 7.3 GA1 release. Liferay now supports Open Graph meta tags out of the box and provides previews both for Open Graph and search engines in a clean and easy way. View the complete video As you can see in the video, by including support for Open Graph out of the box, page creators are empowered to customize and...

6633
thumbnail

TL;DR Continuing with our efforts to make Liferay Portal technology agnostic - as David Truong explained us in his post The State of Frontend Infrastructure  - all jQuery usages have been removed, and now the library is not being loaded by default in master, and will be disabled in the next 7.3 CE GA2 as well. What have we done? As part of our...

9506
thumbnail

Two things in life are certain. And one of them is what this article is about ;) Now that Liferay CE 7.3.0 is out and still offers Widget Pages, I'm happy to present a long standing optional feature that just requires a few lines of CSS (and - as always - could benefit greatly from someone donating a slightly prettier version) What's it all about? When you drag&drop widgets...

11367
thumbnail

We are happy to announce the availability of Liferay Portal CE 7.3 GA1. This is the first rolling release (announcement about this new release strategy coming soon) for the 7.3 series. What can you expect from this release? The first set of finished features that will be made available during the 7.3 cycle. Many more features are in progress but hidden for this first release. ...

24329
thumbnail

Just a quick one this morning... So I'm working on a project for 7.1. With my new love of the target platform, I decide I'm going to enable the 7.1 target platform for my DXP project. Everything seems to work fine until I deploy the portlet jar. That's when I get the following during deployment: 2020-02-01 08:40:06.324 ERROR...

9196
thumbnail

Introduction So I get finished which the previous blog, Visiting DynamicQuery, and I shared it with my team. I'm always kind of happy when I get a new blog post done, so I share it with everyone I can think of. The first comment I got was from my friend and teammate, Shane Merriss: Hey Dave, thanks for the blog post, I’ll be able to share it with my client since we use it in a...

8508
thumbnail

Introduction If you've used any Liferay entities or ServiceBuilder custom entities, you've likely run into a situation where you've needed to perform a custom query to get a set of results that are outside of what the normal methods provide. So you've had to use a DynamicQuery in order to make that happen. Or perhaps you've needed to perform batch operations on entities and...

9621
thumbnail

   An episode that was recorded together with episode 62, but got a bit lost (well, I admit - it was just sitting on my disk). But here we are: David shares four of his favorite horror stories - those that tought him what he never wants to see again. Hopefully it's useful so that you learn from it before experiencing those stories yourself. We've talked about ...

6726
thumbnail

One thing I sometimes see is using a given Liferay feature the wrong way in order to do something. Take delivering content to the right users. Liferay actually has a bunch of ways to accomplish this kind of thing. First we have taxonomy. Using vocabularies, categories and tags, you can apply taxonomy to your assets and then, through an asset publisher or search filter, for...

7132
thumbnail

If you're following Liferay's Forums, Slack, and other locations where questions regarding Liferay Portal and Liferay DXP are asked and answered, you'll find that there's one question coming up over and over again. It's about Liferay's internal database's Entity Relationship diagram, to understand the database structure and content. Typically this is asked for because individuals...

10726
thumbnail

  For this episode I spoke with Andrew Jardine, Community Contributor Award winner for 7 years in a row about his history with Liferay, the community, how to improve it and, of course, his new passion project, https://masteringliferay.com/ We've recorded this episode during Devcon 2019, but I've been keeping it back for a bit, to give Andrew a bit more time to produce more content...

6581
thumbnail

I did an informal poll on the Liferay community Slack channel recently: I was actually kind of surprised by the majority of votes for the "What is the target platform?" option. So, inspired by the results of the poll, I'm going to answer the question, What is the Target Platform? The Target Platform's Roots So the phrase, "Target Platform", is really a Liferay-only name...

8291
thumbnail

As we near the first GA of 7.3, one change we've managed to make was to migrate off Soy + Metal.js and fully onto React.js. The story reminded me of how far our frontend infrastructure has evolved in the past fifteen years that I’ve been a part of Liferay. While this was initially going to be a longer post, due to some user error on my part, I have decided to split this into two posts....

11952
thumbnail

Overview This article outlines how to configure EHCache cache event logging in Liferay 7.1. Scenario We want to log and monitor EHCache cache events in a clustered environment. This is helpful when monitoring cache replication of data across nodes in a cluster to ensure caches on slave nodes are updated with cache data from the master node. We can monitor ehcache portal...

6911
thumbnail

On 12/20/2019, Liferay released updated versions of Liferay Faces modules featuring support for the upcoming 7.3 release of Liferay Portal. For more information see the "Liferay Faces Bridge Ext" and "Liferay Faces Portal" sections of the recently updated Liferay Faces Version Scheme.  The easiest way to upgrade is to visit the home page...

6593
thumbnail

Classic Liferay Localization Handling Any developer who has been around for awhile will have some knowledge of how Liferay handled localization for the entities... In your service.xml file where you normally just have a column type of String, you would also have an additional attribute set, localized="true". With this addition, your model classes getters and setters change...

8302
thumbnail

Introduction We can customize Elastic Search in Liferay, so that whenever a user is searching for a keyword in Liferay then the search results would not only display the results for that search keyword but the search results would also display the results for the synonyms of that search keyword. We can configure synonyms for English and Arabic languages and that would work for...

8020
thumbnail

So I've been seeing this a lot recently, so I thought I'd do a quick blog about it... With web contents, we can build structures to provide an organized chunk of data, and then we can define a template to render the HTML fragment for that structure. Since the template language of choice is FreeMarker, and since in FreeMarker we have practically the entire Liferay API (and...

7833