Re: LoadableDetachableModel onDetach() event

2009-05-03 Thread Mauro Ciancio
This issue has been solved today by Igor. Thanks Igor Greentings! On Sun, May 3, 2009 at 12:29 PM, Mauro Ciancio wrote: > Johan: > > On Sun, May 3, 2009 at 6:02 AM, Johan Compagner wrote: > >> We dont need to give the object to the method if we would call >> ondetach first and then set the boole

Re: LoadableDetachableModel onDetach() event

2009-05-03 Thread Mauro Ciancio
Johan: On Sun, May 3, 2009 at 6:02 AM, Johan Compagner wrote: > We dont need to give the object to the method if we would call > ondetach first and then set the boolen/clear the reference. Exactly. I agree. > You can then just call getModelObject to get it. I dont see currently > all the impl

Re: LoadableDetachableModel onDetach() event

2009-05-03 Thread Johan Compagner
We dont need to give the object to the method if we would call ondetach first and then set the boolen/clear the reference. You can then just call getModelObject to get it. I dont see currently all the implications if we change this. Can you make a jira issue so that we can track this? On 03/05/20

LoadableDetachableModel onDetach() event

2009-05-02 Thread Mauro Ciancio
Hi everybody, The detach() code for LoadableDetachableModel is this: public void detach() { if (attached) { attached = false; transientModelObject = null; onDetach(); } } I have to invoke a model's method which releases