RT-25559 Allow event handlers to come from the namespace
Tom Schindl
tom.schindl at bestsolution.at
Thu Jan 24 00:32:44 PST 2013
Hi,
# is not good because it means for tools to look at the attached
controller so you'll overload the meaning of # and tools can't e.g.
shown an error when there's not such method on the controller.
Tom
Am 24.01.13 09:24, schrieb Milan Kubec:
> 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
>
--
B e s t S o l u t i o n . a t EDV Systemhaus GmbH
------------------------------------------------------------------------
tom schindl geschäftsführer/CEO
------------------------------------------------------------------------
eduard-bodem-gasse 5-7/1 A-6020 innsbruck fax ++43 512 935833
http://www.BestSolution.at phone ++43 512 935834
More information about the openjfx-dev
mailing list