thanks
what means outerhtml?
I foud in
http://www.wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=wicket-0:wicket.examples.ajax.builtin.PageablesPage
the ajax reponse looks like this
*<?xml version="1.0" encoding="UTF-8"?><ajax-response><component
id="data" ><![CDATA[<table id="data">
<thead>
.....
</thead>
<tbody >
...
</tbody>
<tfoot>
<tr>
<td id="data_navigator">.... </td>
</tr>
</tfoot>
</table>]]></component></ajax-response>*
but the same examples in my environment runs like this
*<?xml version="1.0" encoding="UTF-8"?><ajax-response><component
id="data" ><![CDATA[<table id="data">
<thead>
....
</thead>
<tbody >
....
</tbody>
<tfoot>
<tr>
<td id="data_navigator">
....
</td>
</tr>
</tfoot>
</table>]]></component><component id="data_navigator" ><![CDATA[<td
id="data_navigator">
....
</td>]]></component></ajax-response>
*
Looks the second *<component id="data_navigator" >* makes IE choke?
and i dont know how to remove the second one
so i try to modify the example like
*<table wicket:id="data">
<thead>
<tr>
<th>Name</th>
</tr>
</thead>
<tbody >
<tr wicket:id="rows">
<td wicket:id="name"></td>
</tr>
</tbody>
<tfoot>
<tr>
</tr>
</tfoot>
</table>
<span wicket:id="navigator"></span>*
and makes the ajax response like
*<?xml version="1.0" encoding="UTF-8"?><ajax-response><component
id="data" ><![CDATA[<table id="data">
<thead>
...
</thead>
<tbody >
...
</tbody>
<tfoot>
<tr>
</tr>
</tfoot>
</table>]]></component><component id="navigator" ><![CDATA[<span
id="navigator">
...
</span>]]></component></ajax-response>*
then it works well, but i dont know is it a correct way or not.
koji
Igor Vaynberg wrote:
> you cannot update tr/td/tbody and a few others via outerhtml which is
> how our ajax updates work - it makes IE choke.
>
> -Igor
>
>
-------------------------------------------------------------------------
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