title: JavaFX8 - FXML How to call method with parameters in onAction-tag?
body: <p>How is it possible to call a method with parameters out of FXML?</p>
  
  <p>In Java I use this code:</p>
  
  <pre><code>textfield.setOnAction(event -&gt; {
      endEdit(false);
  });
  </code></pre>
  
  <p>In FXML I know I can call a method like this:</p>
  
  <pre><code>&lt;TextField onAction="#endEdit"&gt;
  </code></pre>
  
  <p>So how can I call the method <code>endEdit(Boolean)</code> in FXML with the parameter <code>false</code>?</p>