When I create an IndexedContainer, I used addContainerProperty method to add properties to IndexedContainer.
Such as:
IndexedContainer container = new IndexedContainer();
container.addContainerProperty("abc", long, null);
but IndexedContainer could not setValue for my “abc” property id because I added property with basic type (long - not java.lang.Long). May be, this is an issue of IndexedContainer ??? :bashful:
So, I think vaadin should be add a function to check the primitive type and cast it to java.lang types if it’s a primitive type.
Such as long to java.lang.Long, int to java.lang.Integer, etc… Because Java has just have 8 primitive types: long, int, double, byte, char, float, short, boolean. So that, programmer will be free.