View comments | RSS feed

Passing parameters in direct method invocations

ColdFusion provides three methods for passing parameters to CFC methods in direct method invocations:


ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | KnowledgeBase | Bug Reporting

Version 7

Comments


addiv said on Jun 16, 2005 at 4:28 PM :
Missing quote:

argsColl.password = "LauRa123;
ASandstrom said on Jun 30, 2005 at 7:58 AM :
Documentation bug (#60467) has been entered so that the missing quotation mark will be added in the next release of ColdFusion.
PENNY506 said on Dec 27, 2005 at 9:54 PM :
Documentation Says there are 3 ways to pass arguments to CFC methods, but technically there is another one similar to the name=value, but instead of using the '=' equals sign, you use a ':' colon instead, which does the same thing:
i.e.
authorized = securityCFC.getAuth(name:"Almonzo", Password:"LauRa123");

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/coldfusion/7/htmldocs/00001052.htm