• 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
Re: Q: Redirect to a new page from a component
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Q: Redirect to a new page from a component


  • Subject: Re: Q: Redirect to a new page from a component
  • From: Robert Walker <email@hidden>
  • Date: Fri, 6 Aug 2004 23:23:16 -0400

I suppose you could simply use a meta refresh tag, if you just want the page to redirect after a set time limit. You could just have this redirect to a direct action that displays the final destination page.

But, I'd day that the WOLongResponsePage is what you really need. It's a more flexible solution I would think. This way the page will wait as long as your operation takes then direct to a result page once the operation has completed.

You can even put a nifty progress bar on the page, if you have a good way of measuring progress in your long operation.

I've used the long response page successfully for several long operations and it seems to be the best solution.

On Aug 6, 2004, at 4:05 PM, Kaj Hejer wrote:

Maybe WOLongResponsePage is what you need.

See the example project LongRequest (on osx: /Developer/Examples/JavaWebObjects/LongRequest)


-Kaj :)


At 15:31 -0400 06-08-04, Zak Burke wrote:
com.webobjects.appserver.WORedirect looks like it has methods to handle this, but I haven't worked with it myself.


zak.



Nick Yang wrote on 8/6/04 2:17 PM:

Dear WO gurus,

Can somebody give me some pointers on how to accomplish the following. I have all the WO books and can't find much information on how to redirect. This is what I want to do:

I would like to display a page telling the user please be patient for a long operation (don't click the Back button.) And then redirect to a new page without the user click on any button or link. What do I do to have the page redirect to another page by itself? I know this must be very simple to do, but I can't seem to find out after looking through all my books and search through websites. :(

Please let me know how this can be done.  Thank you very much.

Regards,

Nick
_______________________________________________
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.
_______________________________________________
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.
_______________________________________________
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.



--
Robert Walker
www.robertwalker1.com

"There are 10 kinds of people in the world. Those who think binary and those who don't."
_______________________________________________
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.



  • Follow-Ups:
    • Re: Q: Redirect to a new page from a component
      • From: Michael Engelhart <email@hidden>
References: 
 >Q: Redirect to a new page from a component (From: Nick Yang <email@hidden>)
 >Re: Q: Redirect to a new page from a component (From: Zak Burke <email@hidden>)
 >Re: Q: Redirect to a new page from a component (From: Kaj Hejer <email@hidden>)

  • Prev by Date: Re: Info: Has any body gotten CHUD tools to work?
  • Next by Date: [ANN] WOLips 1.1.0.77 beta 2
  • Previous by thread: Re: Q: Redirect to a new page from a component
  • Next by thread: Re: Q: Redirect to a new page from a component
  • Index(es):
    • Date
    • Thread