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.
-
What’s wrong? How can I use nested property field on form to display some information.
-
It’s possible to modify ExchangeRate nested properties?