This content has been marked as final. Show 1 reply
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