I found the problem is that the list must be updated so that the Bean is the same as the selected list.
public List<Cargo> getCargos() {
cargos = seamDatabase.createCriteria(Cargo.class).list();
return cargos;
}Previous
public List<Cargo> getCargos() {
if (cargos == null)
cargos = seamDatabase.createCriteria(Cargo.class).list();
return cargos;
}
sorry, it was to be a reply of a topic my previous