> I've found that the conversion process brings everything back as 
> rootObject.Get_ObjectName().Get_Value() which blows up if the
> object is empty throwing an undefined error - However if I try and use 
> isDefined("rootObject.Get_ObjectName") or
> StructKeyExists(rootObject,"Get_ObjectName) - it just doesn't work - If I add 
> in the () at the end - it blows up Coldfusion

Use cftry/cfcatch around your calls to
rootObject.Get_ObjectName().Get_Value() instead of trying to treat the
values within your object as if they were structures, etc.

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

Reply via email to