• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: _rewriteURL not firing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: _rewriteURL not firing


  • Subject: Re: _rewriteURL not firing
  • From: Lachlan Deck <email@hidden>
  • Date: Fri, 11 Mar 2011 20:21:05 +1100

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

  • Follow-Ups:
    • Re: _rewriteURL not firing
      • From: Jeff Schmitz <email@hidden>
    • Re: _rewriteURL not firing
      • From: Jeff Schmitz <email@hidden>
References: 
 >Re: _rewriteURL not firing (From: Jeff Schmitz <email@hidden>)

  • Prev by Date: Re: [OT] Play! Framework
  • Next by Date: Re: [OT] Play! Framework
  • Previous by thread: Re: _rewriteURL not firing
  • Next by thread: Re: _rewriteURL not firing
  • Index(es):
    • Date
    • Thread