Doesn't seem to work. It does work if I do the following: .tml -----
<t:hidden t:value="version" /> .class ------ @Property private Integer version; void setupRender() { version = person.getVersion() } void onSuccess() { if(version == person.getVersion) { // do update } else { // don't do update and show some error } } Really don't know what's best practice to implement something like this. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Hibernate-optimistic-locking-tp5718413p5718430.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org