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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/ghulands%40mac.com

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/ghulands%40mac.com

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to