Questions tagged [liferay]

Liferay is an open source JSR 286 compliant portal and social platform, written in Java. It provides fully functional built-in portlets (60+) and also various integration points to seamlessly integrate with other third-party softwares like Alfresco, Sharepoint etc. Make sure to also tag with the specific version that you're asking about.

Liferay is an open-source portal written in Java and a social platform. It implements JSR-286 and has various proprietary facilities.

Liferay Portal was created in 2000 as open source software. Thanks to a decade of ongoing collaboration with its active and mature open source community, Liferay's product development is the result of direct input from users with representation from all industries and organizational roles. Liferay provides a lot of integration points with other softwares like , , etc.

Liferay as a portal server is application-server agnostic, which means that Liferay can be installed on almost any Java application server.

Liferay provides more than 60+ preinstalled or built-in portlets (also known as out-of-the-box (OOTB) portlets) and the latest version Liferay 7 provides many more features like:

  1. Dynamic data lists
  2. Custom web content types
  3. Workflows for documents and media
  4. Related assets
  5. Faceted search
  6. Integration with multiple repositories
  7. Dynamic site templates
  8. Mobile device rules
  9. Bootstrap theme
  10. Advance Display Templates (ADT)

Liferay has a market-place which serves as an "app" store for the Liferay portal.

Editions

Liferay is distributed in two editions:

  1. Liferay Portal Community Edition (Liferay CE): This is supported by the Community and is free.
  2. Liferay Portal Enterprise Edition (Liferay EE): This is a licensed version of the Portal.

More about the editions can be checked out here.

Liferay Development

It is possible to customize Liferay (OOTB portlets and core) and add new features with the following plugin types using Liferay's Plugins SDK:

  1. EXT Plugin (prior to versions 6.x, it was known as the EXT Environment): To customize liferay's core classes and those things which are not customizable by hooks.

  2. Portlet Plugin: It helps in creating JSR 168 and JSR 286 compliant portlets. Liferay supports many frameworks to create portlets some of which are JSF with Liferay Faces, Spring MVC, Vaadin, Struts and for simple portlets Liferay provides a MVCPortlet class.

  3. Hook Plugin: This is used to modify Liferay's JSPs and other services

  4. Theme Plugin: This is used to customize the look and feel of the whole Portal.

  5. Layout Plugin: This is used to customize the page's layout and is one of the simplest plugins to develop. Liferay comes pre-bundled with 10 layouts.

All the plugins are packaged as .WAR files. All plugins are hot-deployable except the EXT plugin which requires server restart.

Liferay also provides Liferay IDE as an plugin to increase development productivity.

Liferay provides a rich API including many utility classes and also provides custom taglibs to ease development of JSPs, like:

  1. liferay-ui: It provides UI-related pre-styled structures and functional tools like the search container which handles search pagination.
  2. liferay-portlet: It is a wrapper around the tag and provides Liferay-specific portlet functionality.
  3. liferay-util
  4. liferay-theme
  5. liferay-security
  6. aui (AlloyUI taglib): A wrapper around Alloy UI to provide consistent UI components across the portal.

Liferay uses as the built-in Javascript library, which is a library built upon .

Liferay also provides the Service-builder, a declarative service and persistence layer code generator. The generated interfaces can also be exposed as web-services.

Known Liferay Integrations with third-party softwares

  1. Alfresco (Blog about Alfresco Integration)

Beginners' resources

  1. Liferay Developer Network: The place to start - with many tutorials
  2. Liferay Portal Wiki

Additional day to day resources

  1. Latest Liferay User Guide
  2. Latest Liferay Development Guide
  3. Liferay API Docs by version
  4. Liferay Marketplace: the place for getting plugins for all your needs
  5. Liferay Forums

Other Liferay resources

  1. Liferay Releases
  2. Previous Versions
  3. Liferay on Git-hub
  4. Alloy UI Demos
  5. Liferay in Action (official guide to Liferay development)
  6. Liferay Development Style guidelines
  7. Liferay Marketplace
  8. Liferay Portlets

Frequent/Interesting Questions

  1. To Go or Not To Go with Liferay?
  2. Restrictions/Disadvantages of developing portlets with Liferay
  3. Accessing User in Liferay Portlet
  4. Testing for custom plugin portlet
  5. Accessing logged-in User in a liferay portlet
  6. Programmatically get the url of a page in liferay
6475 questions
1
vote
1 answer

Is there any webservice to login to Liferay

Is there any webservice to login to Liferay. Can pass user name and password. I checked here - host/api/jsonws but unable to find that kind of API.
Sha Suki
  • 21
  • 1
  • 3
1
vote
0 answers

Unable to execute/View Vue app inside Liferay DXP

