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.