RT-25559 Allow event handlers to come from the namespace

Milan Kubec milan.kubec at oracle.com
Thu Jan 24 00:24:34 PST 2013


Hello,
mentioned issue suggests to search also FXMLLoader namespace for event
handlers. That's good idea but the open question is how to prefix the
name of the event handler - either with # as event handler method or
with $ as reference to Namespace, both are correct in some sense.

The fxml code would look like this (no controller is defined):

<?import javafx.fxml.Widget?>

<Widget onNameChange="#manualAction"/>

or

<Widget onNameChange="$manualAction"/>

For reference: http://javafx-jira.kenai.com/browse/RT-25559

Thanks

  Milan



More information about the openjfx-dev mailing list