Using the TAGS attribute

This page use a cfdiv to load a remote content. This content include the ability to create a window. The resources for managing the window are not already in the page and are not event loaded in the remote content so you need to laod them via cfajaximport using the tags attribute.

This page code

<cfajaximport tag="CFWINDOW"/>
<cfdiv bind="url:/RailoAjax/tests/cfajaximport/files/openwindow.cfm"/>

This content is loaded via ajax on page load.