You can't replace <td>, <tr> or <tbody> using ajax in IE. It's probably 
IE DOM bug. There's nothing we can do about it.

If you need to replace content of table cell, put a span inside it and 
replace the span.

-Matej

Stefan Lindner wrote:
> With the current wicket 2.0 trunk I have a problem with IE 6. With 
> FireFox everything works fine.
> 
> The Ajax-response looks like this:
> 
> INFO:
> INFO: Initiating Ajax GET request on 
> /Visiomedic/app?wicket:interface=:1:bla4:refreshLink::IBehaviorListener&wicket:behaviorId=0&random=0.33907153877121726
> INFO: Invoking pre-call handler(s)...
> INFO: Received ajax response (3807 characters)
> INFO:
> <?xml version="1.0" encoding="ISO-8859-1"?><ajax-response><component 
> id="bla5" ><![CDATA[<td style="border: 1px solid rgb(42,42,0);" 
> id="bla5" wicket:id="bla5"><wicket:panel>
> 
>             <table width="100%">
>                 <tr><td><div 
> style="width:30px;height:1px;font-size:0px;"/></td></tr>
>                 <tr><td><a onclick="var 
> wcall=wicketAjaxGet('/Visiomedic/app?wicket:interface=:1:bla5:refreshLink::IBehaviorListener&wicket:behaviorId=0',
>  
> function() { }, function() { });return !wcall;" 
> href="/Visiomedic/app?wicket:interface=:1:bla5:refreshLink::ILinkListener" 
> title="Schmerzwert 5" id="bla5_refreshLink" 
> wicket:id="refreshLink"><span wicket:id="label">5</span></a></td></tr>
>                 <tr><td><div 
> style="width:30px;height:1px;font-size:1px;"/></td></tr>
>             </table>
> 
>         </wicket:panel></td>]]></component><component id="bla3" 
>  ><![CDATA[<td style="border: 1px solid; 
> background-color:rgb(255,214,151);" id="bla3" 
> wicket:id="bla3"><wicket:panel>
> 
>             <table width="100%">
>                 <tr><td><div 
> style="width:30px;height:1px;font-size:0px;"/></td></tr>
>                 <tr><td><a onclick="var 
> wcall=wicketAjaxGet('/Visiomedic/app?wicket:interface=:1:bla3:refreshLink::IBehaviorListener&wicket:behaviorId=0',
>  
> function() { }, function() { });return !wcall;" 
> href="/Visiomedic/app?wicket:interface=:1:bla3:refreshLink::ILinkListener" 
> title="Schmerzwert 3" id="bla3_refreshLink" 
> wicket:id="refreshLink"><span wicket:id="label">3</span></a></td></tr>
>                 <tr><td><div 
> style="width:30px;height:1px;font-size:1px;"/></td></tr>
>             </table>
> 
>         </wicket:panel></td>]]></component><component id="bla1" 
>  ><![CDATA[<td style="border: 1px solid; 
> background-color:rgb(255,214,151);" id="bla1" 
> wicket:id="bla1"><wicket:panel>
> 
>             <table width="100%">
>                 <tr><td><div 
> style="width:30px;height:1px;font-size:0px;"/></td></tr>
>                 <tr><td><a onclick="var 
> wcall=wicketAjaxGet('/Visiomedic/app?wicket:interface=:1:bla1:refreshLink::IBehaviorListener&wicket:behaviorId=0',
>  
> function() { }, function() { });return !wcall;" 
> href="/Visiomedic/app?wicket:interface=:1:bla1:refreshLink::ILinkListener" 
> title="Schmerzwert 1" id="bla1_refreshLink" 
> wicket:id="refreshLink"><span wicket:id="label">1</span></a></td></tr>
>                 <tr><td><div 
> style="width:30px;height:1px;font-size:1px;"/></td></tr>
>             </table>
> 
>         </wicket:panel></td>]]></component><component id="bla4" 
>  ><![CDATA[<td style="border: 1px solid; 
> background-color:rgb(255,214,151);" id="bla4" 
> wicket:id="bla4"><wicket:panel>
> 
>             <table width="100%">
>                 <tr><td><div 
> style="width:30px;height:1px;font-size:0px;"/></td></tr>
>                 <tr><td><a onclick="var 
> wcall=wicketAjaxGet('/Visiomedic/app?wicket:interface=:1:bla4:refreshLink::IBehaviorListener&wicket:behaviorId=0',
>  
> function() { }, function() { });return !wcall;" 
> href="/Visiomedic/app?wicket:interface=:1:bla4:refreshLink::ILinkListener" 
> title="Schmerzwert 4" id="bla4_refreshLink" 
> wicket:id="refreshLink"><span wicket:id="label">4</span></a></td></tr>
>                 <tr><td><div 
> style="width:30px;height:1px;font-size:1px;"/></td></tr>
>             </table>
> 
>         </wicket:panel></td>]]></component><component id="bla2" 
>  ><![CDATA[<td style="border: 1px solid; 
> background-color:rgb(255,214,151);" id="bla2" 
> wicket:id="bla2"><wicket:panel>
> 
>             <table width="100%">
>                 <tr><td><div 
> style="width:30px;height:1px;font-size:0px;"/></td></tr>
>                 <tr><td><a onclick="var 
> wcall=wicketAjaxGet('/Visiomedic/app?wicket:interface=:1:bla2:refreshLink::IBehaviorListener&wicket:behaviorId=0',
>  
> function() { }, function() { });return !wcall;" 
> href="/Visiomedic/app?wicket:interface=:1:bla2:refreshLink::ILinkListener" 
> title="Schmerzwert 2" id="bla2_refreshLink" 
> wicket:id="refreshLink"><span wicket:id="label">2</span></a></td></tr>
>                 <tr><td><div 
> style="width:30px;height:1px;font-size:1px;"/></td></tr>
>             </table>
> 
>         </wicket:panel></td>]]></component></ajax-response>
> INFO: Response parsed. Now invoking steps...
> ERROR: Error while parsing response: Unbekannter Laufzeitfehler
> INFO: Invoking post-call handler(s)...
> INFO: Invoking failure handler(s)...
> 
>  
> 
> Any idea? workaround?
> 
>  
> 
> Stefan Lindner
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user


-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to