Re: Making EOs aware of session properties (I know they should not but I need this anyway)
Re: Making EOs aware of session properties (I know they should not but I need this anyway)
- Subject: Re: Making EOs aware of session properties (I know they should not but I need this anyway)
- From: Ken Anderson <email@hidden>
- Date: Sun, 08 Nov 2015 09:02:48 -0500
- X_v_e_cd: 966dd71f4ea92e286f46ec1c61d6401e
- X_v_r_cd: 4c11454e7e3beabc7fb2b81e15d3ec3a
Markus,On Nov 8, 2015, at 7:45 AM, Markus Ruggiero < email@hidden> wrote:
Is currentUser not an EO? I’m guessing not, otherwise you wouldn’t have this problem :)
Yes, it is, but I fail to see why I should not have that problem.
Why not have an instance variable on the user that has their current region? You could then just set it when the user logs in. Maybe the user object is not reachable from all your logic, which would also explain why it might be difficult…
Ken |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden