When I taught the Advanced Class, they did cover this and the code in the class always had the cfajaxproxy call at the top of the page, outside of anything else.
The other option that you have if you know Ext is to access the ColdFusion Ajax widgets directly through Javascript using the ColdFusion. Namespace On May 7, 2014 11:20 AM, "John Pullam" <[email protected]> wrote: > > I'm doing some testing on my new CF10 desktop system and have run into an > odd one that I can't figure out. > > This program has been running OK for several years but when I ran it in > CF10 it generated the error message "Unable to add text to HTML HEAD tag". > It did this at the end of the page after everything else looked fine. The > error line it contained was a cfjaxaproxy inside a CFWINDOW tag. > > The detailed explanation says "This is probably because you have already > used a CFFLUSH tag in your template or buffered output is turned off." I > haven't used a CFFLUSH and my administrator is set for 1024 buffering (the > default). When I comment out the CFWINDOW tag it runs fine. > > The CFWINDOW is this: > > <cfwindow name="Invoice" modal="true" resizable="false" title="Invoice > Details" > width="320" height="300" x="500" y="170" > bodyStyle="font-size:12px; font-family: verdana; color: black; > text-align: left;" > headerStyle="font-size:13px; font-weight:bold; > font-family:Verdana; background-color: ##003399; color: white; > text-align:left;"> > <cfajaximport tags="cfform, cfwindow" scriptsrc="/CFIDE/scripts"> > </cfwindow> > > I took out the cfajaximport but the error just moved to another line > number. > > Any suggestions? > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358580 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

