Creating a dynamic variable to for storage

2009-04-22 Thread Fawzi Amadu

I have a loop within which I am trying to create a various variable. My code 
(below) is replying an error which I believe is due the my syntax being wrong. 
Please advise on how to construct such variable creation.


Code:

cfset filename#i# = #filename#

Error:

Invalid CFML construct found on line 75 at column 34.

ColdFusion was looking at the following text:
\

TIA 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321838
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Creating a dynamic variable to for storage

2009-04-22 Thread Adrian Lynch

cfset VARIABLES[filename#i#] = filename

Give that a go.

Adrian

 -Original Message-
 From: Fawzi Amadu [mailto:abd...@gmail.com]
 Sent: 22 April 2009 19:35
 To: cf-talk
 Subject: Creating a dynamic variable to for storage
 
 
 I have a loop within which I am trying to create a various variable. My
 code (below) is replying an error which I believe is due the my syntax
 being wrong. Please advise on how to construct such variable creation.
 
 
 Code:
 
 cfset filename#i# = #filename#
 
 Error:
 
 Invalid CFML construct found on line 75 at column 34.
 
 ColdFusion was looking at the following text:
 \
 
 TIA


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321839
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Creating a dynamic variable to for storage

2009-04-22 Thread Ben Nadel

Wrap the whole variable name in quotes:

cfset filename#i# = #filename#


-- 
Ben Nadel
Adobe Community Expert
Adobe Certified Advanced ColdFusion Developer
Manager New York ColdFusion User Group
http://www.bennadel.com

Need ColdFusion Help?
http://www.bennadel.com/Ask-Ben


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321840
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cfadmin api scripting

2009-04-22 Thread Raymond Camden

I think the best you may get for API info would be the CFCs
themselves. If you view them in your browser you will see docs.


On Mon, Apr 20, 2009 at 2:00 PM, Maureen Barger m...@cornell.edu wrote:

 Hi - I am looking for info on using the cfadmin api to copy sandbox
 security from instance to instance. For once google is letting me
 down. Can anyone nudge me in the right direction for some docs and/or
 examples? Looking for cfmxe7 - cfmxe7 and cfmxe7 - cfme8. Thanks.

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321841
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Could not instantiate stub objects

2009-04-22 Thread Kevin Cundick

Hi All,

I am having some trouble trying to call a web service that is currently setup 
in the ColdFusion administrator.  I get the following exception each time I 
try...

Error,jrpp-3,04/22/09,13:55:25,nutracorp,Could not instantiate stub 
objects for web service invocation.The rootcause was that: 
java.lang.reflect.InvocationTargetException The specific sequence of files 
included or processed is: D:\xxx\sites\xweb\search_.cfm, line: 40 
coldfusion.xml.rpc.ServiceInfo$ServiceStubInstantiationException: Could not 
instantiate stub objects for web service invocation.

Has anyone seen this before?

It is running ColdFusion 7 on Windows Server 2003 (SP3).
CF is utilizing Java's JDK1.6.0_10.

Upgrading to ColdFusion 8 is not an option for me as I have been turned down 
upon many requests.  So I'm stuck with CF 7.  I know it is not supported to run 
JDK 1.6, but I need many of the features that come with that JDK so falling 
back also isn't an option.  

The weird thing is that this has worked for quite some time and then broke out 
of the blue without any changes being made.

I would appreciate any suggestions on what could be going on.

Thanks,
Kevin


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321842
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Creating a dynamic variable to for storage

2009-04-22 Thread Fawzi Amadu

Thanks, Ben and Adrian that solved my problem.

Wrap the whole variable name in quotes:

cfset filename#i# = #filename#


-- 
Ben Nadel
Adobe Community Expert
Adobe Certified Advanced ColdFusion Developer
Manager New York ColdFusion User Group
http://www.bennadel.com

Need ColdFusion Help?
http://www.bennadel.com/Ask-Ben 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321843
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4