Detach Model Objects when user leaves page

2012-06-14 Thread brazz
think this is rather cumbersome. Detaching the model object after the user leaves the page would be more elegant. Thanks for any suggestions or hints how you fixed this scenario. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Detach-Model-Objects-when-user-leaves

Re: Detach Model Objects when user leaves page

2012-06-14 Thread Thomas Götz
How would you notice if the user leaves the page? If you have only Wicket controlled Links on your page then you could null your Repository data in their onclick() implementation (if you do a setResponsePage(someOtherPage). If there's also non-Wicket links on your page, well, you would probably

Re: Detach Model Objects when user leaves page

2012-06-14 Thread brazz
when the user goes to one of my (other) wicket pages. Maybe i should have a look at the seam framework which adresses conversation scope... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Detach-Model-Objects-when-user-leaves-page-tp4649977p4649982.html Sent from

Re: Detach Model Objects when user leaves page

2012-06-14 Thread brazz
Thanks for the link! I think i will give this one a try: https://www.42lines.net/2011/11/15/integrating-cdi-into-wicket/ -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Detach-Model-Objects-when-user-leaves-page-tp4649977p4649990.html Sent from the Users forum