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. > > On 8/4/06, Torsten Krah <[EMAIL PROTECTED]> wrote: > > Got the same issue. > > Using preserveDataModel=false works. > > > > Am Montag, den 10.07.2006, 10:11 -0700 schrieb Catalin Kormos: > > > You're right, it's not working, but only if preserveDataModel=true; if > > > you don't need your model to be preserved between requests, a > > > temporary workarround, until this is resolved, might be to set it to > > > false. Let me know if it works out for you with > > > preserveDataModel=false and using the <t:updateActionListener> > > > approach. > > > > > > Regards, > > > Catalin > > > > > > joelus <[EMAIL PROTECTED]> wrote: > > > > > > Thanks Catalin, but that still doesn't work... I don't know > > > what to do now, > > > should I give up on myfaces or what? It seems like such an > > > obvious thing but > > > even using your suggestion, the 'car' I get is the one > > > originally occupying > > > that row, not the one thats there after the sort. Any more > > > suggestions? Has > > > anybody actually done this and have it work? > > > -- > > > View this message in context: > > > > > > http://www.nabble.com/Selecting-Row-on-sortable-Datatable-tf1905482.html#a5248448 > > > Sent from the MyFaces - Users forum at Nabble.com. > > > > > > > > > > > > > > > > > > ______________________________________________________________________ > > > How low will we go? Check out Yahoo! Messenger's low PC-to-Phone call > > > rates. > > > >

