This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 111910 - Variable binding does not work when the preview is enabled
Summary: Variable binding does not work when the preview is enabled
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Andrey Yamkovoy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-03 15:05 UTC by Alexandr Scherbatiy
Modified: 2007-09-27 11:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2007-08-03 15:05:49 UTC
build: M0
NB: 6.0

Steps to reproduce:
     - Copy the following code to the JavaFX editor
  ---------------------------------------------------------
            import javafx.ui.*;
            var clickNum = 0;
            Frame {
              width: 200
              height: 200
              content : FlowPanel {
                       content: [ Label {  text:  bind "Number of clicks:
{clickNum}!" },
                                Button { text: "Press Me"
                                        action: operation() { clickNum++; }
                                }
                            ]
                }
              visible: true
            }
    - Enable the preview mode
      A frame with a label and "Press Me" button appears in the preview
          panel
    - Press the "Press Me" button
      The label does not show a number of clicks
  ---------------------------------------------------------
Comment 1 Alexei Mokeev 2007-08-29 11:43:24 UTC
Evaluation is necessary
Comment 2 Alexei Mokeev 2007-08-30 08:10:21 UTC
Fixed for Beta1 milestone.
Comment 3 Alexandr Scherbatiy 2007-09-27 11:29:57 UTC
Verified in Netbeans 6.0 Beta1 with JavaFX plugin version 1.0.2