Hi,
following problem:
I have a Bean which has some properties. For example, like this (scalaish’ pseudocode)
class A (id : String, property : String)
I can happily use the BeanItemContainer for this kind of bean and let the vaadin databinding do the rest.
But if I have a bean with a set of items like this:
class B(id:String, properties : Seq[String]
)
how do I model this ‘the vaadin’ way? Should I populate my beans with beanitemcontainers like this:
class C(id: String, properties : BeanItemContainer[String]
)
or is it adviseable to stay ‘clean’ of Container’s in the Pojo’s I’m passing around and use Map’s and List’s in the pojo’s and create custom fields with the help of table/formfactories?
best regards
robert