Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Using FXMLLoaderFactory with non-file input ?
Using FXMLLoaderFactory with non-file input ? [message #1449511] Tue, 21 October 2014 13:18 Go to next message
Thomas Elskens is currently offline Thomas ElskensFriend
Messages: 159
Registered: September 2014
Location: Brussels - Belgium
Senior Member
Hello,

I was wondering if I could use the FXMLLoaderFactory with non-file input ? In standard JavaFX, we can also use an inputstream (loader.getResourceasStream()), which offers more flexibility than a mere path to a file. I've been going through javadocs of the org.eclipse.fx.core.fxml package, but I don't see how this could be done...

It might seem a bit strange a question but I've a use case for this : a webservice returning highly customised forms (in HTML for the time being, but I could very easily return FXML with some XSLT). I could then load and unload dynamically those forms on a stackpane.

Thomas
Re: Using FXMLLoaderFactory with non-file input ? [message #1449629 is a reply to message #1449511] Tue, 21 October 2014 16:31 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
File a bugzilla and we can try to add such a method.

Tom

On 21.10.14 15:19, Thomas Elskens wrote:
> Hello,
>
> I was wondering if I could use the FXMLLoaderFactory with non-file input
> ? In standard JavaFX, we can also use an inputstream
> (loader.getResourceasStream()), which offers more flexibility than a
> mere path to a file. I've been going through javadocs of the
> org.eclipse.fx.core.fxml package, but I don't see how this could be done...
> It might seem a bit strange a question but I've a use case for this : a
> webservice returning highly customised forms (in HTML for the time
> being, but I could very easily return FXML with some XSLT). I could then
> load and unload dynamically those forms on a stackpane.
> Thomas
Re: Using FXMLLoaderFactory with non-file input ? [message #1450304 is a reply to message #1449629] Wed, 22 October 2014 09:55 Go to previous message
Thomas Elskens is currently offline Thomas ElskensFriend
Messages: 159
Registered: September 2014
Location: Brussels - Belgium
Senior Member
Done: https://bugs.eclipse.org/bugs/show_bug.cgi?id=448220
Previous Topic:CSS Editor failure on Luna JEE x64
Next Topic:Some equivalent for IWorkbenchOperationSupport ?
Goto Forum:
  


Current Time: Fri Mar 29 14:30:52 GMT 2024

Powered by FUDForum. Page generated in 0.03376 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top