Why don't you use dynamic url construction? WOResourceManager.urlForResourceNamed(String aResourceName, String aFrameworkName, NSArray aLanguagesList, WORequest aRequest)
As to me, I've written a custom dynamic element for scripts and stylesheets: http://github.com/baywind/reusables/blob/master/Sources/net/rujel/reusables/ResourceLink.java 2010/1/24 Baiss Eric Magnusson <bmagnus...@comcast.net>: > I get "not found JavaScript file:" > > > http://track-your-finances.com/WebObjects/tyf.woa/Contents/WebServerResources/tyf/jsScripts/ObjSelect_js.txt > > If I enter the above into the browser on the server it gets the file, but not > from a remote computer. > > This the .wod file > js_OnChange: WOJavaScript { > scriptSource = "tyf/jsScripts/ObjSelect_js.txt"; > } > This is the <pwd> from Terminal on the Server > > cascadewebdesign:jsScripts baiss$ pwd > > > /Library/WebServer/Documents/tyf/WebObjects/tyf.woa/Contents/WebServerResources/tyf/jsScripts > > cascadewebdesign:jsScripts baiss$ ls -l > > -rwxr-xr-x 1 baiss admin 2695 Nov 18 17:53 ObjSelect_js.txt > > This is the html source from the browser window > > <script language="JavaScript" type="text/javascript" > src="/WebObjects/tyf.woa/Contents/WebServerResources/tyf/jsScripts/ObjSelect_js.txt"></script> > > Thanks for the help, > Baiss _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/genkush%40rujel.net > > This email sent to genk...@rujel.net > _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com