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

FXMLLoader - controller fields injection with proxies

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      A DESCRIPTION OF THE PROBLEM :
      Currently FXMLLoader injects fields in the controller using reflection. In this way you can't use a controller proxy because the @FXML annotated fields aren't directly in the proxy and they are only in the target object.
      A way to solve this issue is by using setter methods during the FXMLLoader fields injection like in PropertyValueFactory. To solve this issue without modifying the JavaFX library you can only rewrite the entire FXMLLoader.
      I would like to help you implementing this feature, so please contact me if you decide to work on it.



        Attachments

          Issue Links

            Activity

              People

              Assignee:
              aghaisas Ajit Ghaisas
              Reporter:
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: