Quantcast
Channel: Adobe Community : Discussion List - ColdFusion
Viewing all articles
Browse latest Browse all 6243

cfargument in script-only components

$
0
0

When writing a tag-based function, I can say <cfargument name="componentArray" type="component[]" required="true">.

 

How do I do the same thing in script?

 

public void function someFunction(required component[] componentArray) {} gives me a syntax error in CFBuilder, so I expect that won't work.


Viewing all articles
Browse latest Browse all 6243

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>