Copy link to clipboard
Copied
Hi guys,
i got the coldfusion is not define with javascript error: Ajax.importTag('CFLAYOUT-BORDER'. Please look at what i have below and tell me what i need to do?
<cfajaximport tags="cfform,cftree,cfgrid,cftooltip,cflayout-border,cflayout-tab">
<cflayout type="border" style="border-style:solid;height:460px;width:620px;">
<cflayoutarea name="nextframe" position="right" align="left" style="width:620px; height:300px;"
source ="nextpage.cfm?item={itemSelection}&month=#month#&year=#year#"/>
</cflayout>
Thanks
KT
Copy link to clipboard
Copied
What's your Coldfusion version? What's the location of your installation's /CFIDE/scripts/ directory?
I see nothing wrong with the code.The cfAjaxImport tag simply tells Coldfusion to do the imports
<script type="text/javascript">
ColdFusion.Ajax.importTag('CFFORM');
</script>
<script type="text/javascript">
ColdFusion.Ajax.importTag('CFTREE');
</script>
...
... and so on.
One possibility is that the error might be coming from the page nextpage.cfm. What Javascript does that page have?