Hello!

I am creating components in shared scopes (f.e. application or session).

How can I now access these components using cfinvoke without the "evil"
evaluate construct?


<cfinvoke component="#Evaluate("application.components.cmp_security")#" 
method="LoadPermissions" returnvariable="a_return">
<cfinvokeargument name="entrykey" value="gt3984g9384bg983b4">
</cfinvoke>

Using the simple way of

<cfset application.components.cmp_security.LoadPermissions('gt ....')>

is not possible because the list of arguments is likely to change.

Best regards,

Peter

-- 
COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
--------------------------------------------------
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualit�tssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post

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

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

Reply via email to