Re: Q: Redirect to a new page from a component
Re: Q: Redirect to a new page from a component
- Subject: Re: Q: Redirect to a new page from a component
- From: Michael Engelhart <email@hidden>
- Date: Sat, 7 Aug 2004 23:50:41 -0500
Hi Bill -
Where do you call the method that creates the long background operation
in your scenario?
I thought WOLongResponsePage was designed because you can't call a page
after it's response has been output to the browser.
Do you have an example of how this would work?
Thanks
Mike
On Aug 7, 2004, at 11:14 PM, Bill Reynolds wrote:
Nick,
If I understand what you are trying to do is to put an intermediate
page
that let's the viewer know that a long background operation is
happening and
to not do anything in the mean time (don't click back, etc.).
Something
similar to when you submit a form on a travel site and await ticketing
info
to be eventually returned.
The simple solution may to be to build this page (the Component that
displays the "hey, just keep waiting" msg) to be the one to actually
perform
the submission - so it would stay there until the server returns the
lengthily requested page of data. So instead of:
Component with request --> (long wait) --> Returned page
...you could have...
Component with request --> (pass request operation into another
Component
that is the "please hold on and don't hit back" that actually does the
submission) --> Returned page
Hope this helps,
-Bill
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.