Blogs

RSS

Entries with Blog Stream Featured .

RSS
thumbnail

  Every other year we have a company retreat where people from all over the world travel to California for a series of meetings and team building activities.   This is a very unique opportunity for us and we're always thinking about ways to maximize it. This time we decided to organize another internal hackathon. That way...

19907
thumbnail

Hi community! I’m Sarai Díaz, Software Engineer working at Madrid’s office in the Liferay Screens team! :) This is my first blog post and I want to tell you something... Native technology is a great choice to provide the best possible solution for your mobile customer experience but it’s not the only one. Nowadays there are many hybrid solutions like cross compiled, web based or...

12524
thumbnail

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

30481
thumbnail

原文: 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代码中什么时候使用比较合适。   ...

22054
thumbnail

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

24303
thumbnail

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

22484
thumbnail

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

25204
thumbnail

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

25083
thumbnail

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

32519
thumbnail

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

30733
thumbnail

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 couldn't...

57788
thumbnail

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

29706
thumbnail

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

23364
thumbnail

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

61179
thumbnail

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

28540
thumbnail

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

23734
thumbnail

I've been working with Liferay for quite some time now, but I must confess that I still haven't really made the switch from Velocity to Freemarker for my templates. Even though I know there are a lot of benefits to using Freemarker, like better error messages, the Velocity knowledge and library of snippets I've build up through the years is hard to give up. But with the advent of...

32616
thumbnail

This short post brings together the little pieces critical to crafting an ADT in velocity to provide direct download links to documents in your Documents and Media repository. You will find parts of this solution strewn across forums and blogs.    In essence, you'll have to do two things: 1. Add the following property to your...

25591
thumbnail

So in a recent project I've been building I reached a point where I believed my project would benefit from being able to issue user notifications. For those that are not aware, Liferay has a built-in system for subscribing and notifications.  Using these APIs, you can quickly add notifications to your projects. Foundation Before diving into the implementation, let's...

40495
thumbnail

The purpose of this tutorial is to let you know how to involve a 3rd part js lib in metal soy portlet and how to use them in ES6 script.    In Liferay DXP we provide abundant OOTB js lib to help the development. Jquery, AlloyUI, metal, lexicon component and etc.   They are all good, however, in real...

19647