On Nov 5, 2009, at 11:41 AM, Baiss Eric Magnusson wrote:
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?
You can think that if you like, but it won't help. :-) Assumptions
are dangerous things to bandy about. The src attribute goes
_directly_ into the HTML, just copy and paste in effect. scriptFile
gets run through the WOResourceManager.
Chuck
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.
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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