RE: [coldbox:16920] Re: Coldbox 3.5.2 - models / services not found

Sorry, I was typing from memory in both instances

Try dumping this:
getController().getWirebox().getBinder().getMapping(‘PartnerService’).getObjectMetadata()

Also, I typoed the property, it should actually be:
property name=“PartnerService” inject=“PartnerService”;

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

No problem Brad.

When I dump that out I get:

*Error Type: *Binder.MappingNotFoundException : [N/A]
*Error Messages:* Mapping PartnerService has not been registered
Registered mappings are:
coldbox.system.plugins.JVMUtils,interceptor-Autowire,coldbox.system.validation.ValidationManager,coldbox.system.Interceptor,interceptor-SES,coldbox.system.plugins.SessionStorage,coldbox.system.plugins.Renderer,WireBoxValidationManagerPath,WireBoxValidationManager,coldbox.system.Plugin,coldbox.system.plugins.ORMService,coldbox.system.EventHandler,coldbox.system.plugins.Logger,coldbox.system.plugins.ResourceBundle,handlers.Main,handlers.General,coldbox.system.plugins.HTMLHelper

I then updated the property to: property name="PartnerService"
inject="PartnerService"; and was able to dump it out.

So is this a major difference between DI in Railo vs DI in ACF? Up until
now I've been using ACF and just saying property name="PartnerService"
inject;

Thanks for your help.

Nolan