It works! After a few days of not staring at the code in puzzlement, I decided to investigate what Erik and Jose suspected; they were right. Since I had started developing the app with all the static files in the applications public folder, I had forgotten to delete them when I started using Apache for that purpose whilst proxying to the Paste server. The older, half-finished Javascript files were being loaded instead, and since they worked to an extent, I did not have the initial thought to scrutinize exactly where the Javascript files were coming from, what made matters worse is the fact that I did not exclude the Javascript folder in the Proxy configuration.
Thank you Jose and Erik for your help, and heaps of praise for Joe Hewitt for creating FireBug :-)) On Jul 13, 11:56 pm, "Jose Galvez" <[EMAIL PROTECTED]> wrote: > That would be great, I'd be happy to test it here if you want to email it to > me my email is [EMAIL PROTECTED] > Jose > > On 7/13/07, voltron <[EMAIL PROTECTED]> wrote: > > > > > Yes Erik, the javascript is being included because all the validation > > fields work except the checkboxes. I use always FireFox and Firebug > > for testing and debugging, Firebug does not show errors for the page > > for javascript, CSS or HTML, The console is also empty. No errors. > > > It is a very strange situation, maybe some wonky stuff going on > > because I´m proxying to the Pylons server. > > > @ Jose > > > I have´nt put in on a public server yet, its running on a local > > workstation. I could give you the template and content to render in a > > test app though. > > > Thanks > > > On Jul 13, 10:21 pm, Erik Jones <[EMAIL PROTECTED]> wrote: > > > On Jul 13, 2:22 pm, voltron <[EMAIL PROTECTED]> wrote: > > > > > Hi Jose! > > > > > Thanks for your reply. Here is a link to the "standalone" version. > > > > What I mean by standalone is that it is not rendered by Pylons at all. > > > > The static. What drives me crazy is that this static page is an exact > > > > copy of what is rendered from Pylons > > > > >http://www.nhytro.de/val/validation.html > > > > > I´m sorry if its in German, but a quick test is to press the submit > > > > button, the page does not get sent as expected, but when this page is > > > > rendered from Pylons, it gets sent no matter what. > > > > > Thanks > > > > Regardless of what's being rendered, are you sure that your jquery and > > > other js files, especially register.js are being included? When > > > debugging javascript issues, you really should be working in Firefox > > > and using the Firebug plugin. Load the page, open the Firebug pane, > > > click on Script and then click on the little down arrow just above the > > > word Script and you can see exactly what files were served. > > > > When you call $('#register_form').validate(...) in register.js what > > > that's essentially doing is using your plugin to set up an event > > > handler for when the form is submitted. So, if any of the js files > > > aren't being delivered, things won't work. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---