Thanks, that seems to be the problem, I'm getting NotSerializableException, the offending objects are injected using @SpringBean, which I thought injected a proxy. I've read the docs online for spring-annot and I can't see why this should be happening.
I'm running glassfish and the log has this to say about the error: 'Cannot serialize session attribute categoryDao for session' Where categoryDao is the injected variable. Any idea what I'm doing wrong? Cheers Serkan Camurcuoglu-3 wrote: > > did you check your logs, if you are getting NotSerializableExceptions in > the background you may get page expired errors with back button.. > > > quizzical wrote: >> Hi everyone, >> >> I'm in the process of writing an example ecommerce app to get to know >> wicket >> and am really enjoying the experience.. At the moment I'm working on a >> page >> which allows you to browse through a list of items in a database. >> >> For the list of items I created a panel which uses a DataView with a >> SortableDataProvider and some orderByLinks, I also created a panel for >> viewing the available categories which controls the data the DataView is >> working on. >> >> Everything works fine going forwards, I'm running into problems with the >> back button. If I click on any of the links in these panels, then click >> the >> back button, then try and click another link I get a 'page expired' error >> page. >> >> Do I need to addStateChange on one of my components? If so which one, I >> can't find much info about Change and how it is meant to be used. >> >> If this is a simple problem and someone can answer my question easily >> then I >> will be very happy :) I have had a look through the forums but I couldn't >> find anything that helped me, it is possible of course that I was using >> the >> wrong terms. If there is not enough information here then let me know and >> I >> will write a test case and post that. >> >> Cheers very much >> Alex >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- View this message in context: http://www.nabble.com/Back-button-%2B-dataview-problem-tp21348923p21354022.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
