Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
borderStylesolid
titleTable of contents
Table of Contents
minLevel3

Scope

ComponentBackground | componentJavadoc=ListView

Background

FAQ

...

  • How do I repaint a ListView via Ajax?

...

    • - You can't, you need to put it into a WebMarkupContainer and repaint that container instead.

More<br/>
If you take a closer look at the markup, and the markup that
gets generated, you can clearly see the problem for a listview:

In the server side markup:

Code Block
html
html
<ul>
<li wicket:id="listitem"><span wicket:id="label">some value</span></li>
</ul>

In the client side markup:

Code Block
html
html
<ul>
<li><span>foo</span></li>
<li><span>bar</span></li>
<li><span>foobar</span></li>
</ul>

...

[Thanks to Igor & Martijn for the original postings to the Wicket-User list. Gwyn 22:32, 21 Aug 2006 (BST)]

Examples

...