You can call LDM#detach() after the modification, but since this particular
implementation is so light, I'd just use AbstractReadyOnlyModel instead. It
doesn't cache, so detach is not required.

On Mon, Apr 30, 2012 at 11:36 AM, cmagnollay <[email protected]> wrote:

> And I can force the model to update, via AJAX, or in other words, how I
> force
> the list view to update after a user action?
>
> onUpdate(AjaxRequestTarget target)
> {
>      target.add(theListView) ??
> }
>
> or is it something I do with the model itself? Sorry, I have no experience
> with LoadableDetachable, and a quick glance at the API did not enlighten
> me.
> My guess would be to give the listview a new model on each trigger of the
> AJAX code.
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/ListView-or-other-Repeater-with-backing-map-tp4598817p4599009.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to