There sometimes is a need to select from properties of type array, List or Map in FXML. While in Java code there are helpers for that in the form of Bindings.valueAt() variants, unfortunately there is no syntax for that in pure FXML.
Hence we like to propose the adoption of the following syntax:
"${property[key]}"
The effect would be the same as if Java code would contain the line "Bindings.valueAt(property, key)", where "key" can by int for List-typed or Array-typed properties, or Object for Map-typed properties.
Having such a syntax would allow application developers to become more productive, as Java Code can be replaced by simple FXML expressions.
We would be really happy if a future release of JavaFX would provide this.
Hence we like to propose the adoption of the following syntax:
"${property[key]}"
The effect would be the same as if Java code would contain the line "Bindings.valueAt(property, key)", where "key" can by int for List-typed or Array-typed properties, or Object for Map-typed properties.
Having such a syntax would allow application developers to become more productive, as Java Code can be replaced by simple FXML expressions.
We would be really happy if a future release of JavaFX would provide this.