Re: directActionURLForActionNamed() has weird prefix under WO 5.4.3
Re: directActionURLForActionNamed() has weird prefix under WO 5.4.3
- Subject: Re: directActionURLForActionNamed() has weird prefix under WO 5.4.3
- From: Chuck Hill <email@hidden>
- Date: Mon, 4 May 2009 11:55:10 -0700
On May 1, 2009, at 11:05 AM, Ricardo J. Parada wrote:
Hi All,
The direct action URL in our application running in WebObjects 5.3.3
looks like this:
/app/WebObjects/PatientPortionPricer.woa/52301/wa/MPVAjaxAction/
MPVContractPicker?wosid=G5WUq9TjrYXMo5oHmNODnw
However, In the 5.4.3 version it looks like this:
http://web1-u/app/WebObjects/RKMPPP.woa/1/wa/MPVAjaxAction/
MPVContractPicker?wosid=FCbJGPBPtzlTPq3wCAXbmw
The code responsible for generating that URL is this:
public String directActionURL() {
return
context().directActionURLForActionNamed("MPVAjaxAction/
MPVContractPicker", null);
}
Notice the http://web1-u prefix in the direct action URL generated
by the 5.4.3 version of our app. Any ideas why that is in there?
It's causing an Access to restricted URI denied
(NS_ERROR_DOM_BAD_URI) error in the browser.
Sounds like one of these is set incorrectly:
http://developer.apple.com/documentation/WebObjects/WOAppProperties/Articles/ApplicationProperties.html#/
/apple_ref/doc/uid/TP40005337
Chuck
--
Chuck Hill Senior Consultant / VP Development
Come to WOWODC'09 in San Fran this June!
http://www.wocommunity.org/wowodc09/
_______________________________________________
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