Could kick myself,  thought I had tried that.

Thanks Dave.

-----Original Message-----
From: Dave Watts [mailto:[email protected]] 
Sent: 06 March 2013 23:18
To: cf-talk
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

If the structure is imageMetaData, and it has a key called exif, you could
refer to it either of these ways:

imageMetaData.exif
imageMetaData["exif"]

If the exif key is also a structure, you could refer to it either of these
ways:

imageMetaData.exif["Focal Length"]
imageMetaData["exif"]["Focal Length"]

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule,
and provides the highest caliber vendor-authorized instruction at our
training centers, online, or onsite.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:354870
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to