This content has been marked as final.
Show 2 replies
-
1. Re: Forced Outjection
fhh Jan 9, 2007 6:20 PM (in response to c_eric_ray)You have to define some way to inform the frontend that _something_ has changed in the backend.
I assume that the modification of the data relevant to the user object exists only in the database so therefore you can't simply outject the modified user object after the "work is done" phase.
Then the only choice you have is to refresh the user object from the db after step 4 and outject it then.
Regards
fhh
BTW: This is a mistake, is it?public class LoginAction { private __UserEntity__ user; @Out(required=false, scope=ScopeType.SESSION) public __String__ getUser() { return user; } }
-
2. Re: Forced Outjection
c_eric_ray Jan 11, 2007 9:39 AM (in response to c_eric_ray)Yeah, should be UserEntity.