Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8096107

FXML binding on custom property in javafx8 not working, if that property created thrue constructor with no arguments

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8u20
    • None
    • javafx
    • None
    • javafx 8.0.0-b132

      in javafx8 if I create property:
      dateProperty = new SimpleStringProperty(this, "date");

      and bind this property in fxml as:
      <TextField text="${mycomp.date}"/>
      this works well.

      But if I use constructor with short form:
      dateProperty = new SimpleStringProperty();

      then binding in javafx8 not worked (but it works in javafx2.2)

            msladecek Martin Sládeček
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: