I have the following code in a template called test.cfm:-
<cfform name="MoveDomain" method="post">
Accounts:-<cfselect bind="cfc:cfc.accounts.Function_SearchAccounts()" bindonload="true" value="str_AccountNumber" display="str_AccountNumber" name="AccountNumber" />
Package:-<cfselect bind="cfc:cfc.packages.Function_GetPackagesBind({AccountNumber})" bindonload="false" value="int_PackageID" display="str_FriendlyName" name="Package" />
</cfform>
and this code works fine on it's own with the relevant cfcs.
However when I put this page into a framework it doesnt work. Even stripping everything out.
My application.cfm has this in :-
<cfsilent>
<cfapplication name = "appname"
sessionmanagement = "yes"
sessiontimeout = "#createtimespan(0,1,0,0)#"
applicationtimeout = "#createtimespan(1,0,0,0)#"
setdomaincookies = "yes">
<!--- DSN for control panel --->
<cfset request.dsn = "dsnname">
</cfsilent>
<cfsetting showdebugoutput="yes">
<cfinclude template="layouts/lyt_header.cfm">
and the layouts/lyt_header.cfm is blank.
If I leave the lyt_header.cfm file empty then it all works however if I put even just a '1' in that file then the cfselects stop working and no data is displayed - just empty drop downs
Appending cfdebug on the url give me the following error:-
window:global: Uncaught SyntaxError: parseJSON (http://xxxx2/CFIDE/scripts/ajax/package/cfajax.js, line 804)
Any ideas?