That was it -- Thanks
-----Original Message-----
From: Jeff Garza [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 12:19 PM
To: CF-Talk
Subject: Re: Structure Referencing Problem
I think you might be referencing your structure incorrectly. Try using
brackets [] instead of parenthesis ()...
I got the following to work properly using CF5.0 on Win2000...
<CFSET mylinks = structNew()>
<CFSET foo = StructInsert(mylinks, "Google%2Ecom",
"http%3A%2F%2Fwww%2Egoogle%2Ecom")>
<CFOUTPUT>
<CFLOOP collection="#mylinks#" item="link">
#URLDecode(link)# = #URLDecode(StructFind(mylinks, link))# </CFLOOP>
</CFOUTPUT> <BR><BR> Manual calling of mylinks["Google%2Ecom"] =
<CFOUTPUT>#mylinks["Google%2Ecom"]#</CFOUTPUT>
HTH,
Jeff Garza
----- Original Message -----
From: "Jeff Chastain" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 10:56 AM
Subject: Structure Referencing Problem
I have a structure where the key and value items are URLEncoded strings
- i.e.
Key = Google%2Ecom
Value = http%3A%2F%2Fwww%2Egoogle%2Ecom
I am not being able to reference this value however. If I try to access
structure("Google.com") or structure("Google%2Ecom") - both return the
following error:
Element ITEM is undefined in DGADGETSETTINGS
Any suggestions as to how to get this info out?
Thanks
-- Jeff
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4