Hi,
If I do
<cfset VARIABLES.["#myObjectName#"]=CreateObject
("component","myComponent")>
<cfset VARIABLES["#myObjectName#"].doFunc()>
and
<cfcomponent name="myComponent" autowire="true">
<cfproperty name="oSession" type="coldbox:plugin:sessionstorage"
scope="variables">
<cffunction name="doFunc">
<cfdump var="#variables.oSession#">
<cfabort>
</cffunction>
I get a Coldbox error "oSession is not found in Variables"
But if I do <cfproperty name="oSession"
type="coldbox:plugin:sessionstorage" scope="variables"> in the caling
cfc the dump of oSession shows the object, no error message
So I can't use this <cfproperty> in methods that get called from a
component but I can use it in the calling component.
Is this a bug in Coldbox or am I missing something?
I use cb 2.6.3, Coldfusion 8.0 on Win XP SP3
Marc