RSS
thumbnail
David H Nebinger | 25 Feb 2017

I'm taking a short hiatus from the design pattern series to cover a topic I've heard a lot of questions on lately - migrating 6.2 Service Builder wars to Liferay 7 CE / Liferay DXP. Basically it seems you have two choices: You can keep the Service Builder implementation in a portlet war. Any wars you keep going forward will have access to the service layer, but can you...

34431
5
thumbnail
Neil Jin | 21 Feb 2017

原文: https://web.liferay.com/web/user.26526/blog/-/blogs/liferay-osgi-annotations-what-they-are-and-when-to-use-them   原文作者: DAVID H NEBINGER     当你查看Liferay 7 CE/Liferay DXP源码时,你会看到大量不同的注解。当你除此看到这些注解的时候,可能会感觉到有些无所适从。所以我想写一些引用指导来解释这些注解是什么,并且在你自己的OSGi代码中什么时候使用比较合适。   ...

27912
0
thumbnail
Kyle Joseph Stiemann | 17 Feb 2017

Farewell Juan! Juan Gonzalez announced that today is his last day as a Liferay employee. While he’ll still be part of the Liferay community, I think this is a nice opportunity for us to thank him for his work at Liferay and to wish him well on his next endeavor. Juan, After working with you for several years, I’m sad to see you go. You’re an incredibly passionate and...

18669
1
thumbnail
David H Nebinger | 24 Feb 2017

Pattern: Multi-Scoped Data/Logic Intent The intent for this pattern is to support data/logic usage in multiple scopes. Liferay defines the scopes Global, Site and Page, but from a development perspective scope refers to Portal and individual OSGi Modules. Classic data access implementations do not support multi-scope access because of boundaries between the scopes. The...

27838
4
thumbnail
Andy Wu | 17 Feb 2017

Hi all, We are happy to say that we have the new milestone for Liferay IDE 3.1 released as described in section Updates and Feedback in Liferay IDE 3.1 Milestone 1 Released. Go to http://releases.liferay.com/tools/ide/latest/milestone/ to install the updatesite. If you want to download full Eclipse Neon bundled with Liferay IDE, just go to this page. The only...

25601
4
thumbnail
Kyle Joseph Stiemann | 16 Mar 2017

Improving Test Performance on Liferay Recently, we upgraded the JSF Portlet Bridge Test Compatibility Kit (TCK) from Selenium 1.0 to our new test framework which uses Selenium 2.53. The TCK contains about 220 tests, and on Liferay 7.0 before we upgraded, it took around 8 minutes and 30 seconds to execute. In contrast, the TCK took 1 minute and 30 seconds to run on Apache Pluto,...

17570
0
thumbnail
David H Nebinger | 27 Feb 2017

Introduction So I'm going to start a new type of blog series here covering design patterns in Liferay. As we all know: In software engineering, a software design pattern is a general reusable solution to a commonly occurring problem within a given context in software design. - Wikipedia In Liferay, there are a number of APIs and frameworks used to support...

29150
0
thumbnail
Jamie Sammons | 16 Jun 2017

I am pleased to announce the Social Office to Liferay 7 upgrade has been released! Update 06/16/2017: For anyone interested in the tasks application, I have converted it to Liferay 7 modules.  Although completely unsupported, it seems to be working okay so far.  You can find the repo here. Introduction Liferay Social Office was previously an add-on for...

28820
22
thumbnail
David H Nebinger | 16 Feb 2017

Recently I was lamenting how I felt that JSP fragment bundles could not introduce new dependencies and therefore the JSP overrides could really not do much more than reorganize or add/remove already supported elements on the page. For me, this is like only 5% of the use cases for a JSP override. I am much more likely to need to add new functionality that the original portlet...

37691
9
thumbnail
Mohammed yasin | 01 Mar 2017

