, 2014 7:15 AM
To: Martin Sladecek
Cc: openjfx-dev@openjdk.java.net
Subject: Re: FXML, Presentation Model & bi-directional binding
The only thing you have to do is to write a controller and put
myTextBox.textProperty().bindBidirectional(dataModel.textProperty()); into the
initialize method. It
The only thing you have to do is to write a controller and put
myTextBox.textProperty().bindBidirectional(dataModel.textProperty()); into
the initialize method. It's way less convenient than it could and should be
but at least that gets you bidirectional binding. For a working example
featuring a c
Related JIRA issue: https://javafx-jira.kenai.com/browse/RT-17646
Uni-directional binding is possible using ${path.to.property} syntax
(see
http://docs.oracle.com/javafx/2/api/javafx/fxml/doc-files/introduction_to_fxml.html#expression_binding)
-Martin
On 01/20/2014 08:42 PM, Richard Bair wro
Sadly, still not possible :-(. Though I still think it's a great way to go!
> On Jan 20, 2014, at 7:45 PM, Christian Schudt wrote:
>
> Hi together,
>
> I just (re-)read Richard's excellent article
> http://fxexperience.com/2011/10/fxml-why-it-rocks-and-the-next-phase/
>
> He talks about "the