[REVIEW] Make controller instantiation customizable
    Greg Brown 
    greg.x.brown at oracle.com
       
    Fri Dec 16 17:10:31 PST 2011
    
    
  
I don't even think it comes down to a ClassLoader issue anymore - as I suggested earlier in the thread, parameterizing your controller factory is probably a reasonably good way to handle it.
On Dec 16, 2011, at 8:04 PM, Daniel Zwolenski wrote:
> Fine by me. 
> 
> One last go at it: I still would really rather a String though for the factory. It solves the classloader issue without further changes needed and in a much more flexible way to the proposed FXMLLoader.setClassLoader idea. It also allows for future change (i.e. use a URL or a groovy script file as the fx:controller variable at some point in the future - in negotiation with the tooling guys, etc).  
    
    
More information about the openjfx-dev
mailing list