cfclient

Part of the CF11 mobile features for client side (JS) development. Enables output of CFcode to JS. Must read the wikidoc for full understanding of this new cf tag.

  <cfclient> ...output... </cfclient>

 cfclient(); ...output... /cfclient>

This tag requires Adobe ColdFusion 11 and up. Not supported on Lucee, OpenBD, etc.

Links more information about cfclient

Examples sample code using the cfclient tag

Very basic example. Please read the wikidoc entry at Adobe for futher usage scenarios.

<cfclient>
 <cfset myvar = “Hello World”>
 <cfoutput>#myvar#</cfoutput>
</cfclient>

Fork me on GitHub