js_OnChange: WOJavaScript {
scriptSource = "/tyf/jsScripts/ObjSelect_js.txt";
}
Is the right answer, how I had it originally.
the problem was there is a SubComponent on the page with an identical
WOJavaScript and it had
<scriptFile> not scriptSource
On Nov 5, 2009, at 11:51 AM, Chuck Hill wrote:
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
Baiss chuckles.
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";
}
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