Domanda

I need help converting this ColdFusion Script to ColdFusion Tag.

public any function default(required rc) {
    // rc.varName = 'whatever';
}
È stato utile?

Soluzione

<cffunction name="default" access="public" returntype="any">
    <cfargument name="rc" required="true">
    <cfset arguments.rc.varname = "whatever">
</cffunction>
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top