Review request for RT-19228

Greg Brown greg.x.brown at oracle.com
Fri Mar 30 14:33:02 PDT 2012


> Just as a reference, looks like the EL3 spec has something for this: 
> http://java.net/projects/el-spec/pages/StaticField
> 
> So the syntax would be:
> 
> <TableView columnResizePolicy="#{T{TableView}.CONSTRAINED_RESIZE_POLICY}"/>

Cool - I'll take a look at that.

> This spec also mentions Enums, which raises a good point: it would be good if the fx:constant (or whatever option is used) handles these as well. 

You don't actually need to use fx:constant for enums - you can either specify the enum value directly in the attribute value, or you can use fx:value:

<MyBean myEnumValue="FOO"/>

or:

<MyEnum fx:value="FOO"/>




More information about the openjfx-dev mailing list