Hi Clint, thanks for your email. After reading your post, this is how I've implemented the LDM class:
public class LoadableParentModel extends LoadableDetachableModel { Long id; public LoadableParentModel(Long id){ this.id = id; } @Override protected Parent load() { Parent Parent = WicketApplication.get().getParents_service().load(Parent.class, id); detach(); return Parent; } } Is that what you mean by explicitly calling .detach() on the LDM? I apologise if I didn't get that right straight away. I have implemented it as in the above example but when I call (Parent) model.getObject(); I get the same exception as before. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Refreshing-loadable-detachable-model-object-inside-an-ajax-call-tp3446979p3447904.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