Jul 10th, 2012, 04:35 PM
Persist model on view-state refresh
I'm trying to refresh a view-state without loosing the changes done to the model.
The reason: In the jsp of that view I'm using JMesa and everytime I do a pagination it starts a refresh on the view and I loose the data set to the model.
My model has a list that is show with JMesa and the last column is a checkbox so the user can mark with objects he wants to keep. But when they go to the next page of the JMesa to mark the rest the first set gets "reseted". So when they go to the first page nothing is checked.
Is there a way to tell the view not to refresh the model? Or a way around it to persist it? Or use other kind of data?
I've been trying to find a solution for days now.. but nothing seems to work.
Thanks in advance!