[REVIEW] Make controller instantiation customizable
Greg Brown
greg.x.brown at oracle.com
Wed Dec 14 07:15:11 PST 2011
>>> But I guess this flag does not help with e.g. the include directive
>>> which uses the current class path, right?
>>
>> I'm not sure what you mean by that.
>>
>
> Well if have an project structure like this;
>
> src
> + my.package.test
> HeaderPart.fxml
> + my.package.test.ui
> ApplicationView.fxml
>
> and where ApplicationView.fxml looks like this:
>
> <BorderPane>
> <top>
> <fx:include source="/my/package/test/HeaderPart.fxml" />
> </top>
> <center>
> <!-- -->
> </center>
> </BorderPane>
>
> If you now want to render a preview of the document the FXMLLoader
> locates the file by walking the Classpath so to render the preview I'll
> have to make up the complete classpath (well including even libraries
> defined).
Includes are still resolved when "staticLoad" is set to true.
More information about the openjfx-dev
mailing list