Relative URLs for Forms
Relative URLs for Forms
- Subject: Relative URLs for Forms
- From: "Mr. Frank Cobia" <email@hidden>
- Date: Thu, 2 Jul 2009 16:02:02 -0400
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden