On 8/7/06, Torsten Krah <[EMAIL PROTECTED]> wrote:
Hm - thats not possible i guess. Using a SortableDataModel ( for
example ) which is not serializable by default, you have to make a
completly custom solution, extending and so on, to make it work.
So this parameter to preserve the model is nice, you get a stateful
model which can easily be sort by different SortCriterions.
If you use sortable="true", your DataModel is automatically wrapped into
a SortableDataModel and you won't be able to use saveState component,
how did you solved this?
kind regards
Am Freitag, den 04.08.2006, 11:08 -0400 schrieb Mike Kienenberger:
> For what it's worth, I never use preserveDataModel=true. Instead I
> perform a t:saveState on my backing list.
>
Again, you don't use saveState on your model. You use it on the data
inside the model. However, I'm not sure if that's always possible.
Again, I've never tried it, but DataModel.[gs]etWrappedData should
return something you can serialize if you're not already making your
underlying data available via accessors.