• 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
Re: External javascrpt file - referencing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: External javascrpt file - referencing


  • Subject: Re: External javascrpt file - referencing
  • From: "John Huss" <email@hidden>
  • Date: Tue, 21 Feb 2006 10:40:23 -0600

The _javascript_ console shows this error when the _javascript_ is executed:
 
"The requested URL /WebObjects/SalondataComparison.woa/Contents/WebServerResources/sortTable.js was not found on this server"
 
But the file is there.  I'm accessing it over https.  Does that have anything to do with it?
 
John
----- Original Message -----
From: John Huss
To: WebObjects Dev Apple
Sent: Tuesday, February 21, 2006 10:05 AM
Subject: External javascrpt file - referencing

I put the _javascript_ file in the Web Server Resources folder and added it to the Web Server target.
 
Here's the HTML:
<script src=""></script>
 
And the binding:
sortTableURL: WOResourceURL {
    filename="sortTable.js";
}
 

In the source for the generated page it shows up as:
 
<script src=""></script>
 
It looks like the other links on the page have "/cgi-bin" as the first part of the URL, so could that be the problem?


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your email sent to email@hidden
 _______________________________________________
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

  • Follow-Ups:
    • Re: External javascrpt file - referencing
      • From: Chuck Hill <email@hidden>
References: 
 >External javascrpt file - referencing (From: "John Huss" <email@hidden>)

  • Prev by Date: External javascrpt file - referencing
  • Next by Date: Re: Detecting a deleted object
  • Previous by thread: External javascrpt file - referencing
  • Next by thread: Re: External javascrpt file - referencing
  • Index(es):
    • Date
    • Thread