Pablo Vázquez Blázquez wrote:
Hello,
I´m building a web application using Struts 2.0.9. Till now, I have
been using only Firefox to check it works successfully and it was OK,
but now, when the development process is being finished I tried the
application in IE7 and no Ajax tag work!! Is it a bug?? Which is the
best way to solve this problem? Any help would be grateful.
Regards.
I don't think anything works first try in IE7 if you've only tested with
FF. For one site I look after, 89% of the users still use IE6 and it
causes me so much grief...
Another user recently reported that the autocompleter tag doesn't work
in IE7 but I haven't used it so can't really comment. There was once
talk about IE bombing out if JSON contains a trailing comma but I think
that was fixed.
However, I have used all other 2.0.x ajax tags and they work okay in IE7
with two exceptions:
- if the target of an ajax tag is a parent node that contains the
form, it will overwrite the form with the loading text before actually
submitting it. The only work-around is to turn off the Loading Text
message.
- dojo 0.4.x has a bug in IE7 SSL and a patch is required to fix it
(page contains both secure and unsecure items)
More often than not, my most frequent IE7-specific javascript error is a
missing semi-colon somewhere. FF is more tolerant of these. I usually
dump debug messages throughout the javascript to isolate how far the JS
executed. An easy way to do that is using window.status="I'm here #1";
Alternatively a validator can be run over it, but if haven't written
your own JS this won't really help.
Use Fiddler to inspect your XHR and CSS. Frontpage includes a
rudimentary javascript debugger for IE.
Otherwise, start turning things off to isolate it.
Hope that helps,
Jeromy Evans
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]