Category Archives: liferay 7

  • Context Contributor Concept in Liferay 7/DXP

    Context Contributor simply provides contextual information to template files like Velocity or Free Marker Template. Templates are widely used in Application Display Template (ADT), Web Content Display Portlet and Liferay Theme. Using Context Contributor we can write piece of code to inject contextual information which can be reused in various template files. In this article we […]

    Post Tagged with , ,
    Comments Off on Context Contributor Concept in Liferay 7/DXP
  • Consume OSGI Service in Liferay Portlet

    We can easily Consume OSGI Service in Liferay Portlet. Before reading this article please read my previous article. This article is an extension of the previous article. In this article we will create a Sample Portlet and consume the OSGI Service which is explained in the previous article. Read my previous article Writing your first […]

    Post Tagged with , ,
  • Writing your first OSGI Service in Liferay 7

    In this article we will try to understand about OSI Service and its usage. In Liferay 7, OSGI plays a vital role. So its very important to understand the basics of OSGI Service. In this article we will create a basic OSGI service and in the next article we will create a portlet to consume […]

    1 Comment.
  • Open Gogo Shell Using Liferay IDE

    In one of my previous article I have explained how to access Gogo Shell. However its also possible to open Gogo Shell using Liferay IDE. In Liferay the Gogo Shell can be used to interact Liferay Portal's module framework. Step 1: Install Liferay IDE Step 2: Add Liferay Portal as Server Runtime in the IDE Step […]

    Post Tagged with , , ,
    No Comments.
  • Liferay 7-OSGI Module – MVC Portlet by Maven

    Using Maven we can easily create OSGI module in Liferay 7. Liferay has already published many Maven Archetypes for creating OSGI based application. In this article we will show how to create a basic MVC Portlet using Maven as build tool. The archetype is capable of generating necessary source code compliance with OSGI specification. The portlet will […]

    Post Tagged with , , , ,
    No Comments.
  • Invoke Liferay JSON Web Service from Web Content Display Portlet

    Yes we can invoke Liferay JSON Web Service from Web Content Display Portlet too. Web Content Display Portlet is used for displaying HTML content in the portlet. However we can easily consume JSON Web Service from it. In this article we will build one small POC to consume JSON Web Service. Highlight of this article 1. Identify […]

    Post Tagged with , ,
    No Comments.
  • Important Code Snippets for Liferay Asset Publisher ADT

    Asset Publisher Portlet is one of the most important and widely used portlet in Liferay Portal. By Asset Publisher Portlet we can display different assets in the Portal. This portlet is highly configurable and can be customized using Application Display Template (ADT). This article provides some important code snippets for writing Application Display Template (ADT) for […]

  • Liferay 7 Portlet Creation using Liferay IDE

    Prior to  Liferay 7  we used either Plugin SDK or maven for portlet creation. Liferay 7 has introduced the concept of OSGI where we can avoid Plugin SDK.In OSGI everything is treated as module. In this article I will explain how to create a sample portlet using Liferay IDE. The sample portlet would be nothing but OSGI […]

    1 Comment.
  • Apache Felix Web Console in Liferay 7

    The Apache Felix Web Console is a simple tool to inspect and manage OSGi framework instances using our favorite Web Browser. In our previous article we have written about Apache Felix Gogo shell in Liferay 7. However Gogo shell is command based shell to interact with the module framework. Its also possible to use web […]

    1 Comment.
  • How To Access Gogo Shell in Liferay 7

    A request for comments (RFC 147) by Peter Kriens, an attachment to the OSGi 4.2 specifications document early draft, describes a proposed interface for the processing and launching of commands for the OSGi framework. It defines the blueprint for a shell service and its language. The goal behind such an endeavor is to attempt to […]

    Post Tagged with ,
    No Comments.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.