Hi all,

I'm using CCAjaxLongResponsePage like the fourth example in BackgroundTasks and 
I'm having a weird problem: after the task is done, it's still stuck in 
CCAjaxLongResponsePage, I'm not sent back to the nextPage that I specified.

Code:

        IERXPerformWOActionForResult controller = new 
ERXNextPageForResultWOAction(pageWithName(SomeComponent.class), "_result");
        Callable<EOGlobalID> task = new SendAllWelcomesTask(someEO()), 
someNsSet().immutableClone(), this.context());

        CCAjaxLongResponsePage nextPage = 
pageWithName(CCAjaxLongResponsePage.class);
        nextPage.setNextPageForResultController(controller);
        nextPage.setTask(task);
        
        return nextPage;

The task is executed, in SendAllWelcomesTask.call(), it returns a global ID 
like it should, but it never sent back to SomeComponent. I added breakpoints in 
CCAjaxLongResponsePage.nextPage and CCAjaxLongResponsePage.result, and those 
two methods are never called.

What could cause this?


 _______________________________________________
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to