title: JavaFx: Bidirectional Binding, selected value in TableView
body: <p>I need some help, im trying to bind properties of an object in my model with some labels and textfields.</p>
  
  <pre><code>label1.textProperty().bind(myModel.getSelectedObject().getNameProperty());
  </code></pre>
  
  <p>in this case <code>getSelectedObject()</code> is the selected Object in a TableView. Somehow this doesn't work as expected. When the model's value changes, the label doesn't change.</p>
  
  <p>I mangaged to fix this issue with the <code>Bindings</code> help class:</p>
  
  <pre><code>label1.textProperty().bind(Bindings.select(myModel.getSelectedObject(), "name"));
  </code></pre>
  
  <p>Only with the <code>Bindings</code> help class the label's text gets binded correctly to the name-property of the object.</p>
  
  <p>now im trying to get the same result with a bidirectional binding. Anyone any ideas?</p>
  
  <p>If i bind it like this, it has no effect (same as first code-snipped)</p>
  
  <pre><code>textField.textProperty().bindBidirectional(myModel.getSelectedObject().getNameProperty());
  </code></pre>