Tally List : mailing list management, archiving, and analysis
click for archive home
 
Archive of:
Spectra-Talk
Cold Fusion Spectra - Technical
 
home
24 hour view
quick stats
weekly updates
 
all tallylists
corporate solutions
archive your favorite
help / feedback


Search the Tallylist search by keyword:

About Spectra :
product's home
product's list home
 
  Archived TallyList / Spectra-Talk: 
Subject: Re: Spectra Development?
Richard Ragan (49p/+0r)     Posted: Thursday 04 Jan 2001
This post: 36 views, +0 rating

As I recall, the user profile structure is a structure of structures, so as soon as you hit one of items that is a structure the cfoutput will fail. Look at the cfa_dump to see which parts are structures of structures.

Cheers, Rich

----- Original Message ----- From: Pankaj Singh <PSingh@dci.com> To: Spectra-Talk <spectra-talk@houseoffusion.com> Sent: Thursday, January 04, 2001 1:47 PM Subject: RE: Spectra Development?

> Hi there, > > > I am trying to see the values in the structure after using > > <cfa_userProfileGet > dataSource = "" > userName = "" > r_stUserProfile = "stUser" > > > > If I use > <cfoutput> > <cfa_dump var = "#stUser#"> > </cfoutput> I can see all the values but, > if I use > <cfoutput> > <cfloop collection="#stUser#" ITEM="key"> > <p>#key# -- #stUser[key]# > </cfloop> > </cfoutput> > > I get the following error > > Error Occurred While Processing Request > Error Diagnostic Information > Expression result cannot be converted to a string > > Expressions used inside tags like CFOUTPUT, CFQUERY, CFMAIL, etc. must > evaluate to a value that can be converted to a string for output or dynamic > text accumulation purposes. Complex objects, such as queries, arrays, and > COM/DCOM objects, cannot be represented as strings. > > The error occurred while processing an element with a general identifier of > (#stUser[key]#), occupying document position > > > Any suggestions as to where I am going wrong... > > > Pankaj. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm ------------------------------------------------------------------------------ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a message to spectra-talk-request@houseoffusion.com with 'unsubscribe' in the body.


Similar Subject Line Posts (+/- two weeks of this post)
RE: Spectra Development?  04 Jan 2001   (94 v/ +0 r)
Re: Spectra Development?  04 Jan 2001 (this post)   (36 v/ +0 r)
RE: Spectra Development?  04 Jan 2001   (40 v/ +0 r)
RE: Spectra Development?  04 Jan 2001   (34 v/ +0 r)
Spectra Development?  04 Jan 2001   (37 v/ +0 r)
 

Send a reply to the Spectra-Talk list!
click to send a reply! NOTE: Many lists will reject your post unless you have already registered with them. Also - don't forget the right account to send from (for those with multiple emails!)

Feedback: If this post was exceptionally helpful, please help by giving this post a positive review.

 

TallyList : copyright Ububik - 2000