Questions tagged [liferay-6]

Liferay is an open source Java portal and social platform. The 6th major version was released on June 2010, includes 6.0.x, 6.1.x and 6.2.x and was followed by major version 7 in May/June 2016. Use this tag for both, Enterprise and Community Edition of the given releases.

Liferay is a free and open-source Java-based enterprise portal, content management system, and social platform used to power corporate intranets and extranets.

It supports plugin development using many languages, including PHP and Ruby. The 6.1 GA2 Community Edition and 6.1 GA2 Enterprise Edition were released on the 31st of July 2012.

Liferay has released 6.2 community- and enterprise editions in 2013/2014, and one of the most important and remarkable improvements of the new version of Liferay Portal are the new mobile capabilities that come out of the box.

Community Editions of 6.x won't receive any more updates, the latest available version is 6.2.5 GA6, released November 2016

A lot more information is available in the main tag.

2437 questions
8
votes
4 answers

liferay spring portal @ResourceMapping can't trigger different types of http methods

I have created a liferay portlet application using Spring, thymeleaf and AngularJS. For communication between AngularJS and spring I need to create some rest calls which I have created using @ResourceMapping like as shown below. The application is…
Alex Man
  • 4,746
  • 17
  • 93
  • 178
8
votes
0 answers

Liferay performance issue

We are facing performance issue with liferay 6.2 after migrating from 6.1. Almost all our custom as well as liferay's plugin portlet are responding very slow for non admin users. We observe that permission checks seems to be taking lot of time. Also…
suyash
  • 1,254
  • 1
  • 15
  • 33
8
votes
2 answers

Liferay Service Builder 6.2: Many to one relationships

I want to create a one to many relationships and I've used the following service.xml:
Breiti
  • 579
  • 5
  • 21
8
votes
2 answers

Include static sitemap in Liferay

I'm in need of putting a static sitemap.xml file, because Liferay does not generate all of the desired links, and a few that shouldn't be there. I think it's because it's heavily altered by my ext-plugin. Question is, that is it possible to set up…
Cornelius
  • 291
  • 2
  • 6
  • 21
8
votes
5 answers

Including jQuery and other JS files in Liferay Theme

I use Liferay 6.1 and I created my theme (sample-theme) and I want add jQuery. How can I do that? Why I have folders: sample-theme and liferay-work and both have folders: css, js, templates? I created folder _diffs and subfolder js and there copy…
witek010
  • 359
  • 3
  • 9
  • 15
8
votes
2 answers

How to disable default message: "Your request processed successfully"?

How would I disable this default message: "Your request processed successfully" for my plugin portlet when an add/update action is performed in my portlet? Also I would want to disable this for my custom configuration page (configuration.jsp), this…
Prakash K
  • 11,669
  • 6
  • 51
  • 109
7
votes
3 answers

How to integrate a Google Docs document in Liferay?

Is there any way that we can integrate Google Docs in Liferay? I found some other 3rd party APIs, like Zoho, but I would like to use Google Docs instead.
Scorpion
  • 6,831
  • 16
  • 75
  • 123
7
votes
4 answers

Making Ajax request in portlets for liferay 6

I want to make an ajax call inside my jsp file which calls processAction method of a portlet, based on the success message from processAction method i need to make another call to serveResource method of portlet,please provide some examples..
user872220
  • 71
  • 1
  • 1
  • 3
7
votes
1 answer

How to replace a function on a Liferay native portlet

I am making a change to a native Liferay portlet, that comes with Liferay Intallation. How can I change a function to my own implementation by a hook or similar approach? I have read how to make pre and post conditions and how to make new…
mico
  • 12,730
  • 12
  • 59
  • 99
7
votes
2 answers

Liferay api/jsonws page should be accessible only for admin users

Can anyone please tell me how we can Restrict Access to Liferay api/jsonws page for normal users. api/jsonws page should be accessible only for admin users. Do we have any option to do that in Liferay. Can anyone please help me on this
Alex Man
  • 4,746
  • 17
  • 93
  • 178
7
votes
2 answers

Getting " Portlet Portlet_WAR_portletID has a null portlet bag" in liferay 6.2

I created a liferay plugin portlet project and deployed in Liferay 6.2. When i try to deploy, i am getting " Portlet Portlet_WAR_portletID has a null portlet bag" error. I am not able to find the root as i could see i am referring correct plugin…
user2574980
  • 229
  • 1
  • 6
  • 16
7
votes
2 answers

How to create a top-level servlet in liferay

I wanted to create a servlet in liferay that is listening to a URL such as http://localhost:8080/my-servlet I tried to add it to a portlet but the I have the URL http://localhost:8080/my-portlet/my-servlet I tried to add my servlet description to…
Breiti
  • 579
  • 5
  • 21
7
votes
4 answers

Liferay With Multiple Server Instances

I'm working with multiple Liferay Projects (different Portal, plugins, user and usergroups etc ) in the same time, and often have to switch between them. This switch requires lots of steps like Editing the portal-ext.properties (to change the…
yannicuLar
  • 3,083
  • 3
  • 32
  • 50
7
votes
1 answer

Can we have custom permissions defined for the portal?

Environment: Liferay 6.1 GA3 EE Can we have custom permissions defined for the portal? We can create custom permissions in our plugin portlet through creating an XML with tag and defining the within it. And when I go…
Prakash K
  • 11,669
  • 6
  • 51
  • 109
7
votes
1 answer

How to fetch liferay entity through custom-finder in custom plugin portlet?

How can we fetch liferay entities through custom-finder using custom SQL? Following is my sql query written in default.xml (I have trimmed down the query to the bare minimum so that the logic remains simple. Since it included a few functions and…
Prakash K
  • 11,669
  • 6
  • 51
  • 109