I have hit a brick wall and I need some suggestions. I have installed the sqljdbc4 driver in my application's /WEB-INF/lib directory and I still receive the error:
Caused by:...
Type: Posts; User: loulou2u; Keyword(s):
I have hit a brick wall and I need some suggestions. I have installed the sqljdbc4 driver in my application's /WEB-INF/lib directory and I still receive the error:
Caused by:...
Hi,
I want to be able to pass an object via a link to a Controller which will then display the details of the object.
For example, I want to pass the object "item" to a controller which will...
One more question.
I did take out the maxUploadSize and try what you suggested but I noticed that it won't go that far. It's like the application times out before attempting to check if it's too...
Okay, I thought of doing it that way but I wanted to make sure that I wasn't missing anything with the CommonsMultipartResolver functionality.
Thanks so much.
Have you figured out a way to display the error message if the user exceeds the maxUploadSize? I'm not sure what to pass to the jsp file.
Thanks
When I perform a merge() my object is not being updated in the database. All other instances of my updating and inserting records work, so I'm ruling out that their is a problem with database...
I found a solution. I ran into a similar post and responded with a solution here for future reference http://forum.springsource.org/showthread.php?p=350159#post350159
Thanks.
Okay I think I found a way to do this using an example I found here (http://www.blokefood.com/liferay-portal-4.2.1/web/blokefood/spring_upload_example) .. this is what I did using Spring Portlet MVC:...
Did you find an answer to your question? I'm having the same issue and would love to hear what you did?
Thanks
Are there any examples that may help guide me with uploading an image from a form using Spring Portlet MVC? I tried the documentation at the following url,...
I made some adjustments to my code below.
First of all, my notices-dao.xml file was incorrect. The property name is not 'user' it is 'username'.
Secondly, I removed the reference to...
I have got a skeleton working but once I start adding the datasource I run into context=null errors.
I'm using portlet mvc and annotations if that helps. I'm truly thinking this is a matter of...
Ok, I think I figured it all out for now. This is my resulting code:
@Controller
@RequestMapping("VIEW")
public class MyEditController{
@RequestMapping(params="action=edit")
I think I got my signatures working now but I was wondering how you now bind form data? Previously I used the commandClass and bindOnNewForm to configure this but I guess this is different when using...
Ok, I'll take a look at modifying the signatures. I'm going to remove the processSubmit out initially to see if I can at least get the form to display. I'll keep you posted. Other than that, are the...
Thanks for responding. Here's my code:
MyViewController:
@Controller
@RequestMapping("VIEW")
public class MyViewController{
private IMyService myService;
I stumbled upon this thread because it's something that I've been trying to do the past couple days. I had an existing spring portlet that I'm trying to rewrite using annotation. Basically, upon...
I just got it working using the standard: String url = request.getParameter("path");
I had the impression that I had to use PortletRequestUtils.getStringParameter() in spring mvc..
So, I guess...
I'm in the middle of learning how to use Spring Portlet MVC and I'm trying to understand how to use controllers.
Right now, I'm attempting to write an application that retrieves the contents of a...
I've installed all necessary plugins and I tried an example Spring mvc example but I'm having a difficult time getting the project deployed on tomcat.
this is the tutorial I used:...