Hi again,
OK I think I found the problem: it's in the prototype.js version.
Executive summary:
Even though they are all advertised as '1.5.0_rc1':
prototype.js from webhelpers 0.2.2: BAD
prototype.js from webhelpers 0.2.3dev-r1612: VERY BAD
prototype.js from scriptaculous 1.6.4: GOOD apparently
Yves-Eric wrote:
a bit, I added:
print request.params
at the begining of the search action, and here is what I get:
MultiDict([])
Aha, looks like prototype.js is at fault here. I diffed the one that
came with WebHelpers 0.2.2, and the one from the latest scriptaculous
tarball (scriptaculous-js-1.6.5.tar.bz2). While they are both
advertised as '1.5.0_rc1', there are differences all over the place!
Definitely not the same beast...
I installed manually (by placing the js files in /public/javascripts as
Philip suggested) scriptaculous 1.6.5 and the prototype.js that came
with it: I got the same error as with webhelpers 0.2.3dev-r1612!
I then delete just "prototype.js" from my /public/javascripts to get
the one from webhelpers 0.2.2... (but the scriptaculous files are still
the 1.6.5 ones): works again, but the same error in IE as before.
So I went ahead and installed the Microsoft script debugger to get some
minimal javascript debugging in IE, and the error I was getting
initiall was indeed in prototype.js...
So I tried one version down, with scriptaculous 1.6.4 (that also has a
prototype.js advertised as '1.5.0_rc1', but is yet again a different
version, but this time with only tiny differences with the one from
webhelpers 0.2.2)... And now everything seems to work!
Conclusions: see the executive summary at top (^_^)
--
Yves-Eric
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---