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 fo
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
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 usi
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 h
Hi,
I have a RefreshingView which has a delete button in it (this deletes the
model present in the backing list for the view.) The problem is that when a
delete is performed on DB, (see onSubmit( ) for
*deletePlanObjectiveDetailButton
below) *the size of the list changes, Is there a way to "refre