Hi,
I'm getting a real nasty error and not sure how to fix it.
This is the code:
<cfloop collection="#arguments.stArg#" item="i">
<cfset descr = arguments.stArg[i].descr> <!--- gives You have
attempted to dereference a scalar variable of type class
java.lang.String as a structure with members. --->
but
<cfoutput>#arguments.stArg[i].descr#</cfoutput> isOK
</cfloop>
The struct is created with structNew () and I can dump it and
everything looks fine, but when I'm trying to access it I'm getting
the error.
What gives?
Server CF 8.01.
Any help would be greatly appreciated!
Thanks in advance.
Victor
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327980
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4