Hi,
I am trying to inject a service model from my module into a widget,
The Module is located in /modules_app/<ModuleName> where i divided my models folder into "orm" and "services"
In my ModuleConfig i added both directories to the binder.
My widget is located in: /modules_app/contentbox_custom/_widgets/
When I inject the service model via property name="<name>" inject="<ServiceName>" contentbox tells me that the injected object cannot be found. I also tried it with <ServiceName>@<ModuleName> before adding the static bindings.
When i am loading an instance of my service in the "renderIt" function everything works, however since the service is a singleton this should not be the way to use the service.
Am I missing something? Are my assumptions of where to place the widgets and my main model right?
Regards
Christian