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...
-----Original Message----- From: Bouton Jones [mailto:[email protected]] Sent: Monday, July 11, 2011 2:17 PM To: fusebox Subject: Error in Fusebox: "Complex object types cannot be converted to simple values" Hello all. Please excuse my ignorance. I'm a CF developer starting on a new contract. I have had early experience with Fusebox 3 but my new assignment requires Fusebox 5.1. I have tried to google an answer to this problem without success. I'm trying to add a new fuse to a large legacy application. I'm getting the following error "Complex object types cannot be converted to simple values." for this new line of code in the dsp_adminMenu.cfm template (inside the "admin" folder) <li><a href="#self#?fuseaction=#xfa.grantorGoalObj#">Grantor Goal/Objective</a></li> The code follows the same syntax as the other links in the template such as <li><a href="#self#?fuseaction=#xfa.grantTraining#">Grant Training</a></li> In the circuit.xml file in the admin folder--- following the existing syntax --- I've added the following line of code <set name="xfa.grantorGoalObj" value="grantorGoalObj.addSearch" /> Within the "admin" directory, I've added a subdirectory named "grantorGoalObj" In the parsed\admin.adminmenu.cfm template I've added <cfset xfa.grantorGoalObj.addSearch = "grantorGoalObj.addSearch" /> I think I'm missing something that's unique to fusebox 5.1. Can anyone advise what that might be? Thank you in advance. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:6972 Subscription: http://www.houseoffusion.com/groups/fusebox/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/fusebox/unsubscribe.cfm
