I'm using this tutorial 
"http://viralpatel.net/blogs/2010/11/spring3-mvc-hibernate-maven-tutorial-eclipse-example.html";

I see that Appfuse 2.x uses spring 2.5.6 (saw this in pom.xml). 

The tutorial uses org.springframework.web.bind.annotation.PathVariable, which I 
think is Spring 3.0. If I change the spring version, will it affect anything? 
Also, would I need to run
"mvn appfuse:full-source", "mvn eclipse:eclipse" again?

Vanessa
----- Original Message -----
From: "Josep García" <jgar...@isigma.es>
To: users@appfuse.dev.java.net
Sent: Monday, November 15, 2010 11:13:26 AM (GMT-0500) America/New_York
Subject: Re: [appfuse-user] userFormController onSubmit()

I suggest you don't use onSubmit. Instead, generate a "deletion url", which 
then does the actual deletion. In Struts2, that would be an action. For Spring 
MVC, I don't know. 

Josep 


2010/11/15 Vanessa Pacheco < vpach...@bowmansystems.com > 


Hi all, 

So, this is still about my delete button for every row in userList table. 
(userlist.jsp). 

I used 'c:forEach', thus replacing the displaytag. I was able to get the delete 
button/link to show up. However, when I click it, it doesn't do anything, 
because it somehow doesn't call the onSubmit() in userFormController. I don't 
have a form element on the page, cos there was never one to begin with. Could 
someone tell me how to get it to call that onSubmit method? 

Attached it the userList.jsp. Am not attaching userFormcontroller because I 
didn't make any changes to it. 

Vanessa 
--------------------------------------------------------------------- 
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net 
For additional commands, e-mail: users-h...@appfuse.dev.java.net 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to