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 <deme...@rdm-web.com> 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 (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/guido.neitzer%40gmail.com > > This email sent to guido.neit...@gmail.com > _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com