RSS

Entries with Products Liferay Portal 7.x .

thumbnail
David H Nebinger | 13 Sep 2021

Introduction So recently a couple of times I've seen folks ask how to send form data somewhere. Some want to trigger remote web service calls, some want to store the data in a different entity or database, etc. The common answer I give is to use a Tee storage type to persist in Liferay while using as you need, and this is sometimes followed by "um, what was that?" ;-) So I figured it was...

10619
4
thumbnail
David H Nebinger | 08 Apr 2021

Introduction Let me start by saying that I'm a huge fan of Upgrade Processes. I've actually written many blogs about Upgrade Processes or using Upgrade Processes: https://liferay.dev/blogs/-/blogs/old-versus-new https://liferay.dev/blogs/-/blogs/thinking-outside-of-the-box-resources-importer https://liferay.dev/blogs/-/blogs/servicebuilder-and-upgrade-processes ...

14231
1
thumbnail
David H Nebinger | 04 Aug 2021

Introduction As of yet, there has been no official word that JDK 11 is supported by the Liferay developer tools. Just like the old delays going from JDK 7 to JDK 8, various third party tools and libraries held up the switch to JDK 11. Up until now, some developers had luck using JDK 11, but there were lingering issues with some tools such as Service Builder which could get in the way. In...

14941
4
thumbnail
David H Nebinger | 04 Feb 2021

What is the Mega-Jar? So the Liferay Dev Tools team recently included a new feature that they refer to as a "fat" jar, but I'm giving it the name Mega-Jar! This is a new single dependency that you can use in your Maven pom.xmls and Gradle build.gradle files, replacing all of the atomic dependencies with a single "one Mega-Jar to rule them all" dependency. So basically your...

12669
0
thumbnail
David H Nebinger | 01 Feb 2021

A community member posted the following plea on the Liferay Community Slack channel. I feel that it makes a great example, so I'm including it here. HiI am migrating from Liferay 7.0 to Liferay 7.3 GA6So I followed the below steps for DB migration 1 ./opt/liferay736/bundle/tools/portal-tools-db-upgrade-client          Inside the directory, I have updated...

11013
6
thumbnail
David H Nebinger | 17 Aug 2021

About a year ago, Liferay introduced a new program that I have been actively participating in, Liferay Developer Services. But what is this program? Liferay Support When you are a Liferay DXP customer, you automatically get access to Liferay Support as part of the Subscription Services. Support is staffed by a great bunch of people that want to help clients resolve product-level issues....

10385
0
thumbnail
Olaf Kock | 13 Nov 2020

The old saying that "many roads lead to Rome" is a universal truth. In "Productive Feature Abuse", I'm using Liferay-Features "off-label" - in a way that they were not intended to be used. Naturally, we'll run into limitations, but in some situations this might still do what you want with less effort. And just like in the first incarnation, here's another one related to staging. ...

14557
0
thumbnail
Olaf Kock | 12 Nov 2020

Sometimes there are several ways to achieve a goal - and this is a story about one of those times, and one of those different paths to achieve a goal. Recently, in a conversation, I came across two different ways to solve the same problem: One is way more graphical than the other, and both have their advantages, disadvantages and limitations: How to edit next month's special...

10771
0
thumbnail
David H Nebinger | 04 May 2020

Just a quick one today... Liferay stopped releasing Liferay CE/DXP Wildfly bundles after 7.1, so I was recently asked to create a Liferay 7.2 DXP bundle for Wildfly 11. So I followed the instructions posted here: https://help.liferay.com/hc/en-us/articles/360029123751-Installing-Liferay-DXP-on-Wildfly Started the Wildfly bundle and it seemed to come up fine. Navigating to...

10669
8
thumbnail
David H Nebinger | 29 Feb 2020

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...

25248
9
thumbnail
David H Nebinger | 01 Feb 2020

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...

12312
5
thumbnail
David H Nebinger | 31 Jan 2020

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...

12552
1
thumbnail
David H Nebinger | 30 Jan 2020

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...

14261
10
thumbnail
David H Nebinger | 30 Jan 2020

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...

10404
3
thumbnail
David H Nebinger | 23 Jan 2020

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...

11940
0
thumbnail
David H Nebinger | 12 Jan 2020

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...

11729
4
thumbnail
David H Nebinger | 03 Jan 2020

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...

10725
2
thumbnail
David H Nebinger | 13 Sep 2019

Recently when I was working on my custom Headless API blog series, I ran into a bit of trouble with my Service Builder-based persistence tier. My SB code was done and working, and I was adding methods to my CLI tool to test all of the Headless methods. I had the list working, I could add, update and patch Vitamins, and I just finished the delete method testing and I was on cloud...

13868
2
thumbnail
David H Nebinger | 13 Sep 2019

Introduction I've recently started working on a React SPA to take advantage of the Liferay Headless APIs. I was working through all of my implementation details and was finally ready to start making API calls, but I needed to figure out how to handle authenticated requests. I reached the following point in the documentation,...

24364
17
thumbnail
David H Nebinger | 05 Sep 2019

If you’ve spent time rummaging around Liferay’s search and indexing documentation provided here, you’ll find a lot of details about document contributors, index writers, search registrars, etc. The part that might be missing is what all of these things actually do, why they are important, and why you actually want to go down the road of supporting indexing and search for your custom...

13143
0