What version of CF are you on? getMetaData() is expensive for CF8 and below, but much, much faster on CF9 and up.
No matter though, this will work:
#wirebox.getBinder().getMapping(“user”).getObjectMetaData().name#
Just replace “user” with the name of the mapping you want.
Thanks!
~Brad
ColdBox Platform Evangelist
Ortus Solutions, Corp
E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com