Any possible way you can show me a sample page with a dump of an object missing the keys?
======================================================================= Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Email : [EMAIL PROTECTED] WWW : www.camdenfamily.com/morpheus Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda -----Original Message----- From: [LWD://] Thomas Lendzion [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10, 2002 9:17 AM To: [EMAIL PROTECTED] Cc: Raymond Camden Subject: Changes in cfa_contentobjectget??? Hi all, it is me again. I have a very important question. In spectra 1.5.1 cfa_contentobjectget returned the whole objectstucture including the substructures for multilingual properties. In 1.5.2 it returns a flat structure without language sub structures. Our applications use a customtag that checks the multilingual properties in all languages the application supports (languages are defined as a contentobject as well). If the property is not defined in one or more languages it makes a contentobjectdata and adds the key (iso_code) to the object. But now I do not retrieve the subkey for the different languages so my customtag fails with the error message: 'You have attempted to dereference a scalar variable of type class java.lang.String as a structure with members.' Any ideas? Thanks for fast help, Thomas Code: <cfa_contentObjectGet dataSource="#request.cfa.objectstore.dsn#" objectID="#attributes.objectID#" r_stObject="stFullObjectData"> <<cfa_contentObjectGetMultiple dataSource="#request.cfa.objectStore.dsn#" typeID="D033B14E-9B57-4F79-A41ED43820E8FD89" r_stObjects="hwsLanguages"> <cfloop list="#attributes.LCheckProp#" index="check"> <cfloop collection="#hwsLanguages#" item="iso"> <cfif not StructKeyExists(stFullObjectData[check], hwsLanguages[iso].iso_code)> <cfparam name="bForceNewInstance" default="1"> <cfa_contentObjectData dataSource="#request.cfa.objectstore.dsn#" objectID="#attributes.objectID#" ISOlanguage="#hwsLanguages[iso].iso_code#" bActivate="Yes"> <cfa_contentObjectProperty name="#check#" value=""> </cfa_contentObjectData> </cfif> </cfloop> </cfloop> ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. ------------------------------------------------------------------------------ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
