You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Roman Mandeleil <ro...@gmail.com> on 2006/12/30 16:46:26 UTC

Re: [ wicket-Bugs-1567849 ] Ajax doesn't work on IE7 RC1

Hi,  can somebody tell me if this bug has been fixed ? 



SourceForge.net wrote:
> 
> Bugs item #1567849, was opened at 2006-09-29 17:55
> Message generated for change (Tracker Item Submitted) made by Item
> Submitter
> You can respond by visiting: 
> https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1567849&group_id=119783
> 
> Please note that this message will contain a full copy of the comment
> thread,
> including the initial issue submission, for this request,
> not just the latest update.
> Category: core
> Group: 1.2
> Status: Open
> Resolution: None
> Priority: 5
> Submitted By: Paolo Di Tommaso (paolodt)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: Ajax doesn't work on IE7 RC1
> 
> Initial Comment:
> 
> Ajax call fails on Internet Explore release candidate 1. 
> 
> The browser reports the following error message:
> 'DOMParser' is undefined.
> 
> The problem arise in the following javascript fragment
> from "wicket-ajax.js"
> 
> if (window.XMLHttpRequest) {
>   var parser = new DOMParser();
>   xmldoc = parser.parseFromString(responseAsText,
> "text/xml");
> }
> else 
> if (window.ActiveXObject) {
>   xmldoc = transport.responseXML;
> }
> 
> On IE7 the condition 'window.XMLHttpRequest' is valid
> but the object DOMParser does not exists, so the code
> will fail. 
> 
> 
> I've fixed inverting the if statement like the following: 
> 
> 
> if (window.ActiveXObject) {
>   xmldoc = transport.responseXML;
> }
> else
> if (window.XMLHttpRequest) {
>   var parser = new DOMParser();
>   xmldoc = parser.parseFromString(responseAsText,
> "text/xml");
> }
> 
> 
> 
> 
> Regards, 
> 
> Paolo Di Tommaso
> 
> 
> 
> 
> ----------------------------------------------------------------------
> 
> You can respond by visiting: 
> https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1567849&group_id=119783
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-develop mailing list
> Wicket-develop@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
> 
> 

-- 
View this message in context: http://www.nabble.com/--wicket-Bugs-1567849---Ajax-doesn%27t-work-on-IE7-RC1-tf2357712.html#a8099012
Sent from the Wicket - Dev mailing list archive at Nabble.com.


Re: [ wicket-Bugs-1567849 ] Ajax doesn't work on IE7 RC1

Posted by Roman Mandeleil <ro...@gmail.com>.
I had that problem with 1.2.1 version, 
 the last one I still need to check


Johan Compagner wrote:
> 
> that piece of code is completely different now as far as i can see.
> And i haven't heard any problems lately specific to IE7 (the final) and
> ajax
> so i think it is fixed.
> Do you still have problems?
> 
> johan
> 
> 
> On 12/30/06, Roman Mandeleil <ro...@gmail.com> wrote:
>>
>>
>> Hi,  can somebody tell me if this bug has been fixed ?
>>
>>
>>
>> SourceForge.net wrote:
>> >
>> > Bugs item #1567849, was opened at 2006-09-29 17:55
>> > Message generated for change (Tracker Item Submitted) made by Item
>> > Submitter
>> > You can respond by visiting:
>> >
>> https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1567849&group_id=119783
>> >
>> > Please note that this message will contain a full copy of the comment
>> > thread,
>> > including the initial issue submission, for this request,
>> > not just the latest update.
>> > Category: core
>> > Group: 1.2
>> > Status: Open
>> > Resolution: None
>> > Priority: 5
>> > Submitted By: Paolo Di Tommaso (paolodt)
>> > Assigned to: Nobody/Anonymous (nobody)
>> > Summary: Ajax doesn't work on IE7 RC1
>> >
>> > Initial Comment:
>> >
>> > Ajax call fails on Internet Explore release candidate 1.
>> >
>> > The browser reports the following error message:
>> > 'DOMParser' is undefined.
>> >
>> > The problem arise in the following javascript fragment
>> > from "wicket-ajax.js"
>> >
>> > if (window.XMLHttpRequest) {
>> >   var parser = new DOMParser();
>> >   xmldoc = parser.parseFromString(responseAsText,
>> > "text/xml");
>> > }
>> > else
>> > if (window.ActiveXObject) {
>> >   xmldoc = transport.responseXML;
>> > }
>> >
>> > On IE7 the condition 'window.XMLHttpRequest' is valid
>> > but the object DOMParser does not exists, so the code
>> > will fail.
>> >
>> >
>> > I've fixed inverting the if statement like the following:
>> >
>> >
>> > if (window.ActiveXObject) {
>> >   xmldoc = transport.responseXML;
>> > }
>> > else
>> > if (window.XMLHttpRequest) {
>> >   var parser = new DOMParser();
>> >   xmldoc = parser.parseFromString(responseAsText,
>> > "text/xml");
>> > }
>> >
>> >
>> >
>> >
>> > Regards,
>> >
>> > Paolo Di Tommaso
>> >
>> >
>> >
>> >
>> > ----------------------------------------------------------------------
>> >
>> > You can respond by visiting:
>> >
>> https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1567849&group_id=119783
>> >
>> >
>> -------------------------------------------------------------------------
>> > Take Surveys. Earn Cash. Influence the Future of IT
>> > Join SourceForge.net's Techsay panel and you'll get the chance to share
>> > your
>> > opinions on IT & business topics through brief surveys -- and earn cash
>> >
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> > _______________________________________________
>> > Wicket-develop mailing list
>> > Wicket-develop@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/wicket-develop
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/--wicket-Bugs-1567849---Ajax-doesn%27t-work-on-IE7-RC1-tf2357712.html#a8099012
>> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/--wicket-Bugs-1567849---Ajax-doesn%27t-work-on-IE7-RC1-tf2357712.html#a8107431
Sent from the Wicket - Dev mailing list archive at Nabble.com.


Re: [ wicket-Bugs-1567849 ] Ajax doesn't work on IE7 RC1

Posted by Johan Compagner <jc...@gmail.com>.
that piece of code is completely different now as far as i can see.
And i haven't heard any problems lately specific to IE7 (the final) and ajax
so i think it is fixed.
Do you still have problems?

johan


On 12/30/06, Roman Mandeleil <ro...@gmail.com> wrote:
>
>
> Hi,  can somebody tell me if this bug has been fixed ?
>
>
>
> SourceForge.net wrote:
> >
> > Bugs item #1567849, was opened at 2006-09-29 17:55
> > Message generated for change (Tracker Item Submitted) made by Item
> > Submitter
> > You can respond by visiting:
> >
> https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1567849&group_id=119783
> >
> > Please note that this message will contain a full copy of the comment
> > thread,
> > including the initial issue submission, for this request,
> > not just the latest update.
> > Category: core
> > Group: 1.2
> > Status: Open
> > Resolution: None
> > Priority: 5
> > Submitted By: Paolo Di Tommaso (paolodt)
> > Assigned to: Nobody/Anonymous (nobody)
> > Summary: Ajax doesn't work on IE7 RC1
> >
> > Initial Comment:
> >
> > Ajax call fails on Internet Explore release candidate 1.
> >
> > The browser reports the following error message:
> > 'DOMParser' is undefined.
> >
> > The problem arise in the following javascript fragment
> > from "wicket-ajax.js"
> >
> > if (window.XMLHttpRequest) {
> >   var parser = new DOMParser();
> >   xmldoc = parser.parseFromString(responseAsText,
> > "text/xml");
> > }
> > else
> > if (window.ActiveXObject) {
> >   xmldoc = transport.responseXML;
> > }
> >
> > On IE7 the condition 'window.XMLHttpRequest' is valid
> > but the object DOMParser does not exists, so the code
> > will fail.
> >
> >
> > I've fixed inverting the if statement like the following:
> >
> >
> > if (window.ActiveXObject) {
> >   xmldoc = transport.responseXML;
> > }
> > else
> > if (window.XMLHttpRequest) {
> >   var parser = new DOMParser();
> >   xmldoc = parser.parseFromString(responseAsText,
> > "text/xml");
> > }
> >
> >
> >
> >
> > Regards,
> >
> > Paolo Di Tommaso
> >
> >
> >
> >
> > ----------------------------------------------------------------------
> >
> > You can respond by visiting:
> >
> https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1567849&group_id=119783
> >
> >
> -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> > your
> > opinions on IT & business topics through brief surveys -- and earn cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > Wicket-develop mailing list
> > Wicket-develop@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-develop
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/--wicket-Bugs-1567849---Ajax-doesn%27t-work-on-IE7-RC1-tf2357712.html#a8099012
> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>
>