Re: [appfuse-user] UserAction and userForm

2007-07-01 Thread Michael Horwitz
For a new user the id should be generated by the database. If you are using a persistence framework such as Hibernate, then Hibernate expects the id to be null if it is a new user so it can tell the difference between a save and an update. Mike. On 6/29/07, nmall <[EMAIL PROTECTED]> wrote: OK

Re: [appfuse-user] UserAction and userForm

2007-06-29 Thread nmall
OK, the method specified is "post" in the userForm.jsp thus resulting in a post message. However, my problem is that there is nothing in the user.id. Where do we expect to get it from. Thanks! nmall wrote: > > Hi, > > In UserAction (.java) class, why do we expect the httprequest to be a > po

[appfuse-user] UserAction and userForm

2007-06-29 Thread nmall
Hi, In UserAction (.java) class, why do we expect the httprequest to be a post request and not a get (see code below). I am getting a "get" request when I click on editProfile. As a result, it does not go thru' this code. Also, the hidden filed "user.id" that is set in userForm.jsp is set to not