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.


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 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