Hi Everyone,
5 months ago ERXRedirect was modified by Mike with revision 11066 at line
162 to detect if the context is "generating full urls" or not.
http://wonder.svn.sourceforge.net/viewvc/wonder/trunk/Wonder/Frameworks/Core/ERExtensions/Sources/er/extensions/appserver/ERXRedirect.java?revision=11066&view=markup
It assumes that your app is using a descendant of ERXWOContext. It would
be better if ERXWOContext had a static method called
"generatingCompleteURLs()" much like ERXRequest has a static method called
"isRequestSecure()". This way, if you want to use ERXRedirect, you are not
forced to make your version of WOContext extend ERXWOContext.
In our particular case our WOContext "is-a" ERXAjaxContext but "not-a"
ERXWOContext. That's because back when this all began we were of the
understanding that we need not fully drink the cool-aid. We could just use
the "Ajax" parts of wonder without the "whole" wonder.
For right now we will make our own version of Redirect and not call
ERXRedirect to get around this issue.
-- Aaron
|