Render the selected item in a combobox through the box's CellFactory

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P4
    • 7u6
    • Affects Version/s: 7u6
    • Component/s: javafx
    • Environment:

      Windows XP, JDK7u4, JavaFX 2.2 b10

      Observed behaviour:
      In FX 2.2, a ComboBox's selected item is rendered through its toString() method.

      Expected behaviour:
      The selected item should be rendered through the ComboBox's CellFactory.

      This is a regression from the 2.1 GA release. The attached code illustrates the issue.
      This issue is probably related to RT-21933, where the CellFactory appears not to be used to render the "null"-item.

            Assignee:
            Jonathan Giles
            Reporter:
            Urs Reupke (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: