Re: Refreshing a List view

2008-06-06 Thread Maurice Marrink
If that does not work you can also force the list to recreate all items by calling removeAll() after you have deleted the object. Maurice On Thu, Jun 5, 2008 at 7:39 PM, Sam Barnum [EMAIL PROTECTED] wrote: Ricky, what are you using as the model for your refreshing view? You should be using

Re: Refreshing a List view

2008-06-06 Thread Ricky
Thanks for the help guys, but still cannot make it to work =( Rick On Fri, Jun 6, 2008 at 3:22 AM, Maurice Marrink [EMAIL PROTECTED] wrote: If that does not work you can also force the list to recreate all items by calling removeAll() after you have deleted the object. Maurice On Thu,

Re: Refreshing a List view

2008-06-06 Thread Ricky
Hey Guys, FYI - instead of a simple button i created an AJAX link and then marked all the components in the panel (which encloses the refreshing view) to true (setOutputMarkupId(true)), and basically it refreshes just the view if a delete happens. So its working now . Here's the simplified code

Re: Refreshing a List view

2008-06-05 Thread Sam Barnum
Ricky, what are you using as the model for your refreshing view? You should be using some sort of detachable model that re-fetches the items for the list from the DB each time. -- Sam Barnum 360 Works http://www.360works.com 415.865.0952 On Jun 5, 2008, at 10:32 AM, Ricky wrote: Hi, I