Oh my, another lost day by not saying in advance that I originally had <scriptFile>.

I've also tried,

        scriptFile = "/tyf/jsScripts/ObjSelect_js.txt";
        scriptFile = "../tyf/jsScripts/ObjSelect_js.txt";
        scriptFile = "tyf/jsScripts/ObjSelect_js.txt";


I would think that

WOImageButton {
        src = "/tyf/images/guest-login-btn.gif";
which is fine, and WOJavaScript, would have the same kind of access?


On Nov 4, 2009, at 7:01 PM, Chuck Hill wrote:


On Nov 4, 2009, at 4:09 PM, Baiss Eric Magnusson wrote:

Got an archived project and piecemeal started putting the two together have got the first page up, that's was encouraging.

Second page is back to the usual missing file issue:

com.webobjects.appserver._private.WODynamicElementCreationException:
<com.webobjects.appserver._private.WOJavaScript> : cannot find script file '/tyf/jsScripts/ObjSelect_js.txt'
....
js_OnChange: WOJavaScript {
        scriptSource = "/tyf/jsScripts/ObjSelect_js.txt";
}

Perhaps scriptFile?

scriptFile
Path to the file containing the script. The path can be statically specified in the declaration file or it can be a java.lang.String, an object that responds to a description message by returning a java.lang.String, or a method that returns a java.lang.String.

scriptSource
URL specifying the location of the script.


_______________________________________________
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

Reply via email to