JPAContainer - nested properties

I have entity ExchangeRate {date, currencyFrom, rate} . Entity currencyFrom has properties code and Name. I add it to container addNestedContainerProperty(“currencyFrom.code”);
it works without problem and code is displayed in vaadin table.

Now I create BeanValidationForm and add this field to it. It crash because BeanValidationValidator it try to find getter for currencyFrom.code and looks for method getCurrencyFrom.code inside ExchangeRate.

  1. What’s wrong? How can I use nested property field on form to display some information.

  2. It’s possible to modify ExchangeRate nested properties?

Duplicate post, answered in
http://vaadin.com/forum/-/message_boards/view_message/483013
.