Questions tagged [liferay-6.2]

The current (June 2021) version of Liferay is 7.4 - Liferay 6.2 was released in 2013, with the last GA update in 2017. Consider upgrading asap. If you're still running Liferay 6.2 CE, at least have this security patch https://liferay.dev/blogs/-/blogs/security-patches-for-liferay-portal-6-2-7-0-and-7-1 installed. A lot more information is available in the main liferay tag.

The current (June 2021) Community Edition version of Liferay is "Liferay Portal 7.4 GA2" - the current enterprise supported version is "Liferay DXP 7.3".

Liferay Portal 6.2 (CE and EE) was released in 2013, with the last CE GA update in 2017. If you're still running this version: Consider upgrading asap. At least you definitely should have this security patch installed.

A lot more information is available in the main tag.

154 questions
1
vote
0 answers

Radio button is not clickable in a Liferay portlet after migration from 6.1 to 6.2

I am new to Liferay development and working on migration of portlets from 6.1 to 6.2. There am facing a strange behavior of a portlet which is having 3 tabs and each tab is to be displayed on clicking a radio button(as there are 3 radio buttons for…
KKKs
  • 11
  • 1
1
vote
0 answers

Ext changes are not loading for liferay 6.2 with Maven build, ext-impl LoginUtil class

I am creating ext plugin with liferay 6.2.10 EE. with Ant build it is loading changes but with Maven build it is not loading changes. I need to override class from ext-impl: ext-impl\src\com\liferay\portlet\login\util\LoginUtil.java I was comparing…
1
vote
1 answer

Error when adding new table on service.xml - Liferay 6.2

I'm using liferay 6.2 and I want to add a new table on service.xml. The new entry on service.xml is:
Spark
  • 15
  • 4
1
vote
3 answers

Find number of sites in Liferay, using SQL

I want to know the number of sites in a Liferay instance. If I had access to the web UI I would go to Configuration then Sites and see their number, but I don't have access to the web UI, I only have access to the MySQL database. When I run SELECT…
Nicolas Raoul
  • 58,567
  • 58
  • 222
  • 373
1
vote
2 answers

How to implement Save As Draft functionality in liferay 7

I have a one HTML JSP form with accordion. I w want to implement a "Save as draft" feature in that form. Can any body help me?
Rahul Vyas
  • 21
  • 4
1
vote
1 answer

PrimeFaces Drag & Drop not working if other portlets contain
tags

If I have a Liferay page which includes a Liferay Web Content Display with a form tag and then a PrimeFaces portlet with p:droppable and p:draggable, the Drag & Drop functionality does not work. My XHTML:
Tahir Umar
  • 13
  • 5
1
vote
1 answer

Liferay Portlets Deployment

Good afternoon. I'm working on a migration from WebSphere to Liferay 6.2 CE. So far I am able to Export the main project to a WAR file, and Import it in Liferay. The real problem comes on a development environment... When changes are made to the…
Pedro Marques
  • 327
  • 1
  • 2
  • 12
1
vote
1 answer

Liferay: localize layout template names

I have written a maven module, which contains my custom layout for liferay. The layout works fine but I also want it's name to be translated in a few languages. Here's my liferay-layout-templates.xml file:
1
vote
2 answers

Does service builder support using Java 8 Date classes?

Does liferay 6.2 allow using new Java 8 date classes such as LocalDate to be used as a datatype for entity column fields,in order to utilise more features on the same.We need to use instead of
1
vote
0 answers

How to add HTML to JS append. method?

I have a little problem, because I don't know how to insert a LifeRay message to the JavaScript CONTENT. It works very nice, but only when text is provided. I want to view the UI message in another div which was previously generated by Liferay with…
kamjed12
  • 11
  • 3
1
vote
2 answers

How to trigger staging in liferay 6.2 programmatically?

we have a client with a daily import of web contents in their site, and every day, after this import, they must run a staging to transfer the content to the production site. Is there a way to trigger the staging functionality programmatically?…
1
vote
1 answer

How to Add VIEW permission for layout for custom role in Liferay

I have been trying to propagate the View permission for a layout for a custom role, for which no entry exists in resourcepermission table for that layout and that custom role. As in below code, layout permission should be ideally set using…
shuchi
  • 33
  • 9
1
vote
1 answer

Liferay get browser URL

I have a HttpServletRequest object with me in a post login hook. How to get what URL is there is the browser. When I am using PortalUtil.getCurrentCompleteURL(HttpServletRequest) I am always getting http://localhost:8080/c. I need something like…
Dhruv Pandey
  • 482
  • 6
  • 18
1
vote
1 answer

Liferay 6.2 Form Validation Problems

I've been trying to adapt the validator from this example in a LR 6.2 GA6 Portlet. However, I can't get it to work. Curiously the validator-tag isn't working as well. This is the form I've been using
1
vote
1 answer

Where is the Look and Feel JSP file?

There is this Look and Feel option in every portlet settings: I want to create hook for this tab. Which JSP file do I have to override? How can I add my custom field in this tab (like Use Custom Title)?
Dhruv Pandey
  • 482
  • 6
  • 18
1
2
3
10 11