Question

I need help converting this ColdFusion Script to ColdFusion Tag.

public any function default(required rc) {
    // rc.varName = 'whatever';
}
Was it helpful?

Solution

<cffunction name="default" access="public" returntype="any">
    <cfargument name="rc" required="true">
    <cfset arguments.rc.varname = "whatever">
</cffunction>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top