spring-portlet-mvc Questions

5

Solved

I created a bean class and use it in my controller but it does not seem to work. Namely even though I enter an invalid age, result.hasErrors is still false. Bean class: public class User{ @Min(1...
Ornithic asked 26/11, 2010 at 8:27

5

Solved

I've spent the last six hours scouring Google and stackoverflow for an answer to this question. I'm originally a PHP developer, so bear with me - returning a JSON array from a PHP controller is tri...
Enlargement asked 25/4, 2011 at 22:46

1

I have a small project (using Spring 4.2.0, Spring Webflow 2.4.2, Hibernate validator 5.2.2) that is working as expected in the servlet world, but after having transformed it to a portlet, the vali...

2

How can i define custom permisssion to custom portlet for specific user in liferay I used enviroment liferay 6.1.2 ga3 with jboss In my custom portlet deploy/undeploy button but how can i give spec...

2

I have this following problem in Netbeans IDE - when I create a JSP file and put these two taglibs inside <%@taglib prefix="portlet" uri="http://java.sun.com/portlet_2_0" %> <%@taglib pr...
Sorilda asked 19/2, 2013 at 7:33

1

Solved

The differences between @RequestMapping, @ActionMapping and @RenderMapping are not very clear to me. It seems that all of the above ultimately map a request url to an actual method in the controlle...
Lissome asked 8/4, 2013 at 19:54

4

In my @ActionMapping I create a PDF file for the user. Now I was wondering how I can return this pdf to the user in the form of a save/open file dialog box? I'd prefer this over showing a download ...
Higgler asked 4/1, 2011 at 10:43

1

Solved

I was looking for a way to send a PDF (direct display) file to the browser through Liferay Portal. Found many solutions - the most popular one being writing a Servlet that does the job. I've read a...
Mooneyham asked 28/12, 2011 at 10:19

1

Solved

I'm very new to Spring and Portlet. I want to use jqgrid to show some list. I am trying to call a method in controller which is annoted with the @RequestMapping but the method is not being called ...
Outride asked 29/8, 2011 at 9:53
1

© 2022 - 2024 — McMap. All rights reserved.