Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

cfargument in script-only components

New Here ,
Oct 14, 2014 Oct 14, 2014

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.

163
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources