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

FXML expression binding updates only once

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • fx2.0.2
    • javafx
    • None
    • Win7

      Consider following FXML example that gets started in a trivial application:
      <VBox xmlns:fx="http://javafx.com/fxml" fx:id="root">
        <children>
          <Label text="${root.hover}"/>
        </children>
      </VBox>
      The application opens with a label that says "false". When hovering the VBox, the hover property changes (trackable via ScenicView), but the text doesn't get updated.
      This also applies to various other properties (like "pressed", for example).

      This already came up a year ago but wasn't resolved: RT-15659

            gkbrown Greg Brown (Inactive)
            srheinnecjfx Sebastian Rheinnecker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: