liferay « MVC « Spring Q&A

1. Problem with deploying simple Spring MVC Portlet to Liferay 5.2.3

I try to deploy a simple spring portlet in ext (I can't use Plugins SDK...) on Liferay 5.2.3 My portlet: ext-impl/src: package: com.ext.portlet.springmvc

package com.ext.portlet.springmvc;


import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;

public class HelloWorldController implements Controller ...

2. Spring-json problem in Liferay with Spring 2.5

I am trying to use the library spring-json.1.3.1 in a project that has been done with Liferay 5.1.2 which includes Spring 2.5. Following the project website instructions, I managed to ...

3. Liferay portlet not calling correct render method (ignores setRenderParameter)

I have a portlet which has many rendering and action methods:

public class CartController {
  @RenderMapping() // default render method
  public String defaultRender(RenderRequest req, RenderResponse res, Model model) throws PortalException, ...

4. Suggestions on Portlet Development Approach on Liferay

We are in the phase of evaluating some of the frameworks for portlet development. As of now I know of below 3 options. I would like to know your experiences with ...

5. Spring MVC - Liferay - Validation (with @valid annotation)

I'm trying to use the "@Valid" annotations in a Controller with Spring MVC (and Liferay 6). I have "test-portlet.xml" :

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns=""

6. Liferay 6.0.5 and Spring MVC 3 question

In spring's documentation, for the "value" at the RequestMapping annotation, they say :

In a Portlet environment: the mapped portlet modes (i.e. "EDIT", "VIEW", "HELP" or any custom ...

7. How to create a web page in spring MVC with configurations

How the flow goes from url to controller and then to browser . give example create a spring MVC web page with xml files etc for configuration setup or action ? ...

8. How to Set Form Bean before it goes to JSP page

I am an absolute beginner. So please bear with me if I miss the obvious. Environment I am using: Spring Portlet MVC (3.0), Liferay 6.0.6 I have a controller, a form bean and ...

9. Implementing a permalink mechanism in Liferay Portlet

I am trying to create a permalink system for the portlets I'm developing (Spring MVC, Liferay 6.0.6). My idea was to create and map a special URL, so I used to append ...

10. Liferay + Spring MVC Portlet + Porlet Events

Liferay + Spring MVC Portlet + Porlet Events I'm trying to use events and I'm constantly getting this error. Liferay 6.0.5 Spring 3.0 If I include @EventMapping("highlights") in my controller it ...

11. Spring Portlet MVC - Liferay - Tiles/SiteMesh

Spring Portlet MVC - Liferay - Tiles/SiteMesh Hello all, I am developing a portal application (Liferay is portlet container) using Spring Porlet MVC (2.0.3...) .. I want to develop web pages ...

12. Spring MVC + Liferay, various calls made by the DispatcherPortlet

Jan 25th, 2008, 12:48 PM #1 zuquirio View Profile View Forum Posts Private Message Junior Member Join Date Jan 2008 Posts 10 Spring MVC + Liferay, various calls made by the ...

13. Liferay & Spring Portlet MVC issue: redirect after processFinish()?

Liferay & Spring Portlet MVC issue: redirect after processFinish()? Hello! This question is adressed more to Liferay users. I have a problem with portlet usage in Liferay portal. I'm using AbstractWizardFormController ...

14. Problem with simple spring MVC portlet on Liferay

15. Spring Portlet MVC and friendly URLs in Liferay

Spring Portlet MVC and friendly URLs in Liferay Hello, I am working on a portlet to be deployed in Liferay 6.0.5 container. The portlet uses Spring Portlet MVC annotations. Among other ...

16. Liferay 6.0 and Spring MVC Portlet-deployment failing saying Render response is null

Dec 6th, 2010, 05:53 AM #1 j.gohel View Profile View Forum Posts Private Message Member Join Date Jan 2007 Posts 56 Liferay 6.0 and Spring MVC Portlet-deployment failing saying Render response ...

20. spring mvc issue

21. Redeploy spring mvc portlet problem

32. Spring MVC Portlet and Events

33. Spring MVC Portlet and IPC

34. how to integrate spring mvc