Re: [appfuse-user] Updating User problem

2007-07-15 Thread Mel Pison
Thanks for the reply matt! I already fixed my errors by comparing my codes to lower version Thanks again Matt!! Mel Matt Raible wrote: What version of AppFuse are you using? You might want to compare your code with the latest in Subversion. Matt On 7/16/07, Mel Pison <[EMAIL PROTECTED]>

Re: [appfuse-user] Updating User problem

2007-07-15 Thread Matt Raible
What version of AppFuse are you using? You might want to compare your code with the latest in Subversion. Matt On 7/16/07, Mel Pison <[EMAIL PROTECTED]> wrote: Hi All, I have some problem again regarding with updating of user object in the database. I could add new records now, but my problem

Re: [appfuse-user] Updating User problem

2007-07-15 Thread Mel Pison
Hi All, I have some problem again regarding with updating of user object in the database. I could add new records now, but my problem is like this. When I try to edit a user information it could update the user in database, and it will go to the same page where i edited the user information. b

Re: [appfuse-user] Updating User problem

2007-07-12 Thread Mel Pison
Thanks! My error is on that part. I forgot to include a needed field on my form (hehe), and like what ive said before its becoz i modified some jsp files from the orginal files. Thanks again Mike!!! :D Michael Horwitz wrote: The key error here is "Duplicate entry 'admin' for key 2". It looks a

Re: [appfuse-user] Updating User problem

2007-07-12 Thread Richard Reyes
Hi All, Dale, How do we fix this under MySQL? Dale Newfield wrote: Michael Horwitz wrote: The key error here is "Duplicate entry 'admin' for key 2". It looks as if you are trying to save a user who already exists. Or you're just trying to signup in a newly created appfuse application, and t

Re: [appfuse-user] Updating User problem

2007-07-12 Thread Dale Newfield
Michael Horwitz wrote: The key error here is "Duplicate entry 'admin' for key 2". It looks as if you are trying to save a user who already exists. Or you're just trying to signup in a newly created appfuse application, and the sequence that issues ids for new rows doesn't know about the users

Re: [appfuse-user] Updating User problem

2007-07-12 Thread Michael Horwitz
The key error here is "Duplicate entry 'admin' for key 2". It looks as if you are trying to save a user who already exists. Normally this happens because you do not have a field in your form for the user id (this should be a hidden field). As a result, when your request goes back to Hibernate it

Re: [appfuse-user] Updating User problem

2007-07-11 Thread Mel Pison
I am using appfuse 1.9x and webwork as the web framework Regarding my problem, I'm using the same object (User) from the example on appfuse. I cant update the information of the User object on the database on my application and throws some errors. Heres some part of those errors in tomcat after

Re: [appfuse-user] Updating User problem

2007-07-11 Thread Mel Pison
I am using appfuse 1.9x and webwork as the web framework Regarding my problem, I'm using the same object (User) from the example on appfuse. I cant update the information of the User object on the database on my application and throws some errors. Heres some part of those errors in tomcat aft

Re: [appfuse-user] Updating User problem

2007-07-11 Thread Michael Horwitz
Which version of AppFuse and which web frontend are you using? Some more details on the exact nature of the problem would also be useful: when you say can't update, do you mean the data does not appear in the database or is an exception raised? Have you got unit tests for each tier and are they pa

[appfuse-user] Updating User problem

2007-07-11 Thread Mel Pison
Hi All, Good Day everyone! I'm new here and I'm just starting in j2ee. I'm currently creating the same application from the tutorials(Person and User objects). I followed the steps from the tutorial and I already have a User object and I want to manipulate this object but I'm still encounteri