• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Digging up a Session object from an EOGenericRecord
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Digging up a Session object from an EOGenericRecord


  • Subject: Re: Digging up a Session object from an EOGenericRecord
  • From: Guido Neitzer <email@hidden>
  • Date: Mon, 9 Mar 2009 09:53:21 -0700

Yeah, ERXThreadStorage is a very nice helper. I use it all the time
for small things I might need everywhere.

cug



On Sat, Mar 7, 2009 at 2:08 PM, Riccardo De Menna <email@hidden> wrote:
>
> On 07/mar/09, at 19:32, Chuck Hill wrote:
>
>> I used to do that nasty EC stuff as I could not see another way.  Now that
>> I have found ThreadLocal religion, I never use that malignant hack.  I think
>> of the information stashed in the thread as an ExecutionContext (similar to
>> a WOContext).  That feels like the "right" solution to this common need.
>>  I've even created an object to aggregate the bits under one object.  This
>> is also very useful for recording things like user activity (set into the
>> thread / execution context by the UI component) so that you you can not only
>> record who and what and when, but why as well.
>>
>> ThreadLocal (ERXThreadStorage).  Good stuff!
>
> Lucky I have you guys then... I rearranged the code a bit and it's working
> like a charm. Hail to ERXThreadStorage then... a newly digged out fanta-tool
> of this never ending source of help that was wisely called "Wonder". ;)
>
> rdm
>
> _______________________________________________
> 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
>
 _______________________________________________
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

References: 
 >Digging up a Session object from an EOGenericRecord (From: Riccardo De Menna <email@hidden>)
 >Re: Digging up a Session object from an EOGenericRecord (From: Riccardo De Menna <email@hidden>)
 >Re: Digging up a Session object from an EOGenericRecord (From: Mike Schrag <email@hidden>)
 >Re: Digging up a Session object from an EOGenericRecord (From: Riccardo De Menna <email@hidden>)
 >Re: Digging up a Session object from an EOGenericRecord (From: Mike Schrag <email@hidden>)
 >Re: Digging up a Session object from an EOGenericRecord (From: Chuck Hill <email@hidden>)
 >Re: Digging up a Session object from an EOGenericRecord (From: Riccardo De Menna <email@hidden>)

  • Prev by Date: Re: Reference Lib JARs Not Recognized
  • Next by Date: Re: eogen takeStoredValueForKey(toManyArray, relationshipName)
  • Previous by thread: Re: Digging up a Session object from an EOGenericRecord
  • Next by thread: Re: Digging up a Session object from an EOGenericRecord
  • Index(es):
    • Date
    • Thread