edvin
02/14/2017, 3:33 PMprintln(fxmlLoader!!.namespace)
inside init
to check what was found by the loader.carlw
02/14/2017, 3:35 PMcarlw
02/14/2017, 3:35 PMcarlw
02/14/2017, 3:36 PMedvin
02/14/2017, 3:37 PMby fxml()
.carlw
02/14/2017, 3:38 PMedvin
02/14/2017, 3:38 PMedvin
02/14/2017, 3:38 PMedvin
02/14/2017, 3:39 PMedvin
02/14/2017, 3:39 PMedvin
02/14/2017, 3:45 PMsearch
function in the main controller, but adding it there failed as well. Never used action references like this, need to investigate.edvin
02/14/2017, 3:46 PMedvin
02/14/2017, 3:47 PMsearch
function. Maybe my approach will not work after all then.edvin
02/14/2017, 3:47 PMedvin
02/14/2017, 3:53 PMedvin
02/14/2017, 3:54 PMfun search() {}
to the NestedController
(placeholder) class, and the test passed.edvin
02/14/2017, 3:57 PMControllerAccessor
wasn't final.edvin
02/14/2017, 3:59 PMroot
element in their init
block, but when I create the controller in the controllerFactory
callback, the node isn't even constructed yet. (Because the XML parser is still processing the attributes of the fxml element that represents the root object at this time).edvin
02/14/2017, 4:01 PMinit
block of FXML loaded views and instead ask people to use onDock
or implement Initializable
.edvin
02/14/2017, 4:01 PMedvin
02/14/2017, 4:02 PMedvin
02/14/2017, 4:02 PMinit
anways.carlw
02/14/2017, 4:08 PMRuckus
02/14/2017, 5:43 PMcarlw
02/14/2017, 5:54 PMedvin
02/14/2017, 6:54 PMincuilde
builder doesn't seem to need anything special. I've thought about this some more, and since we don't break any existing functionality, I think we can impose certain restrictions on loading sub-controllers.edvin
02/14/2017, 6:55 PMcarlw
02/14/2017, 6:56 PMedvin
02/14/2017, 6:57 PMedvin
02/14/2017, 7:15 PMby fxml()
delegate will try to retrieve the root node, which isn't even available at this time. Chicken/Egg/Catch22 on steriods..