fanyun wrote:
> In my code for a9,  I have this lines in login action:
> 
>         user = TurbineSecurity.getAuthenticatedUser( username, password );
>         data.setUser(user);
> 
> In a10, should I still use this while a user seems have been created? Or I
> just write like this:
> 
>         user = data.getUser();
>         user.setXXXXX().

I don't understand what is your problem here. The login action stores
User
object in the session (first code snippet) for later use, but that's
handled 
behind the scenes, unless you need a custom Login.

Then, in your Screens, and Actions you use data.getUser() to get the
User
from the session. I don't think that anything here should change between
a9 and a10...

Rafal

--
Rafal Krzewski
Senior Internet Developer
mailto:[EMAIL PROTECTED]
+48 22 8534830 http://e-point.pl


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to