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

Re: Personalizing Error Page


  • Subject: Re: Personalizing Error Page
  • From: john lennard <email@hidden>
  • Date: Tue, 17 Feb 2004 06:35:34 +1300

Have a look at

public WOResponse handleSessionRestorationErrorInContext(WOContext aContext)

There is a good article over at stepwise about the customisation of error messages which explains this in more detail..

http://www.stepwise.com/Articles/Technical/2003-08-15.01.html



regards

John


On 17 Feb 2004, at 5:50 am, Dev WO wrote:

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.
_______________________________________________
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: Dev WO <email@hidden>
References: 
 >Personalizing Error Page (From: Dev WO <email@hidden>)

  • Prev by Date: Re: Personalizing Error Page
  • Next by Date: Re: Personalizing Error Page
  • Previous by thread: Re: Personalizing Error Page
  • Next by thread: Re: Personalizing Error Page
  • Index(es):
    • Date
    • Thread