Hi Mei, Quoting Akmals Answer from yesterday you *have* to use data.save()
Kind regards J�rgen Hoffmann -----Urspr�ngliche Nachricht----- Von: mei xiao [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 2. September 2003 01:13 An: [EMAIL PROTECTED] Betreff: Logined user cannot update himself/herself with Flux Hi, I tried turbine sample application: Flux. I logined and updated my first name. it seems successful, and database updated. But after I logouted, the original first name restored! I checked source code, and found out the reason for that is the "user" in "rundata" was not be updated, and it was saved when user logout. I wrote my own action class, based on FluxUserAction's doUpdate method. I added data.setUser(user) (user is the user in flux) at the end, and printed out with "System.out.println(data.getUser().getFirstName())" to confirm it. The wield thing is after I went to other screens. $data.User.FirstName still printed the original value?! Can anybody tell what is the reason for that, or I missed something. Any help much appreciated. Mei Xiao MyVoice http://www.myvoice.com.au --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
