defines a static constructor within components

This tag must have a body.

This tag is also supported within <cfscript>

<cfstatic><!--- body ---></cfstatic>

This tag does not use any attributes.


    <!--- inside the static constructor you can define static variables, this code is executed when the "class" instance is loaded --->
        <cfset susi=1> <!--- written to the static scope (defining the scope is not necessary) --->
        <cfset static.sorglos=2> <!--- again written to the static scope --->

See also