Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 5794

Follow-up to previous question regarding CFC functions

$
0
0

Hello, all,

 

Earlier, I had asked a question about methods not being found in components.  haxtbh pointed out something that I had skipped over (I was in a hurry) in the documentation - that 'private' methods (even within the same CFC) cannot be referred via the "this" scope.  I changed all of my methods to be called via mapping (ie, "components.componentName().methodName(args)") and most of them work!  However, I've got a few that aren't being found, even with using the mapping.  I really do not want these methods to be pushed into "public" access; I would much prefer that functions called from within the same CFC be private.  Any suggestions on what could be causing these to not be found?

 

V/r,

 

^_^


Viewing all articles
Browse latest Browse all 5794

Trending Articles



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