Hi Michael, Those errors don't help much. They suggest that one or more JavaScript files is not getting loaded.
Look in your page source, you should see lines like this: <script src="/cgi-bin/WebObjects/YourApp.woa/-3456/wr?wodata=file%3A%2FProjects%2FWebObjects%2FFrameworks%2FAjax.framework%2FWebServerResources%2Feffects.js"></script> <script src="/cgi-bin/WebObjects/YourApp.woa/-3456/wr?wodata=file%3A%2FProjects%2FCode%2FWebObjects%2FFrameworks%2FAjax.framework%2FWebServerResources%2Fwonder.js"></script> <script src="/cgi-bin/WebObjects/YourApp.woa/-3456/wr?wodata=file%3A%2FProject%2FCode%2FWebObjects%2FFrameworks%2FAjax.framework%2FWebServerResources%2Fmodalbox.js"></script> AOD, for example, is in wonder.js. Are the URLs in your page correct? What happens if you access them directly? Chuck On 2015-01-27, 1:23 AM, "Miguel Angerer" wrote: I was running it on DirectConnection but i changed it now to Apache and the problem is still the same. I will copy the error code right below this massage. [Error] ReferenceError: Can't find variable: AOD eval code (undefined, line 1) eval ([native code], line 0) (anonymous function) (prototype.js, line 634) map ([native code], line 0) (anonymous function) (prototype.js, line 1256) evalScripts (prototype.js, line 634) evalScripts ([native code], line 0) (anonymous function) (prototype.js, line 434) [Error] ReferenceError: Can't find variable: ASB onclick (2.0.3.3.5.2.1.0.1.0.1.1.0.0, line 1) those are the two errors i get when i inspect the SubmitButton. Thanks a lot for helping me Regards Miguel Angerer On 23 Jan 2015, at 14:17, Miguel Angerer <[email protected]<mailto:[email protected]>> wrote: Hello I planed to use one of the Ajax Examples in my Projekt. One of the Bindings for a ModalContainer is called 'locked' which is optional but i don't want the modal to close when the user clicks on the outside of the box. The modal can just be closed by pressing the save button that why i put locked = "true"; Now i have the problem that when i start the application the save button doesn't work at all. When i inspect the elements i get a few errors: Can't find variable : AOD Can't find variable : ASB I have all the important Frameworks but i can't get to the AjaxSubmitButton. If someone knows anything please help me i appreciate it. regards, Miguel Angerer _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]<mailto:[email protected]>) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/chill%40gevityinc.com This email sent to [email protected]<mailto:[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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
