ComboBox values / BeanIdResolver

I have a ComboBox with a list of countries each being a Country object. I want the ComboBox to display the “name” of the bean rather than the toString(); In some examples in the book, I saw use of setBeanIdProperty() but that no longer exists. Instead, there is a setBeanIdResolver(). I need example code for a bean id resolver that will do what I need. I am using a 6.6.0 nightly build.

SOLVED.

I used:
combo.setItemCaptionPropertyId(“name”);