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.
Please click here to read the Adobe WikiDoc for CFClient

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

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

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

cfclient Attribute Reference

Compatibility

ColdFusion:

Version 11+ https://wikidocs.adobe.com/wiki/pages/viewpage.action?pageId=138577945

Links more information about cfclient

Examples sample code using the cfclient tag


Basic Example

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