myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Spiegl" <thomas.spi...@gmail.com>
Subject Re: preserveDataModel does not make selected row available
Date Sat, 29 Jul 2006 01:32:37 GMT
That's a question for the user list, not dev.

Tip: Use the updateActionListener to set the actual rowData in your backingBean.

Thomas

On 7/28/06, Gregory D Dennis <gdennis@mit.edu> wrote:
> Can anyone explain why setting the preserveDataModel attribute to true in a
> dataTable does not make the selected row (via getRowIndex or getRowData)
> available on the subsequent request? That seems to be what one would logically
> expect. Currently, preserving the selected row requires saving the state of the
> data model's wrapped data. It would be nice if using t:saveState on the wrapped
> data and setting the preserveDataModel attribute to true had the same effect.
>


-- 
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Mime
View raw message