Re: _rewriteURL not firing
Re: _rewriteURL not firing
- Subject: Re: _rewriteURL not firing
- From: Jeff Schmitz <email@hidden>
- Date: Fri, 11 Mar 2011 14:10:57 -0600
context class:er.extensions.appserver.ajax.ERXAjaxContext
Interesting, when this started happening was about the time I added the ERAjax frameworks to my project. I think you're onto something.
I'm running with just plain WO with Apache and the WOAdaptor (hope I said that right). I'm not running inside tomcat or anything like that.
On Mar 11, 2011, at 3:21 AM, Lachlan Deck wrote:
> 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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden