I've ran into a scenario where I can use the ModalWindow in FF 1.5 with no problems, but cannot get it to work in IE. I've ran the samples in both browsers and have had no problems, so I'm really baffled as to why this won't work in my app. In looking at the debugger, there is a difference between the request, here is what comes up in FF which works:
INFO:
INFO: Initiating Ajax GET request on /ess/app?wicket:interface=:2:adminLink::IBehaviorListener&wicket:behaviorId=0&random=0.2309236093421808
INFO: Invoking pre-call handler(s)...
INFO: Received ajax response (866 characters)
INFO:
<?xml version="1.0" encoding="UTF-8"?><ajax-response><component id="adminScreen" ><![CDATA[<div style="display:none" id="adminScreen">
   <div id="adminScreen_content">
       <ul>

       </ul>
   </div>
</div>]]></component><evaluate><![CDATA[var element = document.getElementById("adminScreen_content");
var settings = new Object();
settings.minWidth=200;
settings.minHeight=200;
settings.className="w_blue";
settings.width="600";
settings.height="400";
settings.resizable=true;
settings.element = element;
settings.title="Documents/Links/Reminders Administration";
settings.mask="semi-transparent";
settings.onClose = function() { var wcall=wicketAjaxGet('/ess/app?wicket:interface=:2:adminScreen::IBehaviorListener&wicket:behaviorId=1', function() { }, function() { }); };
Wicket.Window.create(settings).show();
]]></evaluate></ajax-response>
INFO: Response parsed. Now invoking steps...
INFO: Response processed successfully.
INFO: Invoking post-call handler(s)...

Now here is what I see in IE. The big difference I noticed is the random parameter is not tacked on the URL. I'm not sure if that is the cause of the problem or not.

INFO:
INFO: initiating ajax GET request with...
INFO: url: /ess/app?wicket:interface=:0:adminLink::IBehaviorListener&wicket:behaviorId=0
INFO: successHandler:function() { }
INFO: failureHandler:function() { }
INFO: received ajax response. 866 characters, envelope following...
INFO:
INFO: <?xml version="1.0" encoding="UTF-8"?><ajax-response><component id="adminScreen" ><![CDATA[<div style="display:none" id="adminScreen">
        <div id="adminScreen_content">
       <ul>

       </ul>
   </div>
</div>]]></component><evaluate><![CDATA[var element = document.getElementById("adminScreen_content");
var settings = new Object();
settings.minWidth=200;
settings.minHeight=200;
settings.className="w_blue";
settings.width="600";
settings.height="400";
settings.resizable=true;
settings.element = element;
settings.title="Documents/Links/Reminders Administration";
settings.mask="semi-transparent";
settings.onClose = function() { var wcall=wicketAjaxGet('/ess/app?wicket:interface=:0:adminScreen::IBehaviorListener&wicket:behaviorId=1', function() { }, function() { }); };
Wicket.Window.create(settings).show();
]]></evaluate></ajax-response>
ERROR: error while processing response: [object Error].Object doesn't support this property or method
INFO: invoking failure handler...

Any help would be appreciated.

_________________________________________________________________
Windows Live Spaces is here! ItÂ’s easy to create your own personal Web site. http://spaces.live.com/signup.aspx


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to