I am trying to adapt the myfaces-cars example for working with large datasets
to my needs.  What I wish to do is allow the user to edit a single row of
the datatable by clicking an edit button that is in the same row as the data
fields in the table.  

Something like this
http://img.photobucket.com/albums/v294/jammiedodgers/BrianS/AccountsEdit.jpg 

Anyway, what keeps happening is the DataModel (PageableListDataModel) keeps
reseting the rowIndex when I click the edit button.  So the IsRowAvailable
method keeps returning false.  I thought by setting the preserveDataModel to
true would aleviate this but no.  Anyone familar with the myfaces-cars
example here
http://wiki.apache.org/myfaces/WorkingWithLargeTables
http://wiki.apache.org/myfaces/WorkingWithLargeTables 

Please help.

I am thinking this has something to do with the lifecycle but can't figure
it out.  
-- 
View this message in context: 
http://www.nabble.com/MyFaces-Cars-example-for-working-with-large-datasets-tf2160973.html#a5971863
Sent from the MyFaces - Users forum at Nabble.com.

Reply via email to