By Default in Liferay, Resource Importer will import journal articles,structures,templates,sites and document to all portal Instances present in the System If we need to restrict Resource importer to one particular instance we can do it by following steps STEP 1 : In your Theme Plugin go to docroot/WEB-INF/liferay-plugin-package.properties file and add the Portal Instance Web...

16029
0
thumbnail
David H Nebinger | 15 Jan 2020

One of the things that I never really used in 6.x was the Liferay upgrade APIs. Sure, I knew about the Release table and stuff, but it just seemed kind of cumbersome to not only to build out your code but on top of that track your release and support an upgrade process on top of all of that. I mean, I'm a busy guy and once this project is done I'm already behind on the next one. ...

35677
6
thumbnail
David H Nebinger | 10 Nov 2023

In Liferay 6.x, scheduled tasks were kind of easy to implement. I mean, you'd implement a class that implements the Liferay Message Bus's MessageListener interface and then add the details in the <scheduler-entry /> sections in your liferay-portlet.xml file and you'd be off to the races. Well, things are not so simple with Liferay 7 CE / Liferay DXP. In fact, I...

71970
31
thumbnail
Neil Jin | 07 Feb 2017

This article talks about how to create json web service based on Service Builder Service.   Knowledge: Service Builder JSON Web Service   When we intent to make a service to be a web provider to serve json web service, we can utilize Service Builder to build our json web service. We have an article...

34378
1
thumbnail
David Truong | 03 Feb 2017

A search for a better SDK A little over a year ago, the Dev Tools Team began a new project hoping to fix the issues we encountered with the Plugins SDK. We had just finished modularizing our developer tools and were considering revamping the Plugins SDK to use all the new tools. This in itself would be a major improvement since we would no longer require a 300mb bundle just to use...

27146
0
thumbnail
Allen Ziegenfus | 02 Feb 2017

If you want to find out more information about how a search is being executed in Liferay, you can modify the logging settings to output search queries to the log. To do this, go into Control Panel-> Server Administration -> Log Levels -> Add Category and add a new entry for the class com.liferay.portal.kernel.search.SearchEngineUtil for log level DEBUG. (Please note that...

18220
0
thumbnail
David H Nebinger | 03 Feb 2017

When you start reviewing Liferay 7 CE/Liferay DXP code, you run into a lot of annotations in a lot of different ways.  They can all seem kind of overwhelming when you first happen upon them, so I thought I'd whip up a little reference guide, kind of explaining what the annotations are for and when you might need to use them in your OSGi code. So let's dive right in... ...

80071
10
thumbnail
David H Nebinger | 02 Feb 2017

Alt Title: Cool things you can do with OSGi Introduction So one thing that many organizations like to stand up in their Liferay environments is a "health check".  The goal is to provide a simple URL that monitoring systems can invoke to verify servers are functioning correctly.  The monitoring systems will review the time it takes to render the health check page and...

32957
2
thumbnail
Vikash Kumar | 31 Jan 2017

  Customize /html/portlet/journal_content/view.jsp   <%@ include file="/html/portlet/journal_content/init.jsp" %>   <% JournalArticle article = (JournalArticle)request.getAttribute(WebKeys.JOURNAL_ARTICLE); JournalArticleDisplay articleDisplay =...

651
0
thumbnail
Javeed Chida | 15 Mar 2017

Let me begin by clarifying that this post has nothing to do with the Harry Potter universe.   But seriously. You know what I mean by wizards, don’t you? Those helpful series of screens that gather a set of choices from the user and then use the captured choices to do something for the user. Often times, one user selection can lead to a different...

26600
1
Alex Swain | 26 Jan 2017

I fell over a problem the other day that I had solved ages ago and foolishly hadn't taken the time to write down how I did it. I guess it must be fairly rare as my standard "I might have forgotten to write it down, but someone must have" approach to finding the answer on the internet also failed. So, I have committed to solving both issues with one post. I'm running LifeRay 6.2...

15023
2