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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8u20
    • Component/s: javafx
    • Labels:
      None
    • Environment:

      javafx 8.0.0-b132

    • Subcomponent:

      Description

      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)

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported: