It sounds like to me, that you need to use the <cfajaximport tag="cfform">
on the calling page with the layout tag. Seems strange I know, but trust me
you'll thank me for it.


-- 
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 9015 8628
Mobile: 0404 998 273



-----Original Message-----
From: Dave Hatz [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 26 August 2008 6:00 AM
To: CF-Talk
Subject: Error with IE7 and CF8 ajax.js

I have been working on a project that uses the new AJAX components that come
with CF8 for the past 2 weeks.  I have been using FF3 and Firebug and all is
going along just dandy.  Turn it over to one of my QA people and they test
it on IE7 and no go.  

They get the following error : Unknown runtime error (line 448) (cfajax.js).
Using DebugBar in IE, I have the following line where the error is being
thrown: _54.innerHTML=_54._cf_innerHTML;  

I have narrowed it down to where it is happening.  I am using a nested
cflayoutarea for my tabs and 1 of the tabs uses a source param like so: 

<cflayoutarea title="tab 1.1" source="hello_world.cfm" />

And inside the hello_world.cfm source file I have a really basic page:

<cfform>
Hello World<br>
</cfform>

I have narrowed down the error to the CFFORM tag inside my source file.  If
I remove the CFFORM tags, she works great.

Now this is a simplified version of my application, but what I am trying to
show is that I am getting this js runtime error in IE7 but not in FF2 or
FF3.  I was hoping that someone can point me in the right direction on where
to look to get this resolved?  I am running CF8.01 and the ExtJS lib is
1.1.1.  I have included the code from my test below.

<cfajaximport
tags="cfform,cfgrid,cfinput-datefield,cfinput-autosuggest,cfwindow">

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd";>
<html>
<head>
<title>Leads</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<cfform format="html">
        <cflayout type="tab" name="maintabs">
                <cflayoutarea title="tab 1" style="height: 300px">
                        <br>
                  <cflayout type="tab" name="tabs">
                                <cflayoutarea title="tab 1.1"
source="hello_world.cfm" />
                                <cflayoutarea title="tab 1.2" />
                        </cflayout>
                </cflayoutarea> 
                <cflayoutarea title="tab 2" style="height: 300px" />
                <cflayoutarea title="tab 3" style="height: 300px" />
        </cflayout>     
</cfform>
</body>
</html>

hello_world.cfm:
<cfform>
Hello World<br>
</cfform>




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311551
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to