Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOLongResponse and EO processing



Yet another reason that I never use WODisplayGroup. Sorry, I don't know what to suggest, maybe a WODisplayGroup user will know...


Chuck


On May 26, 2004, at 1:00 AM, rbr wrote:

Hi Chuck,
that's true. But is there any means to avoid the problem while working with a WODisplayGroup ? It uses a EODatabaseDataSource which in turn seems to always use the session's EOEditingContext by default.
Thanks in advance
Richard



Are you using an editing context from session in the Long Response page? Stay away from that, especially session.defaultEditingContext or you will block request dispatch.


Chuck




On May 24, 2004, at 12:32 AM, email@hidden wrote:


Hi all,

WOLongResponse seems to work only for calculation or time consuming tasks (like prime calculation as Apple example) but when I'm processing EO objects and saving changes, the page is no more refreshed.

A workaround is to increased the receive timeout (default value is 30 secondes) for each instance application but it means there is no progress indicator, and the user is not really aware of which operation is in progress.

Any suggestions or comments about how to deal with a long processing (about 60 secondes) with EO objects, including saving, and displaying progress messages.

Thanks for your suggestions and comments,
Orlando.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.