Questions tagged [liferay-7]

Please use only for Liferay Portal CE 7.0 and DXP 7.0. Liferay is an open source Java portal and social platform. Version 7.0 was released in 2016.

Liferay Portal is a free and open-source Java-based enterprise portal, content management system, and social platform used to power corporate intranets and extranets. Liferay DXP is the matching enterprise supported version of the software.

It has support for developing plugins using Blade Tools

The most important and remarkable improvements of "Liferay Portal 7.0 Community Edition" and "Liferay DXP 7.0" is Liferay’s module framework which makes it easier than ever for developers to create Liferay applications and to customize Liferay using modules and components!

A lot more information is available in the main tag. Liferay 7 is partially backwards-compatible with Liferay 6.2 Plugins, but provides a lot more customizing options when leveraging OSGi for building plugins.

Please note that Liferay Portal CE versions are only updated until the next version is out. Currently (August 2019) the active version is 7.2 - the last update to Liferay CE 7.0, 7.0.6 GA7, was released in May 2018.

887 questions
8
votes
2 answers

Custom taglib not loaded with Liferay7

I am migrating my Liferay portlets from 6.0 to Liferay 7.0 and one of the many roadblocks that I am hitting is the inclusion of my custom taglib. I followed the advice from: Creating a custom taglib in Liferay 7 but my portlet fails to load the…
user330315
8
votes
1 answer

How can I disable SennaJS/SPA in Liferay 7?

Liferay 7 uses SennaJS as its Single Page Application engine in order to load and replace certain parts of the portal page during form submission and navigation. Occasionally this feature interferes with my use case, so how can I disable it?
stiemannkj1
  • 4,418
  • 3
  • 25
  • 45
8
votes
5 answers

Freemarker does not assign staticUtil

I worked Application Display Templates on liferay 6.2, I use freemarker help pagination the dynamics data list of liferay. When I upgrade to liferay 7, it is a problem. Liferay 7 use code <#assign records =…
lee trj
  • 83
  • 1
  • 5
7
votes
1 answer

How to support file upload in web-form Liferay 7?

I need a simple extension for Liferay web form to enahance file attachment to data flled in a liferay 7 web form. Also need to sent this file as an attachment with the email to the registered user. I know how to achieve this functionality in liferay…
Sandeep
  • 667
  • 7
  • 25
6
votes
1 answer

liferay 7 integration with cas using ldap

I'm newbie to liferay 7,I want to integrate liferay 7 with CAS server using ldap. my liferay's version is 7.0.2 GA3,CAS server's version is 3.5.2 and I'm using opendj active directory. I have installed liferay on localhost:8080,CAS server is on one…
dev
  • 61
  • 2
4
votes
2 answers

Liferay 7.3: How to preconfigure a portlet embedded in a page fragment?

We're using Liferay 7.3 (CE) and are trying to embrace the relatively new feature of "Content Pages" with "Page Fragments". We're able to develop page fragments that already include portlets (named "widgets" in the context of content pages), using…
orithena
  • 1,455
  • 1
  • 10
  • 24
4
votes
2 answers

Start up Issue - Liferay 7.1.2 GA3 -javax.servlet.ServletException

I am facing issue in startup of Liferay 7.1.2 GA3 (CE) with Mysql 5.7 db in Windows environment. It is restarted properly with hypersonic mode but connecting with mysql throws these error. I tried downloading new tomcat and drop and recreate the…
Gnaniyar Zubair
  • 8,114
  • 23
  • 61
  • 72
4
votes
1 answer

java.lang.ClassCastException: com.sun.mail.handlers.multipart_mixed cannot be cast to javax.activation.DataContentHandler

The line part.writeTo(out); throws java.lang.ClassCastException: com.sun.mail.handlers.multipart_mixed cannot be cast to javax.activation.DataContentHandler private static void getBodyAsRFC822( MimePart part, boolean ignoreHeaders,…
Simone Sorgon
  • 155
  • 1
  • 14
4
votes
1 answer

Liferay Service Pack and Fixpack

Is latest service pack installed If I install latest fixpack? Currently I install latest fixpack, but i check the service pack version, it ist not the latest service pack. in other words: does the latest fixpack contain the latest liferay service…
suatCoskun
  • 812
  • 2
  • 10
  • 14
4
votes
1 answer

Liferay 7 remote service access denied

liferay 7 I have a remote service for one of my service builder entity and I would like to create a method accessible without any authentication (no p_auth parameter or authentication header). I added the @AccessControlled(guestAccessEnabled = true)…
a.gaykevich
  • 51
  • 2
  • 4
4
votes
1 answer

Liferay- remove Control Panel menu

I am working with Liferay 7 GA 4. At the left side there is the Liefray menu (Control Panel, Users etc...) I'd like to remove this menu for the normal user and keep it visible only for the admin. Any one can help me find how can I do this? Thanks a…
Judy1989
  • 327
  • 1
  • 6
  • 18
4
votes
2 answers

Liferay module (OSGi bundle) stays in "Stopping"

Sometimes when I stop my Liferay module (for instance when I put a new version of its JAR in deploy/) the module refuses to stop. While the module should go to "Resolved" state, it stays in the "Stopping" state forever: Usually it is due to a…
Nicolas Raoul
  • 58,567
  • 58
  • 222
  • 373
4
votes
1 answer

Liferay Audience Targeting

I am new to Liferay and I deploy Liferay Audience Targeting -7.lpkg in deploy folder and restart my server still it's not showing in Liferay DXP Then I check in GOGO Shell there Liferay Audience targeting module is showing but in Resolved state but…
Sagar Damani
  • 862
  • 7
  • 12
4
votes
3 answers

Liferay 7 Service Builder doesn't auto update the database

In my Liferay 7 project, the Service Builder generates well the file tables.sql (with the complete sql) but doesn't include this content in the SERVICECOMPONENT native liferay table as it did for Liferay 6.2. Therefore, when I restart the server,…
Vincent
  • 139
  • 1
  • 13
4
votes
2 answers

CustomSQLUtil gets null value during query retrieval with Liferay 7

Whereas I had no problem with the CustomSQLUtil class in Liferay 6.2, I meet a problem with the new version of this class in Liferay 7. Indeed, the get method returns null instead of the expected query. Does someone has reproduced this ? Here is the…
Vincent
  • 139
  • 1
  • 13
1
2 3
59 60