• 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: Problem loading Ajax frameworks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem loading Ajax frameworks


  • Subject: Re: Problem loading Ajax frameworks
  • From: Jeff Schmitz <email@hidden>
  • Date: Mon, 28 Nov 2011 20:40:12 -0600

As I never did resolve this one, I thought I'd resurrect this thread..

The "long and the short" of it is,
How I can get my App to generate Wonder Framework javascript (and other static resource) references that point here:

/WebObjects/Frameworks/... (e.g.  <script src="/WebObjects/Frameworks/Ajax.framework/WebServerResources/prototype.js">)


instead of here:

/WebObjects/<myApp>.woa/Frameworks... (e.g. <script src="/WebObjects/netBrackets.woa/Frameworks/Ajax.framework/WebServerResources/prototype.js">)


So that the references match where the Wonder framework resources are installed when following these instructions:

http://wiki.objectstyle.org/confluence/display/WO/Building+and+Installing+a+Framework+with+Ant


I tried Chucks suggestion...
   "You probably have the wrong setting in build.properties, try this:

    frameworksBaseURL=/WebObjects/Frameworks"

to no avail as the generated references are still looking under the project specific directory.

any other ideas?
Jeff

On Nov 21, 2011, at 10:40 PM, Stavros Panidis wrote:

> Dear Jeremy,
>
> Many thanks, this problem solved.
>
> Actually in this server static pages are in /Library/Server/Web/Data/Sites/Mysite
>
> so I copied WebServerResources in WebObjects inside Mysite folder. Now it works.
>
> Best regards
>
> Stavros
>
> On 21 Νοε 2011, at 8:28 μ.μ., Jérémy DE ROYER [INGENCYS] wrote:
>
>> Hello,
>>
>> Did you copy the folders "WebServerResources" of yours app/frameworks in the folder WebObjects of your WebServer (located in /Library/WebServer/Documents on Mac OS X Server) ?
>>
>> Jérémy
>>
>> Le 21 nov. 2011 à 19:24, Stavros Panidis a écrit :
>>
>>> Hi,
>>>
>>> I have the following error in a deployed application (Lion server)
>>>
>>> GET http://www.mysite.com/WebObjects/myapp.woa/Frameworks/Ajax.framework/WebServerResources/prototype.js 	404 (Not Found)
>>> GET http://www.mysite.com/WebObjects/myapp.woa/Frameworks/Ajax.framework/WebServerResources/wonder.js 		404 (Not Found)
>>> GET http://www.mysite.com/WebObjects/myapp.woa/Frameworks/Ajax.framework/WebServerResources/effects.js	 	404 (Not Found)
>>>
>>> ReferenceError Can't find variable ASB
>>> ReferenceError Can't find variable ASB
>>> ReferenceError Can't find variable AUC
>>>
>>> The application works fine in other aspects.
>>>
>>> Also at the same deployment machine css files are not loaded  in JAVA MONITOR when run as instance.
>>>
>>> Has to do with permissions? Any other help?
>>>
>>>
>>> Many thanks in advance
>>>
>>>
>>> Stavros
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>>
>
> _______________________________________________
> 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

 _______________________________________________
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: Problem loading Ajax frameworks
      • From: Kieran Kelleher <email@hidden>
References: 
 >Problem loading Ajax frameworks (From: Stavros Panidis <email@hidden>)
 >Re: Problem loading Ajax frameworks (From: "Jérémy DE ROYER [INGENCYS]" <email@hidden>)
 >Re: Problem loading Ajax frameworks (From: Stavros Panidis <email@hidden>)

  • Prev by Date: Re: What causes a ZERO in the ID ?
  • Next by Date: AjaxFileUpload UploadProgress binding
  • Previous by thread: Re: Problem loading Ajax frameworks
  • Next by thread: Re: Problem loading Ajax frameworks
  • Index(es):
    • Date
    • Thread