Re: CCAjaxLongResponsePage not sending me back to nextPage
Re: CCAjaxLongResponsePage not sending me back to nextPage
- Subject: Re: CCAjaxLongResponsePage not sending me back to nextPage
- From: Ted Archibald <email@hidden>
- Date: Wed, 04 Apr 2012 14:54:24 -0600
Do you have er.coolcomponents.CCAjaxLongResponsePage.stayOnLongResponsePageIndefinitely turned on?
On Wed, Apr 4, 2012 at 2:23 PM, Pascal Robert
<email@hidden> wrote:
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden