• 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: Backtracked Too far - Hand back last existing Page in place of error page?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Backtracked Too far - Hand back last existing Page in place of error page?


  • Subject: Re: Backtracked Too far - Hand back last existing Page in place of error page?
  • From: Ute Hoffmann <email@hidden>
  • Date: Thu, 14 Sep 2006 16:15:10 +0200

Yes, I know that is the place where i have to hook that in... but how do I get at the right context from the page cache? Do I have to cache the url of the last page somewhere or is there a way to do what I want with what WO provides (i.e. get the last existing Object in the page cache programmatically and hand that back)?

What does it mean in the API:
"page recreation is disabled" Would enable page recreation do what I want by default and if yes, how enable it (and which side effects)?

Any ideas?


Am Donnerstag, 14.09.06 um 16:03 Uhr schrieb Robert Walker:

Take a look at the API document for the following method of WOApplication class:

public WOResponse handlePageRestorationErrorInContext(WOContext aContext)

Maybe you can do what you want by overriding this method.

On Sep 14, 2006, at 9:56 AM, Ute Hoffmann wrote:

Hallo,
is it possible to do the following:

When the user triggers a backtracked too far exception ask in the error handling for the last existing page in pageCache and hand that page back in place of the error-message/an error-page?

If this is possible... how could one archive this?

Thanks a lot,

Ute

_______________________________________________
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


--
Robert Walker
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

  • Follow-Ups:
    • Re: Backtracked Too far - Hand back last existing Page in place of error page?
      • From: Robert Walker <email@hidden>
References: 
 >Re: Backtracked Too far - Hand back last existing Page in place of error page? (From: Robert Walker <email@hidden>)

  • Prev by Date: Re: Backtracked Too far - Hand back last existing Page in place of error page?
  • Next by Date: Re: Database connection error (MYSQL)
  • Previous by thread: Re: Backtracked Too far - Hand back last existing Page in place of error page?
  • Next by thread: Re: Backtracked Too far - Hand back last existing Page in place of error page?
  • Index(es):
    • Date
    • Thread