> move IModel.getNestedModel() to IWrapModel.getNestedModel() > > rewrote/simplified some model classes (like CompoundPropertyModel) to > implement IModel directly. a lot of our impls extended abstract > implementations and yet overrode all the methods anyways, so i rewrote them > to implement IModel directly. it actually reduced LOC. and a big plus i > think will be for our users - makes things much cleaner and easier to > understand.
Sounds good. > got rid of some inheritable bridge classes Johan built > > i would also like to remove AbstractDetachableModel and its ReadOnly > variation. i just dont see the point of them. the only advantage i see is > the caching, but that is trivial to implement - and i actually think that > when implemented in getobject() it is easier to see then when its > implemented in onattach(). you can still make all the same mistakes when > extending it as well - such as make your cached object instance > non-transient or forget to null it in detach()- it doesnt even guard egainst > that. +1 Eelco ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-develop mailing list Wicket-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-develop