Panel | ||||
---|---|---|---|---|
| ||||
|
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.
- - You can't, you need to put it into a
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 | ||||
---|---|---|---|---|
| ||||
<ul> <li wicket:id="listitem"><span wicket:id="label">some value</span></li> </ul> |
In the client side markup:
Code Block | ||||
---|---|---|---|---|
| ||||
<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
...