its happening because you are creating invalid html

you cannot have a span between a tr and td, so you just need to adjust how
you are outputting the markup. change testpage.html to use the following and
it will work:

<body>
    <table style="border-collapse: collapse; empty-cells: show;">
        <wicket:container wicket:id="list">
            <tr style="border: 1px solid #000;" wicket:id="panel">
            </tr>
        </wicket:container>
    </table>
</body>

-igor


On 8/24/07, Artur W. <[EMAIL PROTECTED]> wrote:
>
>
>
> igor.vaynberg wrote:
> >
> > i dont get it, where do you expect it to go? it looks like you are
> > replacing
> > an item inside panel7, not inside the panel that is inside the table?
> >
> > maybe you should build a quickstart so we have something to play with.
> >
> >
>
> Thanks for you replay Igor.
>
> The panel is put inside the table. But when I replace it with ajax it
> appear
> outside the table.
> Here is the working example with full source code:
> http://sunet.pl/files/test.war
>
> Artur
>
>
> --
> View this message in context:
> http://www.nabble.com/Can-Panel-replace-itself---tf4318533.html#a12307905
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to