• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
CCAjaxLongResponsePage not sending me back to nextPage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CCAjaxLongResponsePage not sending me back to nextPage


  • Subject: CCAjaxLongResponsePage not sending me back to nextPage
  • From: Pascal Robert <email@hidden>
  • Date: Wed, 04 Apr 2012 16:23:27 -0400

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

  • Follow-Ups:
    • Re: CCAjaxLongResponsePage not sending me back to nextPage
      • From: Ted Archibald <email@hidden>
  • Prev by Date: Re: JasperReports progress
  • Next by Date: Re: CCAjaxLongResponsePage not sending me back to nextPage
  • Previous by thread: Re: Logo proposal
  • Next by thread: Re: CCAjaxLongResponsePage not sending me back to nextPage
  • Index(es):
    • Date
    • Thread