What context are you getting at runtime?
WOContext context = request().context();
LOG.warn("context class:" + context.getClass().getName());
Are you running in a servlet container or just plain WO?
ERXWOContext._postprocessURL should get called.
On 11/03/2011, at 12:59 PM, Jeff Schmitz wrote:
> Still haven't figured this one out so I downloaded and installed the Wonder
> source so I can setup breakpoints in it. I see that my _rewriteURL should
> be getting called by the ERXWOContext _postprocessURL function, so I put a
> break point there. Moving up the chain, I also put breakpoints in:
>
> ERXWOContext54 _urlWithRequestHandlerKey
> ERXRedirect appendToRepsonse
Ah, you didn't mention ERXRedirect before. Perhaps it doesn't work with
ERXRedirect? Does it work for your normal urls?
> And none of the breakpoints are hit on a page load. I do have other
> breakpoints in the wonder code that are hit, so it's not a classpath/debugger
> issue.
>
> Is there some flag that needs to be set for the _rewriteURL in my Application
> class that extends ERXApplication to be called now? As I noted below, this
> did work at one time.
>
> I'm using webobjects 5.4.x and the latest Wonder source.
with regards,
-
Lachlan Deck
_______________________________________________
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]