• 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? {SOLVED}
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Absolute URL's for WOHyperlink and WOActiveImage? {SOLVED}


  • Subject: Re: Absolute URL's for WOHyperlink and WOActiveImage? {SOLVED}
  • From: Greg Hulands <email@hidden>
  • Date: Tue, 19 Aug 2008 10:19:52 -0700

In the WOContext subclass I just needed to call

	public MyWOContext(WORequest r) {
		super (r);
		this._generateCompleteURLs();
	}

_generateCompleteURLs() is a private API in 5.3.3 but in 5.4 it is public generateCompleteURLs() so I think it is okay to use.

Greg

On 19/08/2008, at 9:35 AM, Greg Hulands wrote:

This is using WO 5.3.3


On 19/08/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


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?

Regards,
Greg
_______________________________________________
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

_______________________________________________ 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

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

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