On Nov 16, 2010, at 10:19 AM, Vanessa Pacheco wrote: > Is that Appfuse 2.1.0M2? > > I did get it, but it still doesn't have pathVariable. > > I see <spring.version>2.5.6</spring.version> in pom.xml. If I replace that > with 3, would 3 be downloaded and be used? Also what repurcussions wud this > have.
Yes. No repercussions should happen. > > Thnx in advance > Vanessa > ----- Original Message ----- > From: "Ramzi MAALEJ" <ramzi.atv...@gmail.com> > To: users@appfuse.dev.java.net > Sent: Monday, November 15, 2010 10:01:47 PM (GMT-0500) America/New_York > Subject: Re: [appfuse-user] userFormController onSubmit() > > > a new version of appfuse has been released, it does include Spring 3. > > > On 2010-11-15 13:00, Vanessa Pacheco wrote: >> 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 >> >> > > > -- > Best regards, Ramzi MAALEJ > > --------------------------------------------------------------------- > 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 > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net