• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Relative URLs for Forms
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Completely OT: question for US ADC members
  • Next by Date: Re: Eclipse 3.5 slow?
  • Previous by thread: Re: Completely OT: question for US ADC members
  • Next by thread: WOWODC 09 Videos
  • Index(es):
    • Date
    • Thread