Why don't you instead use a bigger and more robust IoC framework like Spring and a persistence framework you can trust like Hibernate?
Check out: http://wicketinaction.com/2009/06/wicketspringhibernate-configuration/ Have a great day, Paul Bors On Nov 19, 2012, at 8:39 AM, Satrix <[email protected]> wrote: > Nope. Look at the example: > > 1. User has chose to add a product to the Cart (so now the cart number is 1 > and he can see that number in a proper place on the page). > > 2. Now when he clicks back button - bean is recreated - so the cart number > is 0 (list is recreated). > > 3. BUT now when I click on any other link on my page container returns > previous EJB bean so the cart number is 1. > > Btw Im using LoadableDetachableModel so there is no way that the user is > seeing stale data. > > Regards, Satrix > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-8-EJB-3-1-strange-problem-tp4653977p4653995.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >
