> searchResults = new SearchResults("id",list); //-> Not sure if this
> is the
> correct way to refresh a ListView...
It's not. Creating a new object like this will defeat the logic because it has
not been added to the hierarchy that the Ajax call expects.
What you want to do is to modify the *model* of the result, then tell it to
repaint. For repeaters (like ListView) where the markup is used multiple times
and the "real" wicket id is something completely different than what you may
think, you also want to put a "wrapper" in the form of a WebMarkupContainer
around the repeater and then use that for visibility and Ajax updates.
- Tor Iver
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]