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="javascript:void(0);" 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/archive%40mail-archive.com
This email sent to [email protected]