You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de> on 2006/08/04 15:52:25 UTC

Re: List -> SortableDataModel, how can i retrieve the list back from the model?

Solved it - have to cast it first to a ListDataModel and than back to
the List ... 

Am Freitag, den 04.08.2006, 15:49 +0200 schrieb Torsten Krah:
> I got a list of my data and created a SortableDataModel from it.
> Is there a way to get the list back from the model - without too much
> work?
> 
> Tried to cast getWrappedData from the model back to the list but this
> does result in an exception.
> 
> kind regards
>