Try bracket notation. Assume X is the UUID:
cfset server.stObjects[x].subMenuEtc = whatever
===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
Email: [EMAIL PROTECTED]
WWW : www.camdenfamily.com/morpheus
Yahoo IM : morpheus
My ally is the Force, and a powerful ally it is. - Yoda
-Original Message-
From: Robert Polickoski [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 02, 2003 11:03 AM
To: CF-Talk
Subject: Instantiated component reference
Hello all,
I am trying to set a local variable in an instantiated component
from outside the component. It has a reference ID that is
assigned by the server using CreateUUID(). However, when I try to
reference it, I get the below error. Does anybody have any
suggestions?
The string SERVER.stObjects.7FCC2AC7-ABAA-1582-
E7F8A4739E33862B.subMenuVisibility.ulAuthorMenu is not a valid
ColdFusion variable name.
Valid variable names must start with a letter, and can only
contain letter, numbers, and underscores.
Thank you in advance.
Robert J. Polickoski
Senior Programmer, ISRD Inc.
(540) 842-6339
[EMAIL PROTECTED]
AIM - RobertJFP
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm