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.