Adam Cameron
component {
static {
final static.myStaticVar = "SET"
}
}
I Inferred it would be this:
<cfcomponent>
<cfstatic>
<cfset final static.myStaticVar = "SET">
</cfstatic>
</cfcomponent>
And whilst that almost works in Lucee, CF chokes with: Unknown tag: cfstatic.
Lucee fails on the final
modifier, I will raise this with them separately.Gareth
05/09/2022, 1:16 AMAdam Cameron
is this a CF tag as well ?That's... erm... kinda what I'm asking...
dajester2015
08/09/2022, 6:43 PM<cfstatic>
<cfset final myStaticVar = "SET">
</cfstatic>