I think your problem is here:
<cfset xfa.grantorGoalObj.addSearch = "grantorGoalObj.addSearch" />

You're turning xfa.grantorGoalObj into a struct by adding the .addSearch
child element.  The xfa element (grantorGoalObj in this case) should be a
simple key with a value of "grantorGoalObj.addSearch", not a struct.
Because you're implicitly creating a struct in the
parsed\admin.adminmenu.cfm template reference, that's causing CF to choke
when it hits that item, because it's looking for a simple value.  Try
removing the .addSearch child element from the cfset and see if that
works...

Cheers,
REM O-

-----Original Message-----
From: Bouton Jones [mailto:[email protected]] 
Sent: Monday, July 11, 2011 3:23 PM
To: fusebox
Subject: Re: Error in Fusebox: "Complex object types cannot be converted to
simple values"


>Quick answer is, dump the vars on that line and see what's really in 
>them--it might not be what you think it is...

Thank you.

By using three CFDUMP tags I see that xfa.grantorGoalObj is a structure and
that the other existing fuses are simple values.

Any idea why the existing values are simple but the new value is a
structure?  Is there some requirement in fusebox 4 that I'm leaving out?

I have read Nelson and Gigard's Fusebox book and Peter and Papovich's
Fusebox book but they were about earlier versions. 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/fusebox/message.cfm/messageid:6974
Subscription: http://www.houseoffusion.com/groups/fusebox/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/fusebox/unsubscribe.cfm

Reply via email to