• 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: Absolute URL's for WOHyperlink and WOActiveImage?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Absolute URL's for WOHyperlink and WOActiveImage?


  • Subject: Re: Absolute URL's for WOHyperlink and WOActiveImage?
  • From: Chuck Hill <email@hidden>
  • Date: Tue, 19 Aug 2008 11:10:26 -0700


On Aug 19, 2008, at 9:23 AM, Greg Hulands wrote:

Hi,
I've run into a problem in that the links being generated are not working when I click them


This is what WO is generating for a link
/cgi-bin/WebObjects/App.woa/-4300/wo/mBfG9OgdXVZa8swzzz6BNM/0.0.3.19

But when I click it, this is what the webview in our application is trying to navigate to.
http:/cgi-bin/WebObjects/App.woa/-4300/wo/mBfG9OgdXVZa8swzzz6BNM/ 0.0.3.19

http:/cgi-bin?? I looks like the browser (or webview or whatever), has the base address set to http: instead of the correct http://some.domain.com/ That is the problem.



I have tried subclassing WOContext and override public boolean doesGenerateCompleteURLs() to return true, but no success.

Is there a way to force absolute urls including the host name and protocol to be generated?


You can, but you should not need to and that does not appear to me to be the problem.

Chuck

--
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects







_______________________________________________ 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: 
 >Absolute URL's for WOHyperlink and WOActiveImage? (From: Greg Hulands <email@hidden>)

  • Prev by Date: Re: Back Track too far on first click of a link
  • Next by Date: Re: Back Track too far on first click of a link
  • Previous by thread: Re: Absolute URL's for WOHyperlink and WOActiveImage? {SOLVED}
  • Next by thread: Back Track too far on first click of a link
  • Index(es):
    • Date
    • Thread