• 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: URL for WebObjects?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: URL for WebObjects?


  • Subject: Re: URL for WebObjects?
  • From: Mike Schrag <email@hidden>
  • Date: Thu, 20 Nov 2008 20:48:49 -0500

I'd like to be able to just auto-magically generate the the hyperlinks with Wonder and then use apache to translate these urls back to something the WebObjects CGI adaptor understands.
Wonder implements this at a lower level and rewrites ALL urls rather than requiring you to use custom components to do it. You can either use the simple interface where you can specify a regex pattern and replacement (for the common case of ripping off the /cgi-bin/ WebObjects/AppName.woa, for example) or you can override (I think) the _rewriteURL in your ERXApplication subclass (maybe it doesn't have an underscore -- i'd have to look it up) method and implement a more complicated ruleset. This must together with a set of inverse rules implemented with (for example) Apache mod_rewrite. Wonder rewrites the URLs that your app generates, mod_rewrite takes those URLs and turns them back into normal WO urls.

ms

_______________________________________________
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


References: 
 >Re: URL for WebObjects? (From: Johnny Miller <email@hidden>)
 >Re: URL for WebObjects? (From: Chuck Hill <email@hidden>)
 >Re: URL for WebObjects? (From: Johnny Miller <email@hidden>)

  • Prev by Date: Re: URL for WebObjects?
  • Next by Date: Re: URL for WebObjects?
  • Previous by thread: Re: URL for WebObjects?
  • Next by thread: Re: URL for WebObjects?
  • Index(es):
    • Date
    • Thread