Well, the getModel() method itself isn’t deprecated, but the original bean factory plugin is. You can still use the bean factory plugin for old times sake, but all it is now is a facade to Wirebox.
populateModel still exists in the frameworkSuperType (and therefore, all handlers, plugins, views, etc) and it delegates to the object populator in WireBox.
validateModel still exists in the frameworkSuperType (and therefore, all handlers, plugins, views, etc) and it delegates to the new validation manager in ColdBox.
Both of those methods are supported and safe to use.
If you’re not in a ColdBox-family CFC (ie, your models), you can wire in the object populator like so:
property name=“populator” inject=“wirebox:populator”;
and the validation manager like so:
property name=“validationManager” inject=“id:WireBoxValidationManager”;
Thanks!
~Brad
ColdBox Platform Evangelist
Ortus Solutions, Corp
E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com