Nested properties using form binder addon ?

Hi,
I am using the latest version of form binder addon to bind the values to a form. Is it possible to bind nested properties like passenger.firstName to a form with form binder.


My sample POJO files

//Booking.java
private Long bookingId;
public Passenger passenger
--getteres and setters--


//Passenger.java
private Long passengerId;
private String firstName;
--getteres and setters--

Now I need to display the firstName from Booking.java (passenger.firstName) in the form. How could it be done?

[Note: I had binded the bookingId to a textField in form using TextField bookingIdField = new TextFiedl() ]

Kindly provide a valuable suggestion.
Thank You.

Hi,

You should check this thread. It discusses exactly what you are looking for:
https://vaadin.com/forum/-/message_boards/view_message/1020483

cheers,
matti

Thank You… But dats not the actual solution.
Anyway I found it.

hi!

can you tell us your solution please?

Hi !

Can anyone elaborate on this issue ?

How can we display a nested property ?

Thank you