FXML expression binding
Philipp Dörfler
phdoerfler at gmail.com
Mon May 6 07:36:12 PDT 2013
Good to know, that a negation is working!
I've tried some more and found that the following works, too:
text="${'this is some ' + textField.text}"
Note the ' instead of ".
What language is this? Any documentation on which expressions are supported?
Cheers,
~ Philipp
Am 06.05.2013 um 11:49 schrieb Werner Lehmann <lehmann at media-interactive.de>:
> Me too. I always wonder what exactly is a simple expression. For example, this one works:
>
> visible="${!label.text.empty}"
>
> Must be simple then...
>
> Werner
>
> On 03.05.2013 12:48, Philipp Dörfler wrote:
>> Hi,
>>
>> http://docs.oracle.com/javafx/2/api/javafx/fxml/doc-files/introduction_to_fxml.html
>>
>> says:
>>> Only simple expressions that resolve to property values or page
>>> variables are currently supported. Support for more complex
>>> expressions involving boolean or other operators may be added in
>>> the future.
>>>
>> I'd love to see this "may" turn into "will". How are the chances for
>> this to happen?
>>
>> ~ Philipp
>
More information about the openjfx-dev
mailing list