This content has been marked as final.
Show 1 reply
-
1. Re: Resulting DataModelSelection incorrect after sorting ric
bitec Jul 21, 2008 10:12 AM (in response to jacob.orshalick)The same problem. When using DataModel and after sorting of table, get the wrong selected object. What is interesting, this one works:
Customer selected = (Customer)context().getExternalContext().getRequestMap().get("selectedCustomer");
but this doesn't:Customer selected = (Customer)dataModel.getRowData();
The last example returns the record with the wrong id. This is another case, when you try to do everything nice and correctly, but have to make everything manually and toughly...
This is common in 3.2.0 and 3.2.1