This is a very cool Add-on. How would I go about it, if I have a complex value in my bean?
class Person {
String name;
Address address;
}
I managed to get the Address displayed in the grid by using a Component column. However, is there a way to deal with complex values in the form?
The FieldProvider seems to only be able to supply a single value, but Address has a few fields.
I could, of course, define a PersonDto that has a flat list of fields. That would be the workaround, bu I wonder whether it could be done with an entity like above?
I have now worked extensively with this Add-on and am very impressed by the code quality. Very well designed!
As far as working with complex values in forms is concerned, I haven’t yet found a straightforward solution. But it is possible to define a custom “two component” layout, then get a hold of the “second component” in that layout (which is the form) and manipulate it manually.