• 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: PROGRESS, now trying to deploy, get an immediate error, probably a missing resource(s)?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PROGRESS, now trying to deploy, get an immediate error, probably a missing resource(s)?


  • Subject: Re: PROGRESS, now trying to deploy, get an immediate error, probably a missing resource(s)?
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 5 Nov 2009 11:51:43 -0800


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      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: back to deploy problems
      • From: Baiss Eric Magnusson <email@hidden>
    • Re: SUCCESS, now trying to deploy, get an immediate error, probably a missing resource(s)?
      • From: Baiss Eric Magnusson <email@hidden>
References: 
 >Re: now trying to deploy, get an immediate error, probably a missing resource(s)? (From: Baiss Eric Magnusson <email@hidden>)
 >Re: now trying to deploy, get an immediate error, probably a missing resource(s)? (From: Chuck Hill <email@hidden>)
 >Re: now trying to deploy, get an immediate error, probably a missing resource(s)? (From: Baiss Eric Magnusson <email@hidden>)
 >Re: now trying to deploy, get an immediate error, probably a missing resource(s)? (From: Chuck Hill <email@hidden>)
 >Re: now trying to deploy, get an immediate error, probably a missing resource(s)? (From: Baiss Eric Magnusson <email@hidden>)
 >Re: now trying to deploy, get an immediate error, probably a missing resource(s)? (From: Chuck Hill <email@hidden>)
 >Re: now trying to deploy, get an immediate error, probably a missing resource(s)? (From: Baiss Eric Magnusson <email@hidden>)
 >Re: now trying to deploy, get an immediate error, probably a missing resource(s)? (From: Chuck Hill <email@hidden>)
 >Re: now trying to deploy, get an immediate error, probably a missing resource(s)? (From: Baiss Eric Magnusson <email@hidden>)
 >Re: now trying to deploy, get an immediate error, probably a missing resource(s)? (From: Chuck Hill <email@hidden>)
 >Re: PROGRESS, now trying to deploy, get an immediate error, probably a missing resource(s)? (From: Baiss Eric Magnusson <email@hidden>)
 >Re: PROGRESS, now trying to deploy, get an immediate error, probably a missing resource(s)? (From: Chuck Hill <email@hidden>)
 >Re: PROGRESS, now trying to deploy, get an immediate error, probably a missing resource(s)? (From: Baiss Eric Magnusson <email@hidden>)

  • Prev by Date: Re: PROGRESS, now trying to deploy, get an immediate error, probably a missing resource(s)?
  • Next by Date: Re: EOModels occasionally loading too slowly?
  • Previous by thread: Re: PROGRESS, now trying to deploy, get an immediate error, probably a missing resource(s)?
  • Next by thread: Re: SUCCESS, now trying to deploy, get an immediate error, probably a missing resource(s)?
  • Index(es):
    • Date
    • Thread