On Jan 27, 2009, at 9:12 PM, Paul Hoadley wrote:

On 28/01/2009, at 3:37 PM, Chuck Hill wrote:

How are you using that ERXRedirect again?

I'm not using ERXRedirect directly, but in Application.handleException() I have this:

        @Override
public WOResponse handleException(Exception anException, WOContext aContext) { AMErrorPage errorPage = (AMErrorPage) pageWithName(AMErrorPage.class
                                .getName(), aContext);
                errorPage.setPageType(AMErrorPage.EXCEPTION);
                if (AjaxUtils.isAjaxRequest(aContext.request())) {
                        AjaxUtils.redirectTo(errorPage);
                        return errorPage.context().response();
                }
                return errorPage.generateResponse();
        }


I see.  Yes.  Well...  LOOK!   A PURPLE MOOSE!!!

Cough. This is not working for me either, I am getting the same problem. Either we can discard the "I did test this" theory, or something has changed. I will look at this. At present, it looks like the URL returned might be the problem.

Thanks for taking a look.  I'm glad it's not just me...


Honestly, I wish it was just you. ;-) This stuff makes my head hurt sometimes.


--
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to