Re: Wicket Session grows too big real fast

2008-11-26 Thread jhp
Removing references pointing to previous pages solved a lot, very good point. Also making sure that individual domain objects don't get stored to session makes a difference. I have still a lot of code to go through to make sure that all unnecessary references don't get stored to session, but maki

Re: Wicket Session grows too big real fast

2008-11-26 Thread jhp
In that place, it compiles without it, but I have another class that has something like this: final Recommendation currentRecommendation = (Recommendation) recommendationModel.getObject(); . . . add(new Label("usersChoice", getUsersChoiceString(name.getFirstname())) { @Override pub

Re: Wicket Session grows too big real fast

2008-11-26 Thread jhp
In that place, it compiles without it, but I have another class that has something like this: final Recommendation currentRecommendation = (Recommendation) recommendationModel.getObject(); . . . add(new Label("usersChoice", getUsersChoiceString(name.getFirstname())) { @Override pub

Re: Wicket Session grows too big real fast

2008-11-26 Thread jhp
Well, yes references to pages seems to be given as constructor arguments to several pages. The idea is that if 'Cancel' is clicked, application goes back to previous page. The possibility to go back more than one page is not necessary. Is the correct way to implement cancle with some javascript th

Wicket Session grows too big real fast

2008-11-26 Thread jhp
Hi, I have a serious problem with our application. It uses wicket+guice+hibernate technologies. The problem basically is that the application was developed with very little attention to the possible session size, and it is biting us now. The are several domain classes and the dependecies are not