Got it.... I just subclassed the component and fiddled with the future() method and elapsedTime() method.
On Thu, Mar 22, 2012 at 11:56 PM, Ted Archibald <[email protected]>wrote: > Is there any way to use CCAjaxLongResponsePage on a task that's already > running? > > Essentially I want to run a task but only a single iteration of that task, > and if the task is already running I want to display > a CCAjaxLongResponsePage for the progress. > > So far I have a simple loop that looks at the taskInfos in > ERXTaskThread.taskInfos() then I create a new CCAjaxLongResponsePage and > set the task to the running task. > > My problem is that only the ORIGINAL created task maintains > the CCAjaxLongResponsePage properly. Any new CCAjaxLongResponsePage will > simply display the current status for a moment or two then will redirect to > the nextPage component. If I leave the nextPage component null then it > will simply redirect to the CCAjaxLongResponsePage and update the status, > but this isn't the desired result (since it's not updating via ajax, and > will never reach the nextPage component). >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
