Re: Absolute URL's for WOHyperlink and WOActiveImage? {SOLVED}
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