--
You received this message because you are subscribed to the Google Groups "ColdBox: A ColdFusion Framework" group.
To post to this group, send email to col...@googlegroups.com
To unsubscribe from this group, send email to coldbox-u...@googlegroups.com
For more options, visit this group at http://groups-beta.google.com/group/coldbox
For more information, visit http://www.luismajano.com/projects/coldbox
For Documentation, visit http://ortus.svnrepository.com/coldbox/trac.cgi
I have a need of getPlugin(“JavaLoader”) in an authentication model cfc.
I’ve tried:
<cfproperty name="ColdBox" type="coldbox" scope="variables">
Didn’t work. Tried:
<cfproperty name="JavaLoader" type="coldbox:plugin:Javaloader" scope="instance">
Didn’t work. Tried:
<cfargument name="JavaLoader" type="any" _wireme="coldbox:plugin:Javaloader">
What do I need to do to have the coldbox api available to my whole cfc or even to an individual method?
Tim Heald
On Dec 16, 4:13 pm, Luis Majano <lmaj...@gmail.com> wrote:
> Remember that the tests run outside of your web root, they are ran by
> mxunit. So it needs the correct information to run the tests.
>
> If you are using coldbox 3, make sure your tests have the appMapping
> annotation in the cfcomponent tag
>
> <cfcomponent appMapping="/pathToApp">
>
> Which should have the path from the webserver root to your application, so
> it can create it and test it.
>
> Luis F. Majano
> President
> Ortus Solutions, Corp
>
> ColdBox Platform:http://www.coldbox.org
> Linked In:http://www.linkedin.com/pub/3/731/483
> Blog:http://www.luismajano.com
> IECFUG Manager:http://www.iecfug.com
>
--
On Dec 16, 4:13 pm, Luis Majano <lmaj...@gmail.com> wrote:
> Remember that the tests run outside of your web root, they are ran by
> mxunit. So it needs the correct information to run the tests.
>
> If you are using coldbox 3, make sure your tests have the appMapping
> annotation in the cfcomponent tag
>
> <cfcomponent appMapping="/pathToApp">
>
> Which should have the path from the webserver root to your application, so
> it can create it and test it.
>
> Luis F. Majano
> President
> Ortus Solutions, Corp
>
> ColdBox Platform:http://www.coldbox.org
> Linked In:http://www.linkedin.com/pub/3/731/483
> Blog:http://www.luismajano.com
> IECFUG Manager:http://www.iecfug.com
>
Turns out that even if you’re not going to cache the object, the dependencies are still cached and I was doing something wrong.
After I reset the framework it came right up, without the autowire=true.