Do you mean the panel content failed to render?
If so then from the wiki FAQ's that's a feature:
http://cwiki.apache.org/confluence/display/WICKET/FAQs#FAQs-Mymarkupelementdoesnotgetrendered
<http://cwiki.apache.org/confluence/display/WICKET/FAQs#FAQs-Mymarkupelementdoesnotgetrendered>
If you mean an ajax update on a single panel caused markup outside of
that panel to go missing then something has gone very wrong...
Oli
kent lai wrote:
Hi,
There was an interesting case recently, whereby Wicket seemed to
be not updating my page properly with an ajax request.
I have 3 classes, A, which is a page, B and C which are panels.
A will add B initially, and after an ajax request (triggered by a
button), replace B with C. The parent container will be added as an
ajax component update.
Once updated, the content after the component all disappeared.
My markup look like something below
A.html
<html>
<body>
<div>[some content]</div>
<span wicket:id="container">
<span wicket:id="b">b</span>
</span>
<div>[more content]</div>
</body>
</html>
B.html
<html>
<body>
<wicket:panel>
<div>[even more content]</div>
<div class="something" />
</wicket:panel>
</body>
</html>
C.html
<html>
<body>
<wicket:panel>
<div>[even even more content]</div>
<div class="something" />
</wicket:panel>
</body>
</html>
I did managed to resolve the issue, by replacing <div
class="something" /> with <div class="something"></div>. It seemed
that somehow wicket just went on ahead to remove all the tags after
<div class="something" /> as well.
Does anyone have the same issue? I am using 1.3 beta 4.
Kent
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]