• 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
Personalizing Error Page
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Personalizing Error Page


  • Subject: Personalizing Error Page
  • From: Dev WO <email@hidden>
  • Date: Mon, 16 Feb 2004 17:50:32 +0100

Hi All,
I'd like to personalize the error page in a Web App.
I know I have to create a new component, then tell WO to display this
component as the error page.
So I wrote in my Application.java Class:

	public WOResponse handlePageRestorationErrorInContext(WOContext
aContext) {
		WOComponent nextPage;
		nextPage = (Main)pageWithName("Main", aContext);
		return nextPage.generateResponse();
	}


But it didn't gave me the "Main" component??! it keeps on returning the
regular "your session as timed out"
What did I do wrong?

Thanks

Xavier
_______________________________________________
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: Personalizing Error Page
      • From: john lennard <email@hidden>
    • Re: Personalizing Error Page
      • From: Kaj Hejer <email@hidden>
    • Re: Personalizing Error Page
      • From: Jonathan Rochkind <email@hidden>
  • Prev by Date: Re: Accessing elements of an Array using a flat Key
  • Next by Date: Re: locking editing context when removing item
  • Previous by thread: Re: locking editing context when removing item
  • Next by thread: Re: Personalizing Error Page
  • Index(es):
    • Date
    • Thread