Hi, I was wondering if anyone know when MM is going to fix all the issues related to CFC scopes. I was hoping for the CFMX updater, but it hasn't solve anything on those issues.
It makes CFC development very weird, you need to use many workarounds, especially when includes are used for methods definition. Issues : - CFCs used in persistent scope (session, application...) loose the page context and cannot access other persistent scopes variables. WORKAROUND : http://webforums.macromedia.com/coldfusion/messageview.cfm?catid=8&threadid= 386634 - The "variable." scope is not private. WORKAROUND : use the un-named scope (http://cfguru.daemon.com.au/archives/000067.html) - methods defined in an included file loose the argument scope, WORKAROUND : put the 'argument' scope in 'request' or 'this' scope to pass it to the included method - methods defined in an included file cannot call "private" or "package" methods of the same CFC, WORKAROUND : use only "public" or "remote" access security... :( Any other problems related to CFC scopes to your mind or better workarounds? Benoit Hediard http://www.benorama.com ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

