igor.vaynberg wrote:
>
> does it do that in all browsers?
>
> also call view.setreuseitems(true);
>
I've checked it with ff2 and ie7. Also with Wicket1.3beta2 and beta3. I've
set view.setreuseitems(true);
The problem is that the wicket generate span tags for panels after body tag
and before the table tag.
So replacing is proper, but the tags location is incorrect:
<body>
<span id="panel5">
</span><span id="panel7">
</span><span id="panel9">
</span><span id="panel11">
</span><table>
<tbody><tr>
<td><a id="link6" onclick="var
wcall=wicketAjaxGet('?wicket:interface=:4:list:0:panel:link::IBehaviorListener:0:',
function() { }.bind(this), function() { }.bind(this));return !wcall;"
href="#"><span>click</span></a></td>
<td><span>ONE</span></td>
<td><span>one</span></td>
</tr>...
Full generated html file:
http://sunet.pl/testpage.html
Full generated html file after one click:
http://sunet.pl/testpage-after-one-click.html
Is it a but or am I doing something wrong?
Artur
--
View this message in context:
http://www.nabble.com/Can-Panel-replace-itself---tf4318533.html#a12307236
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]