Re: Personalizing Error Page
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.