data.save();

;-)
Akmal
----- Original Message ----- 
From: "mei xiao" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 01, 2003 5:00 AM
Subject: 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.
>
> Regards,
>
> 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]

Reply via email to