13-Apr-2020: All, Good evening. I was trying HelloWorld Sample of Liferay plus Vue.js. I was following the instructions given in https://help.liferay.com/hc/en-us/articles/360029028071-Developing-a-Vue-Application. I was able to build the…
Viswanatha Swamy
  • 699
  • 1
  • 10
  • 17
1
vote
0 answers

How to get DDL form's field names?

I implemented MVCActionCommand to override ddl form's add method. I want to retreive the values of the field from that form. @Override public boolean processAction(ActionRequest actionRequest, ActionResponse actionResponse) throws PortletException…
bkings
  • 11
  • 2
1
vote
1 answer

fusioncharts javascript render doesn't work inside liferay

I am using liferay portal and displaying graphs on portlet... The manual says the 3 js files(FusionCharts.js, highcharts.js and jquery.min.js) need to be placed in a folder and only FusionCharts.js needs to be included to render using javascript on…
Padmanabha Vn
  • 624
  • 1
  • 14
  • 33
1
vote
5 answers

Importing Liferay portlet into Eclipse IDE

I have a question regarding the development of liferay portlets using the liferay plugin SDK. My question goes mainly in the setup of the development IDE. The suggested one would be to use Netbeans IDE which I also tried out, but it appears to run…
Juri
  • 32,424
  • 20
  • 102
  • 136
1
vote
1 answer

error :com.sun.crypto.provider.AESCipher$General cannot be cast to javax.crypto.CipherSpi

Hello I am using Paytm checksum dependency in my Liferay dxp project But I am getting error :com.sun.crypto.provider.AESCipher$General cannot be cast to javax.crypto.CipherSpi Gradle Properties : dependencies {compile fileTree(dir: 'libs/',…
1
vote
1 answer

Box is separating from the search bar

So im working in this page https://www.pacificotest.com.pe/. - When someone scroll the page, the box that appears when you type "Clinica " move is not absolute, and when I change it to absolute it keep moving anyway. - Is there any code of css,…
AlonsoGP
  • 21
  • 3
1
vote
2 answers

Can not render custom form field in Liferay 7.2

I was migrating a 7.1 DXP portal to 7.2 DXP but I can not bring my custom form field to work. I used the dynamic-data-mapping-form-field-type module as a blueprint. My new field is available inside of the form builder - but when using it, nothing…
Andre Albert
  • 1,386
  • 8
  • 17
1
vote
1 answer

connection timeouts in glassfish when trying to get sun-web-app_2_5

We have a problem when trying to deploy war files on a glassfish v2 app server with liferay portal. when we upgraded from ubuntu 10.4 to 10.10 ( and greater) our deploy times went from 21 sec or so to 6 minutes. I seems like the problem is that a…
Buzzzz
  • 887
  • 3
  • 11
  • 18
1
vote
2 answers

How do you check the Liferay version in a FreeMarker template?

I am working on a theme for Liferay that I wish to work with both versions 7.2 and 7.3 of Liferay. How can I check what version is being used within the template, so I can do code like this: <#if liferay_version == "7.3">

Liferay…

SamWM
  • 5,196
  • 12
  • 56
  • 85
1
vote
2 answers

Liferay 7.2/7.3 error: 'PWC6033: Error in Javac compilation for JSP'

When using the bundled version of Liferay 7.2 or 7.3 with Java version 11.0.6 (the Azul Zulu build, also happens with AdoptOpenJDK), I get the following error in the log file and can't sign in or see portlets. When clicking on 'Sign In', there is an…
SamWM
  • 5,196
  • 12
  • 56
  • 85
1
vote
3 answers

Liferay service builder 5.2

Can any body please suggest me some reference material from where I can study about Liferay Service Builder 5.2.
Robin
  • 6,879
  • 7
  • 37
  • 35
1
vote
1 answer

Liferay Portal: OSGI Modularity with JSF and EJB- CDI not injecting/retrieveing with @Resource

I am currently working on the Liferay 7.1.2.ga3 CE with tomcat and was going over the OSGI section of the tutorial in the official documentation. This one: Docs I decided to give it a shot with the simplest project possible. I have created a Liferay…
Georgi D.
  • 52
  • 6
1
vote
1 answer

How to create Rest API with Jax-rs Backend in Liferay Dev Studio?

I'm trying to implement a REST API with JAX-RS using to deploy it in Liferay 7.2 and consume it with a React JS application as the font-end . Until now I don't know how to create a good project structure to start my back-end project! My Rest API is…
Nbenz
  • 602
  • 1
  • 9
  • 18
1
vote
1 answer

How to integrate bootstrap css and js with my liferay 7.2 theme?

I created a liferay 7.2 theme based on gradle with liferay developer Studio ( new Module project) , For now,I added some navigation menus and footer and contents , it looks not responsive anymore that's why I ask how to integrate bootstrap within my…
1 2 3
99
100