Apparently, the error is:

I looked in the directory where the web server resources were installed, and there was a .woa and a separate Frameworks directory there (as indicated by the path above).  The only framework installed in the separate frameworks directory was  my skin framework.  I changed the WOFrameworksBaseURL in the properties file to the frameworks directory inside the .woa, and it seems to work now.

Thanks to everyone who helped.

On Feb 21, 2011, at 12:32 PM, Mike Schrag wrote:

wonder.js isn't being loaded .... you should check your WSR deployment and compare them to the URLs that are being generated. maybe you left off your WOFrameworksBaseURL or something

On Feb 21, 2011, at 12:23 PM, Andrew R. Kinnie wrote:

Any ideas why Ajax suddenly would suddenly stop working?  I had a series of AjaxUpdateLinks in an existing app which worked fine.  I changed one of them to a WOHyperlink, which works fine.   I did redeploy the site with the new changes (and also changed a date calculation).  

Now none of the Ajax update links work.  The id is fine, the content area is fine nothing has changed.  The update container id matches the actual container's id in the code.  From the errors, it looks like it's not loading the _javascript_ resources.  I have no idea why, as it was fine before.

I get these errors in the Safari Web Inspector, which seem to indicate that _javascript_ libraries are not loading.

Failed to load resource: the server responded with a status of 404 (Not Found)
Failed to load resource: the server responded with a status of 404 (Not Found)
Failed to load resource: the server responded with a status of 404 (Not Found)
ReferenceError: Can't find variable: AUC
ReferenceError: Can't find variable: AUL
ReferenceError: Can't find variable: AUL
ReferenceError: Can't find variable: AUL
ReferenceError: Can't find variable: AUL
ReferenceError: Can't find variable: AUL

When I run it in Eclipse the links work fine. Just not when deployed.

The generated links are the same:
<a href="" _onclick_="AUL.update('ajaxContentArea', {}, '0.39');">Home</a>

I assume there is a permissions issue somewhere, or something. I changed the permissions on the deployed version yesterday in order to get the thing to run on the server

chown -v -R _appserver:_appserveradm [path to my app]

and did the same on the webserver resources.

Ideas?

Thanks
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com

This email sent to [email protected]


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to