You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Frank W. Zammetti" <fz...@omnytex.com> on 2006/09/08 19:11:26 UTC

Re: AJAX + Struts problem on IE 7

Have you figured out which line of code is causing the error?  Some 
alert()'s sprinkled in are in order.  You've probably found an IE7 
compatibility issue, I for one would be very interested to know what it is.

Frank

Daniel Chacón Sánchez wrote:
> Hi all,
> 
> I'm using struts with AJAX
> 
> I introduced Ajax to my struts application based on the article: 
> *"**Sprinkle
> Some AJAX Magic in Your Struts Web Application"
> http://today.java.net/pub/a/today/2005/10/27/sprinkle-ajax-magic-into-struts-webapp.html?page=1 
> 
> *
> 
> I use the ajax javascript and the function retrieveUrl, all works fine :-)
> buuuut when I ran the application on IE 7 the ajax does not work.
> 
> I simple recibe a javascript error that say: "object spected", I used the
> firefox debug and didn´t found an error, do IE have something like that to
> get a better message with the problem, any suggestion??
> 

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo: fzammetti
MSN: fzammetti@hotmail.com
Author of "Practical Ajax Projects With Java Technology"
  (2006, Apress, ISBN 1-59059-695-1)
Java Web Parts - http://javawebparts.sourceforge.net
  Supplying the wheel, so you don't have to reinvent it!

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: AJAX + Struts problem on IE 7

Posted by "Frank W. Zammetti" <fz...@omnytex.com>.
Daniel Chacón Sánchez wrote:
> Ok I will try with alerts, but is something strange, beacause it works
> perfectly with firefox and netscape, any other idea?

Not really strange though because IE7 is largely an unknown quantity... 
I don't know too many people that have tested code against it yet (I 
know I haven't), so who knows what problems Microsoft may have 
introduced.  The code in that article doesn't look like anything fancy 
though, so it does worry me that something so simple doesn't work in 
IE7.  But, if you can narrow it down to the exact line causing the 
problem, that's the starting point for figuring out how to get around it.

Frank


-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo: fzammetti
MSN: fzammetti@hotmail.com
Author of "Practical Ajax Projects With Java Technology"
  (2006, Apress, ISBN 1-59059-695-1)
Java Web Parts - http://javawebparts.sourceforge.net
  Supplying the wheel, so you don't have to reinvent it!

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: AJAX + Struts problem on IE 7

Posted by Daniel Chacón Sánchez <da...@gmail.com>.
Ok I will try with alerts, but is something strange, beacause it works
perfectly with firefox and netscape, any other idea?

Some time ago I send a mail to
paulb@firstpartners.net<paulb@firstpartners.net?subject=> (author
of the article), but doesn´t respond, someone else use this artilcle to use
ajax?