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
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
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
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,
>
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
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
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.
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,
>
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"
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
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
11 matches
Mail list logo