Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Relative URLs for Forms



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:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.