Re: Detachable Models best practices

2009-07-02 Thread Daniele Dellafiore
I am not sure I completely understood what happens to you. This sound to me like a problem I had in unit testing pages, when calling, to say tester.assertLabel coused the model.getObject to be called and if model is a LDM, than it results attached. So I have to detach the component explicitly

Detachable Models best practices

2009-06-29 Thread Neil Curzon
Hi all, Using 1.3.6, I've recently been simplifying some of my wicket code by using LoadableDetachableModels and PropertyModels instead of trying to manage static models in various ways. I had a strange and subtle bug caused by the fact that a form button update call into the next layer would