While I use autolocking ECs in R-R logic, I never use autolocking ECs in any of my background tasks, just "manual-locking" ECs and plain old ec.lock/try/finally/ec.unlock - so always on my own there ;-) I only pass EOGlobalIDs to background tasks - so I don't have locking issues. I create all tasks as simple Callables (if I want to return a result) or Runnables (no result) and I use the java.util.concurrent Executor stuff for thread execution.
HTH, Kieran On May 18, 2010, at 2:53 AM, Simon wrote: > is the ajax variety pretty much a drop in replacement for the old hat one ? > what about locking issues ? ERXWOLongResponsePage does some funky stuff > around ec locking - i guess with the ajax variety you're on your own ? > > simon > > On 18 May 2010 03:12, Kieran Kelleher <kieran_li...@mac.com> wrote: > Instead of a traditional "LongResponse" page try using a > "GenericAjaxLongResponsePage" page that has an AjaxProgress component on it > to monitor the task and a 'finishedFunction' binding on that to execute the > nextPage action when task is done. That's MOL what I do nowadays. > > HTH, Kieran > > > On May 17, 2010, at 7:57 AM, Simon wrote: > > > hi all - > > > > our apps use long response pages all over the shop, and we've had a few > > reports of users getting stuck on them. after mucho debugging we've > > discovered that wonderful IE (7+) has an option to disable meta refresh, > > and various reports on the intertubes that it's disabled by default in > > various versions. > > > > i normally get annoyed with IE browsers wanting to warn about every minor > > glitch on a page ("HEY, just in case you're interested there is a js > > variable undefined on this page that you're never gonna use, but i thought > > i'd tell you about it anyway, just to get in the way and make your life a > > little less productive. ok?"), but with this one IE does just the opposite: > > nothing at all. you hit the long response page and sit there... > > > > anyway, i've been googling around for solutions and turned up nothing. i > > guess the options are either to detect they have it turned off (which > > appears to be impossible), or use another form of refresh. > > > > anyone bumped into this one before ? any hints on solutions ? > > > > thanks, simon > > _______________________________________________ > > 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/kieran_lists%40mac.com > > > > This email sent to kieran_li...@mac.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