title: Binding nested object properties to TableView in JavaFx
body: <p>I have the next class</p>
  
  <pre><code>public class ProductStockDto extends 
  
      private Long id;
      private Long amount;
      private ProductDto product;
      private StockDto stock;
  
      //getters and setters...
  }
  </code></pre>
  
  <p>In JavaFx I have my table and I want to bind the product.name property to the column, something like this.</p>
  
  <pre><code>ObservableList&lt;ProductStockDto&gt; data = FXCollections.observableArrayList();
  data.addAll(products);
  nameColumn.setCellValueFactory(new PropertyValueFactory("product.name"));
  productTable.setItems(data);
  </code></pre>
  
  <p>But when I do that, the rows on the TableView appears on blank.</p>
  
  <p>Somebody can help me with this? I want to bind nested object properties, on Java Swing was something like that ${product.name}</p>
  
  <p>Thanks.</p>