I am trying to set an array to a struct and seem to be having a blonde
moment on this one.


<cfloop from="1" to="#ArrayLen(NodeArray)#" index="Count">
<cfset tempStruct = StructNew() />
<!--- Returns Struct of Attributes from node --->
<cfset tempStruct = getAttributes(NodeArray[Count]) />
<!--- Returns an Array of parameters for node --->
<cfset params = getParameters(NodeArray[Count]) />
<cfif ArrayLen(params)>
 <!--- This is the line that fails --->
 <cfset ArrayAppend(tempStruct["parameters"],params) />
 <!--- <cfset tempStruct["parameters"] = params --->
</cfif>
<cfset ArrayAppend(methods, tempStruct)>
</cfloop>
Anyone have any ideas, why my brain just can't figure this out?

-- 

Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  8676 4223
Mobile: 0404 998 273


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 by AdobeĀ®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277941
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to