I got past my original problem by changing my onClick methods to look like this. Is this the right approach?
public void onClick() { final int oldA = ((StatePojo) getPage().getModelObject()).getA(); TestPage.this.addStateChange(new Change() { public void undo() { ((StatePojo) getPage().getModelObject()).setA(oldA); } }); ((StatePojo) getParent().getModelObject()).setA(100); } -- View this message in context: http://www.nabble.com/Versioning-a-PropertyModel-backed-by-another-Model-tf2166294.html#a6028222 Sent from the Wicket - User forum at Nabble.com. ------------------------------------------------------------------------- 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-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user