Skip to main content
Inspiring
February 25, 2010
Question

Ajax.importTag('CFLAYOUT-BORDER'

  • February 25, 2010
  • 1 reply
  • 650 views

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

This topic has been closed for replies.

1 reply

BKBK
Community Expert
Community Expert
February 27, 2010

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?