*light on* Yeah thats right.
But still it doesnt work like preserveDataModel - the list is still sorted like initial state if i go back to the page with a forward from a detail one, so saving only the data is not enough, because like someone already mentioned in the thread, the real list isn't sorted - this is done somewhere in the model ( correct me if i am wrong ), because of that i initially wanted to save the model - but thats not possible. So how can i preserve the state with saveState? Saving the SortCriteria + the Data did not help, neither saving the sortColumn - ideas? Am Montag, den 07.08.2006, 10:56 -0400 schrieb Mike Kienenberger: > On 8/7/06, Torsten Krah <[EMAIL PROTECTED]> wrote: > > Hm ok thats an idea and its working, however you have to be very careful > > for chained models. > > > > SortableDataModel -> ListDataModel -> List<Typ>. > > > > Calling wrappedData on the first one is still not Serializable, you will > > have to call it twice to get the real Data. > > But thats implementation specific so its ok - thx for the tipp - tried > > to save the whole bean which failed, but saving the data only works. > > > > A method like "getRealWrappedData" would be nice, to get the real "leaf" > > of the DataModel Tree which maybe a chain, opinions? > > Like I said, I find it easier to expose the List rather than the > DataModel, and just serialize the list directly. I've never resorted > to the getWrappedData trick.

