[appfuse-user] tutorial-spring: PersonFormController - form post not going to onSubmit

2008-03-09 Thread Waldo Rochow
I'm hoping that someone can help me. I have been running through the spring tutorial with hibernate, and all was going well until the PersonFormController. The behavior that I'm seeing is that when editing a person, I click on the save button and get redirected to the persons list. The changes

Re: [appfuse-user] tutorial-spring: PersonFormController - form post not going to onSubmit

2008-03-09 Thread Waldo Rochow
I have added this work-around (read "hack") to get the unit tests to work, and to get the page flow behaving properly. === CODE from PersonFormController.java === public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception { i

Re: [appfuse-user] tutorial-spring: PersonFormController - form post not going to onSubmit

2008-03-09 Thread Waldo Rochow
oops... of course if I populate the command with the result of a call to formBackingObject(request) it will be the same as it was when I loaded the page! This hack works. === CODE from PersonFormController.java === public ModelAndView handleRequest(HttpServletRequest request, Ht

Re: [appfuse-user] tutorial-spring: PersonFormController - form post not going to onSubmit

2008-03-09 Thread Matt Raible
On 3/9/08, Waldo Rochow <[EMAIL PROTECTED]> wrote: > I have added this work-around (read "hack") to get the unit tests to > work, and to get the page flow behaving properly. > > === CODE from PersonFormController.java === > public ModelAndView handleRequest(HttpServletRequest request, >

Re: [appfuse-user] tutorial-spring: PersonFormController - form post not going to onSubmit

2008-03-09 Thread Matt Raible
On 3/9/08, Matt Raible <[EMAIL PROTECTED]> wrote: > On 3/9/08, Waldo Rochow <[EMAIL PROTECTED]> wrote: > > I have added this work-around (read "hack") to get the unit tests to > > work, and to get the page flow behaving properly. > > > > === CODE from PersonFormController.java === > > public Mo

Re: [appfuse-user] tutorial-spring: PersonFormController - form post not going to onSubmit

2008-03-09 Thread Matt Raible
On 3/9/08, Waldo Rochow <[EMAIL PROTECTED]> wrote: > I'm hoping that someone can help me. I have been running through the > spring tutorial with hibernate, and all was going well until the > PersonFormController. > > The behavior that I'm seeing is that when editing a person, I click on > the save

RE: [appfuse-user] Update eclipse classpath

2008-03-09 Thread Aled Rhys Jones
Thanks Mike From: Michael Horwitz [mailto:[EMAIL PROTECTED] Sent: 02 March 2008 22:45 To: users@appfuse.dev.java.net Subject: Re: [appfuse-user] Update eclipse classpath On 02/03/2008, Aled Rhys Jones <[EMAIL PROTECTED]> wrote: Hi all When I update to a newer version of appfuse, e.

Re: [appfuse-user] tutorial-spring: PersonFormController - form post not going to onSubmit

2008-03-09 Thread Matt Raible
On 3/9/08, Waldo Rochow <[EMAIL PROTECTED]> wrote: > I have added this work-around (read "hack") to get the unit tests to > work, and to get the page flow behaving properly. > > === CODE from PersonFormController.java === > public ModelAndView handleRequest(HttpServletRequest request, >

[appfuse-user] appfuse:gen - generated list form works fine, edit form is all blank

2008-03-09 Thread Richard M
I ran "mvn appfuse:gen -Dentity=Status" on my Status model object. Its a pretty simple Class with a name, description and a couple o booleans - plus my standard AuditInfo fields (who, where, what, when for add and last update). When I run "mvn jetty:run", I can select the menu entry "Status List"

Re: [appfuse-user] appfuse:gen - generated list form works fine, edit form is all blank

2008-03-09 Thread Richard M
BTW, this is a Struts2-Hibernate basic app. Richard M wrote: > > I ran "mvn appfuse:gen -Dentity=Status" on my Status model object. Its a > pretty simple Class with a name, description and a couple o booleans - > plus my standard AuditInfo fields (who, where, what, when for add and last > updat

Re: [appfuse-user] appfuse:gen - generated list form works fine, edit form is all blank

2008-03-09 Thread Rob Hills
Hi Richard, Richard M wrote: I ran "mvn appfuse:gen -Dentity=Status" on my Status model object. Its a pretty simple Class with a name, description and a couple o booleans - plus my standard AuditInfo fields (who, where, what, when for add and last update). When I run "mvn jetty:run", I can