There is, though not specifically geared towards doing database roll back. Also, note that it is impossible afaik to detect things like that from the browser, so the following only works when the user pushes the back button and then clicks some link or button causing another server roundtrip.
Anyway, you can register state changes with their 'undo' actions like this: addStateChange(new Change() { private final Foo someFoo; public void undo() { getDao().rollback(someFoo); } }); Hope that's helpful, Eelco On 4/27/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote: > > In wicket, if i want hibernate to rollback a transaction when a user clicks > the 'back button' back to a page where they just posted from a Form to a > database..what du i do? is there anyway i can detect 'onBack' > > thanks > > > > ------------------------------------------------------- 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&kid0709&bid&3057&dat1642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user