I have an application using a version of wonder from last week and using the 5.4 version of webobjects. All the forms in the app are generating full URLs instead of relative URLs. This is causing me a problem because (at lest for the moment) the machine is accessible from the Internet and through VPN using different names, but the app always generates URLs with the VPN name and so someone accessing it from the Internet is not able to use the app. Also if it makes a difference, I am accessing the app through https.

Is there a way to force the form to generate relative URLs for form submission?

I have tried the following, but it does not seem to work:


        @Override
        public WOContext createContextForRequest(WORequest request) {
ERXWOContext context = (ERXWOContext)super.createContextForRequest (request);
                context._generateRelativeURLs();

                return context;
        }


Thanks,
Frank
 _______________________________________________
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