liferay

Customize the user creation process in liferay portal

Hi Friends, As we know, Liferay has the inbuilt functionality for creating users. But i want to have an workflow for creating users which involves approval process. I mean, user will be created by admin but it should be approved by another authorized person, then only the user account will be active. Is there any way to customize the u...

Glassfish comet problem

Hi, When deploying our portlet in liferay with glassfish set up with comet support enabled we get malformed http responses - seems like requests are not corelated with responses. For exemple - for an http request for a css we may get a image back that was requested by other http request. Our portlet is a jsf enabled portlet using JQuer...

Do I need Liferay jackrabbit clustered configuration when using db

Hi, I configured Liferay jackrabbit to use database instead of disk store. This Liferay will be deployed in a clustered Weblogic. I was thinking if I still need to configure jackRabbit for cluster if it is using database? I understand that cluster configuration in repository.xml is required only when data is distributed between nodes b...

How do I create a direct link to a jsp file in Liferay

I want to create a direct link to one of my jsp pages in Liferay. I noticed that creating the link by simply specifying the path does work. Please does anyone know how I can do it. ...

Spring 3 Portlet - data not updating on a page refresh

I'm trying to write a simple portlet using Spring 3 to run in Liferay. It's two pages - you can view an ordered list of items (they are just strings), and if you go to the edit page, you can change the order of the items in the list. On the edit page, you can either move an item up or down, one level at a time. So for example, when you c...

Portlets: How to obtain portlet unique javascript-names

The JSP-Portlet taglib provides a unique namespace for each portlet instance, that can be used as a prefix to get portlet unique names. Is it possible to create such portlet unique names in external javascript-files? ...

How to add Links in liferay

Hi All, I am using Liferay 6.0.4 and I have a page which is available to all users including guests. The page is called "Information". The page has already been created. Right now its an empty page. I want to add these four links to that page on the left hand side: 1. Calender 2. Forums 3. Blogs 4. Docs I have created that page with 30...

Liferay portlet not calling correct render method (ignores setRenderParameter)

I have a portlet which has many rendering and action methods: @Controller @RequestMapping("VIEW") public class CartController { @RenderMapping() // default render method public String defaultRender(RenderRequest req, RenderResponse res, Model model) throws PortalException, SystemException { ... } @RenderMapping(params="acti...

Liferay: Conditional include depending on language

I'd like to be able to conditionally include a different header file based on the requested content language. Something like the pseudocode below #if (language is english) #parse ("header_english.vm") #end How would you do that in Liferay? ...

Where are RSS feeds stored in Liferay?

Hi, i just need to know what happens when you create a RSS feed in Liferay? Is the configuration data for the feed (Structure, template, friendly url of the portlet...) stored on the DB or in a file?And, in both cases, where the data is stored exactly? ...

Seamless SSO with CAS

I have Spring MVC app with Spring Security set up to use CAS. Also I have Liferay Portal 5.2.3 configured to use CAS. I authenticate from app_1 Open Liferay Portal (app_2) It does not check authentication immediately (I see sign in link) If I click Sign in then CAS verifies that user is authenticated and I'm automatically signed in. ...

PHP app in liferay - HTTP Status 404

Hi, I'm a liferay newbie. I'm trying to write a simple php app that echos some text and add it as a plug in to liferay. I've created the file helloworld.php, zipped it up and installed it. Finally I add it to the page but am getting the following error: HTTP Status 404 - /helloworldapp/ type Status report message /helloworldapp/ descri...

Need some help with choosing a solution for implementing a dashboard

Hello, I would like to implement a dashboard with dashlets/portlets that offer the following functionality: A dashboard which shows the overall state of various services (Net Banking, Mail, Core Banking, Intranet,Sharepoint etc). First level can show the service name and a status showing Green, Amber, or Red. If the user clicks on the...

Using Liferay portlet in an external application

I have a legacy web application that I want to enhance by adding a message board. Is is possible to add the message board portlet of liferay into this external application. I am a newbie so pardon my naivity if I've overlooked something obvious. Many Thanks Aman ...

JASIG CAS Login Programmatically (With Liferay )...

Hi all, I am using JASIG CAS for SSO login with liferay. Now, its working fine when i directly try to login, because the redirect is there with CASFilter. It redirects to CAS login page, and after login successfully it redirects to our application url provided. Now i want to login into CAS using liferay's login portlet. This portlet is...

liferay instantiable struts portlet question

Hi all, It is possible to reference a portlet, which is instantiable and is already three instances in the same page, via URL? The problem is that I don't know the instanceID when I create the URL, therefore when I click on the link, Liferay doesn't find the portlet. Thanks. Udo. ...

Liferay: PDF saving filename

I can serve PDF files no problem with Liferay but when I try to save them they just get the filename from the url like such: http://localhost:8080/c/document_library/get_file?uuid=7a75925d-77f6-4d8a In this case when hitting the Save button in the Acrobat reader plugin the suggested filename will be get_file. Any idea on how to preser...

Liferay 5.2: servlet.session.destroy.events hook always passes null HttpServletRequest/Response

Hello, we're trying to hook into Liferay's logout mechanism to log users out of a third-party service when they leave the portal. I understand that there's the hook mechanism which allows me to add custom implementations of Action to be executed on certain events. We tried using logout.pre.events but could never get Liferay to call our...

Liferay: SessionCreateAction, SessionDestroyAction

Hi, Post Session Creation action can be denifed in a class that is extended from com.liferay.portal.events.SessionCreateAction. Similarly class that extends from com.liferay.portal.events.SessionDestroyAction will do Post Session Destroyal actions. But I could not find any specific implementation in classes SessionCreateAction and Sessi...

Liferay for delivering RIA

Hi Stackoverflow, I am currently looking into Flex and Liferay for delivering an RIA. We are replacing a rather large existing application built on an internal AJAX/Java library. For this, Flex seems to meet our needs for development but we've had a wrench thrown into the works. We need to integrate with another internal app that's been...