RE: [coldbox:17193] Add Mapping To Wirebox Failing

Where is ClientService.cfc located in regards to your web root? Also, I think the models convention is plural. Usually, if you have a CFC in the root of your models folder like so:

/models/myCFC.cfc

You can map it like so:

map(‘test’).to(‘myCFC’);

This is because models is the default scan location that WireBox starts searching in. Alternatively, depending on what mappings you have, you can also specify a full component name like so:

map(‘test’).to(‘nameOfDevBoxSite.models.myCFC’);

Since DevBox creates new sites as a folder in the main web root. As a rule of thumb, you can always test by doing just a regular createObject() call until you find the path that actually matches the location of the CFC.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

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