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
18
votes
4 answers

Programmatically get the url of a page in liferay

I want to create a link in a portlet so that I can navigate to a different page in the liferay portal. I order to do that I am looking for an API (can be liferay specific) that given a page name, would return it's url (it can be the friendlyURL as…
bernardn
  • 1,701
  • 5
  • 19
  • 23
16
votes
3 answers

How to submit form using Ajax request in Liferay?

I am newbie in liferay portal. I have developed one portlet in liferay for demo. I used inter portlet communication in this example. What i am doing is:- I have one search portlet in which i am having one textfield for search. When i click on…
Scorpion
  • 6,831
  • 16
  • 75
  • 123
16
votes
1 answer

How to find portlets added on a particular page in Liferay?

How can I find which portlets are added on a particular Liferay page? For Example: I have three pages: Welcome, Wiki and Search. Now all these pages have portlets added on them and some of them are instanceable portlets (like web-content display and…
Prakash K
  • 11,669
  • 6
  • 51
  • 109
16
votes
3 answers

How can I get the current user in Liferay?

How can I get the current user connected to a Liferay portal with a simple Java code? I'm using Liferay 6.0.6
med
  • 161
  • 1
  • 1
  • 3
14
votes
5 answers

Login via Rest web service from android using retrofit not working

I am making an android app using Retrofit 2. My REST Api are all written in Liferay. Now in Liferay, what I have seen is, to access the web services we need to authenticate first. So i have authenticated like this…
Deb
  • 2,431
  • 3
  • 18
  • 28
14
votes
1 answer

Dynamic columns in liferay-ui:search-container?

I have tried the liferay-ui:search-container to fetch and display the database table records on UI in a table/grid format. By using the liferay-ui:search-container I am getting the output as shown below, I am fetching the USER_ table records in the…
Prasad
  • 1,164
  • 1
  • 10
  • 27
10
votes
2 answers

Testing for custom plugin portlet: BeanLocatorException and Transaction roll-back for services testing

My Problems: I can test successfully for CRUD services operation. I was doing an insert on @Before [setUp()] and delete of same data on @After [tearDown()] but going forward I would need to support Transactions rather than writing code for insert…
Prakash K
  • 11,669
  • 6
  • 51
  • 109
10
votes
10 answers

Liferay 6 Using Common Service Builder layer Error - BeanLocatorException - BeanLocator has not been set

We are trying to use liferay service builder as a common layer for all our portlets. We have created a separate common portlet project where we are building the service using service.xml This generates a service.jar file for us. We are copying this…
Kzvi
  • 519
  • 1
  • 6
  • 17
10
votes
1 answer

Severe security constraints while tomcat 8 startup with liferay

I am getting the below severe message while the tomcat 8 comes up with liferay. SEVERE [localhost-startStop-1] org.apache.tomcat.util.descriptor.web.SecurityConstraint.findUncoveredHttpMethods For security constraints with URL pattern…
abhineet
  • 195
  • 1
  • 1
  • 11
10
votes
2 answers

"A is not defined" inside of block

I'm trying to extend some functionality of an existing Liferay portlet. As part of this, I would like to use Alloy UI to modify the value of a field in the portlet. There's a pre-existing block where I would like to define my custom…
red_sky
  • 834
  • 9
  • 17
10
votes
2 answers

How to get Portlet Id using the portlet name in Liferay?

I have a requirement of getting resource permission using portlet name. I will have the name of the portlet not the Id. Resource Permission name for a portlet is that portlet's Id. I checked the Portlet table, it has only the Id and other info.…
Vijayalakshmi
  • 189
  • 1
  • 3
  • 11
10
votes
5 answers

Is it possible to add Extra Fields Under Create User in Liferay

I am using Liferay 6 for portal Development . During Creating Users under Liferay , i need to add some extra Fields also ?? Please let me know if this is ppossible or not ?? Please see the screen shot attached here , and also please let me know in…
Pawan
  • 31,545
  • 102
  • 256
  • 434
9
votes
1 answer

liferay-6.1 - Implement own service

Hey I have create my own service.xml with student. Now o want to add my own searchByName method for student. can you please explain me what to write in StudentLocalServiceImpl. public class StudentLocalServiceImpl extends…
Jay Trivedi
  • 464
  • 4
  • 15
8
votes
1 answer

memberOf vs. groupMembership in LDAP (Liferay)

What is the difference b/n memberOf attribute and groupMembership attribute when used in LDAP Authentication settings in Liferay? The users are imported successfully. The groups are also imported successfully. But the users are not assigned to the…
Ashok Goli
  • 5,043
  • 8
  • 38
  • 68
8
votes
1 answer

Embedding Liferay site as iframe is not working on external site

I have got a Liferay page which has Portlet. I tried to embed this page as an iframe in external site which is not in Liferay but it is giving the error in console as: Refused to display 'https://example.com' in a frame because it set …
TechPro
  • 331
  • 1
  • 10
  • 29
1
2 3
99 100