Proposal: Avoiding nested views with a merge tag

Werner Lehmann lehmann at
Mon Dec 17 10:19:00 PST 2012

Well, I can't be certain but from what I understand he wants to do this:


   <fx:root type="vbox">

And now we would have a vbox with a nested vbox aka the "nested view". 
With an include this does not happen because we don't have a root type 
in the included fragment.

However, I am unsure whether the fragment can have multiple top level 
nodes. I think that would be invalid xml, e.g.

<?import javafx.scene.control.*?>

Maybe that was your point all along ;-)


On 17.12.2012 19:11, Tom Schindl wrote:
> I know fx:include but i don't think that's the solution in this case!
> Tom
> Von meinem iPhone gesendet
> Am 17.12.2012 um 19:06 schrieb Werner Lehmann<lehmann at>:
>> That's what
>> <fx:include source="filename"/>
>> is for...
>> On 17.12.2012 18:09, Tom Schindl wrote:
>>> That's what i thought as well, the problem i think is that fx:root only works for root files but not in includes with subfxmls

More information about the openjfx-dev mailing list