Ruckus
10/31/2016, 10:49 PMedvin
10/31/2016, 10:49 PMRuckus
10/31/2016, 10:49 PMedvin
10/31/2016, 10:50 PMRuckus
10/31/2016, 10:51 PMthomasnield
10/31/2016, 10:51 PMedvin
10/31/2016, 10:52 PMfind(CustomerEditor::class, CustomerScope(customer)).openModal()
for example.thomasnield
10/31/2016, 10:52 PMRuckus
10/31/2016, 10:52 PMedvin
10/31/2016, 10:53 PMCustomerController
to interact with a db, you might not want a separate instance of that for each editor. So in your CustomerEditor
you can inject the CustomerController
so that you get a shared/global instance instead: val controller : CustomerController by inject(DefaultScope)
Ruckus
10/31/2016, 10:54 PMthomasnield
10/31/2016, 10:54 PMthomasnield
10/31/2016, 10:54 PMthomasnield
10/31/2016, 10:54 PMedvin
10/31/2016, 10:54 PMthomasnield
10/31/2016, 10:55 PMedvin
10/31/2016, 10:55 PMRuckus
10/31/2016, 10:55 PMedvin
10/31/2016, 10:55 PMthomasnield
10/31/2016, 10:55 PMRuckus
10/31/2016, 10:55 PMthomasnield
10/31/2016, 10:55 PMthomasnield
10/31/2016, 10:55 PMRuckus
10/31/2016, 10:55 PMthomasnield
10/31/2016, 10:56 PMthomasnield
10/31/2016, 10:56 PMthomasnield
10/31/2016, 10:57 PM