Ashu, the most likely cause of your problem is that the ListView is not implemented correctly. Likely, rather than passing the ListView an IModel<List<Foo>> you are passing it just a List<Foo> when it is created. This leads to the ListView having stale data. Then you think you need to "refresh" the ListView. In most cases when it is correctly implemented, the ListView will "just work" because it will reload its model, getting the up-to-date list after you've modified the underlying data store (e.g. deleted things from the database).
The best way for you to get more assistance is to post a code snippet with your next email that shows how you're creating the listview, the checkboxes, and the delete. On Tue, Feb 7, 2017 at 9:58 PM ASHU_JAVA <ashu....@gmail.com> wrote: > Thanks Marcel for the link. > I'm able to add checkbox group as provided in this link. > However, I'm unable to refresh the list view once the item is deleted in > the > database. > > Can you please guide how to accomplish the task to refresh the listview > (dataview)? > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Java-Wickets-Delete-and-Checkbox-tp4677014p4677040.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >