<cfobject name="someVarTest" component="wherestom_working.dirPackage.standards_var_example">

<cfinvoke
 component="#someVarTest#"
 method="more">
</cfinvoke>
...
and no matter what I do with variables.nonPublicVar it just doesn't seem to be defined or available outside the method where it's created. I get an error saying "nonPublicVar is not defined in Variables" every time I try to use it.


You define Variables.nonPublicVar in the function "example", so you need to call that function before you call "more". Or you can define Variables.nonPublicVar when the component instantiates by placing it in the pseudo-constructor area, which is my preference.

--

    Ben Curtis
    WebSciences International
    http://www.websciences.org/
    v: 310 478 6648
    f: 310 235 2067






----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email.


CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to