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: Pascal Robert <email@hidden>
- Date: Wed, 04 Apr 2012 19:59:43 -0400
Le 2012-04-04 à 17:59, Kieran Kelleher a écrit :
> That would definitely do it ...... that property is for creating a custom stylesheet.
>
> On the other hand, missing js resources would also do it IIRC.
Ah, true, look like the problem is there. I didn't look at the JS console, and now I see this:
Uncaught ReferenceError: performNextPageAction is not defined
> On Apr 4, 2012, at 4:54 PM, Ted Archibald wrote:
>
>> 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
>
_______________________________________________
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