Hmm, still working through the errors as I find them. It looks like Railo also handles properties in script differently than ACF as well.
The following property works in ACF, but in Railo, the metadata is parsed wrong.
property name=‘myService’ inject;
The metadata in Railo shows a key called “name” with the value “inject” and a key called “type” with a value of “any”. The string “myService” doesn’t even make it into the metadata, so I can’t even devise a work around for now since Wirebox has no way of getting the real value of the “name” attribute.
Of course, if I change it to the following it works fine.
property name=‘myService’ inject=‘myService’;
Unless anyone here knows of a good reason for Railo to work this way or has found a workaround for their ColdBox app, I’ll take it up over on the Railo list and see if there’s a bug for it.
ColdBox Platform Evangelist
Ortus Solutions, Corp