Many thanks, Jeff.

-----Original Message-----
From: Jeff Garza [mailto:[email protected]] 
Sent: 06 March 2013 23:18
To: cf-talk
Subject: RE: Space in a Struct Key


If you are going to use bracket notation, you need to use quotes for struct
keys that are not variables.

#[imageMetaData][exif]["Focal Length"]# - Coldfusion will be looking for a
variable called exif.

Try this instead:
#imageMetaData["exif"]["Focal Length"]# should work.

--
Jeff

-------- Original Message --------
> From: "Jenny Gavin-Wear" <[email protected]>
> Sent: Wednesday, March 06, 2013 4:14 PM
> To: "cf-talk" <[email protected]>
> Subject: RE: Space in a Struct Key
> 
> This fails:-
> <cfoutput>#[imageMetaData][exif]["Focal Length"]#</cfoutput>
> 
> and I am sure I tried every other combination except the right one.
> 
> You can see the structure here:-
> http://gallery.fasttrackonline.co.uk/admin/images/test.cfm
> 
> CF7, if that makes any difference.
> 





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354871
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to