Re: _rewriteURL not firing
Re: _rewriteURL not firing
- Subject: Re: _rewriteURL not firing
- From: Lachlan Deck <email@hidden>
- Date: Sat, 12 Mar 2011 09:27:15 +1100
Hey Jeff,
On 12/03/2011, at 7:10 AM, Jeff Schmitz wrote:
> 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.
Bingo. I believe ERXAjaxContext does not extend ERXWOContext, but WOContext. It therefore doesn't use url rewriting afaik...
You would need to subclass it to add url rewriting to it.
I don't know what problems, if any, that would present. Perhaps Mike knows?
>> 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?
>>
On 12/03/2011, at 9:08 AM, Jeff Schmitz wrote:
> Missed your last question. I don't know that I am using ERXRedirect, I was just snooping through the code trying to figure out places that might eventually lead to _rewriteURL being called. As the breakpoint that I put there was never hit, perhaps that means I'm actually not using ERXRedirect.
Okay.
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