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
6
votes
2 answers

How to share jar within multiple portlets?

I'm using several jars in my portlets, for instance c3p0. Now I want to avoid to put the jars in every of my portlets lib folders. How can I share one jar file within multiple portlets? And how should I integrate them in the Eclipse IDE? Add an…
strauberry
  • 4,189
  • 5
  • 34
  • 50
6
votes
3 answers

How to close a Liferay.util.openWindow popup window?

I load the WebContent edit portlet on a Popup window using the following code: The value for editUrl is: editUrl = "javascript:Liferay.Util.openWindow({ dialog:{ …
Ursula
  • 233
  • 4
  • 13
6
votes
3 answers

How to customize which portlets to show in "Add more portlets" menu

I need to customize as to which portlet appear in the "Add more portlet menu" as shown in the image below: I need to restrict the number of portlets displayed in this menu based on the logged-in user or site (community). So that Site-owner or…
Prakash K
  • 11,669
  • 6
  • 51
  • 109
5
votes
1 answer

How to call a custom service from other plugins in liferay?

I have a Liferay Custom service built using service builder. I have the WebArticleLocalHelperServiceImpl which is the implementation of my service. How can I call my service from other plugin projects. I am able to call the service from velocity…
Rajesh Pantula
  • 10,061
  • 9
  • 43
  • 52
5
votes
2 answers

extend session of Liferay when performing AJAX call

I created a portlet that uses AJAX every function. That is, the portlet is only rendered once and i didnt utilize processAction or the like. Is there a way to extend the user's session using built in Liferay function using javascript? I…
ton
  • 355
  • 3
  • 13
5
votes
1 answer

Liferay 6 create 'Add Page' link outside of dockbar

Is it possible to replicate the 'add page' link outside of the dockbar? It is possible to replicate the 'add application', 'control panel', 'toggle controls' and 'page layout' links outside of the dockbar by adding javascript to main.js. This…
Gem E
  • 51
  • 1
5
votes
2 answers

Customizing Liferay 6 Dockbar in Velocity / JS / CSS

I'm not a fan of the whole 'portal dockbar' for normal users (we use Liferay for external facing hosting). And I don't want to show people things like 'Go To' etc (I've hidden the private / public pages using things like must be power user to show,…
Jakub
  • 20,418
  • 8
  • 65
  • 92
5
votes
3 answers

Liferay Portlet and JSF : Redirect during Render Phase

I have a problem to implement a simple HTTP redirection. I use Liferay 6.0.6, our portlets are build with JSF2.0 / PortletFaces. I want to call a redirection when a view is loaded (and not when an action is triggered). Currently, my function is…
Julien Lafont
  • 7,869
  • 2
  • 32
  • 52
5
votes
3 answers

Can multiple pages share the same instance of a portlet in Liferay?

For a website powered by Liferay EE 6.0 SP1, there will be cases where some pages will need to "share" the same instance of certain portlets, but other pages will have their own instances. For example (contrived, but hopefully illustrative),…
user212218
5
votes
5 answers

Delete a liferay portal instance

Is there any way to delete a portal instance created in liferay 6??
user323101
  • 259
  • 1
  • 8
  • 13
5
votes
0 answers

What can cause ajax calls to take much longer in IE than Chrome?

I am working on a Liferay-based portal which contains a number of dynamic portlets. The load-time on Chrome is roughly half that of IE. There may be a number of factors but it appears to me that the AJAX calls take much longer in IE than in Chrome.…
paul
  • 13,312
  • 23
  • 81
  • 144
5
votes
3 answers

Liferay portlet non-liferay JNDI data source null

For a Liferay 6.2 custom portlet accessing a non liferay Oracle database we are running into an issue where the data source returned is null. We have configured the tomcat/conf/context.xml
VC1
  • 1,660
  • 4
  • 25
  • 42
5
votes
1 answer

Liferay 6.2-ce-ga2 clustering issue

Liferay 6.2-ce-ga2 I'm trying to cluster two nodes, I'm using tomcat liferay bundle for both the nodes. I used the following blog post as a reference and many others…
johndoe
  • 4,387
  • 2
  • 25
  • 40
5
votes
2 answers

how to get path Context without using themedisplay object in liferay

Can anyone help me how to get path context in liferay without themedisplay object (means in scheduler ) I am using liferay 6.1
sonal
  • 309
  • 4
  • 15
5
votes
3 answers

Liferay Portlet Error - "NoSuchResourceActionException _WAR_#VIEW"

I have created a custom Liferay 6.2 portlet using Grails 2.0.4, the Portlets Plugin 0.9.2, and Liferay Portlets Plugin 0.4. I am getting a strange error after deploying the portlet. Here is what happens: Upload the WAR file through the web…
grantmcconnaughey
  • 10,130
  • 10
  • 37
  • 66