Skip to main content
Participant
December 4, 2006
Question

cfform is not working

  • December 4, 2006
  • 5 replies
  • 1097 views
I just started using ColdFusion + Tomcat. I am able to setting up everything and go the Art Galleria Tutorial working. However, when I am playing around with the Flash Forms Controls; Internet Explorer would not display the <cfinput> or <cfgrid> (Mozilla Firefox has no problem displaying them). It is able to use <cfdump ...> to display all the data. Does anybody know why?

Here is the code:


This topic has been closed for replies.

5 replies

Participating Frequently
April 15, 2008
My flash forms did not work with Internet Explorer. This was a BIG problem because I really like flash forms (Particularily, the date picker technology).
Funny, my coldfusion developer version on my developer pc (along with Dreamweaver did work) with Internet Explorer.
1. be sure you are up-to-date on patches
2. be sure your CF Developer works with internet explorer.
3. make sure the mapping on your server points to the ..\EIDE directory
4. copy the java script stuff from your developer pc ..\eide to your
servers ..\eide
5. For me, this was THE fix. I am a very happy camper.

Known Participant
February 12, 2007
Dmitriy:

The above proved link is broken. Do you have the working one?
December 5, 2006
Abinidi is right, you do need to have a virtual directory or link to CFIDE in order for CF to see that .js file. The technote regarding this is in progress and will be published soon. This is strictly an IE issue related to recent IE active content hotfix. Here is another technote that talks about those changes
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=9c09e3e6. You do not need to apply this hotfix unless you see the same behavior, but you do need to make sure that your CFIDE directory is visible to your web server using this path (from your source code) /cfusion/CFIDE/scripts/
shokuleiAuthor
Participant
December 4, 2006
It might have find the cfapplets.jar because when I view the source in the IE. It is like the following:
<script type="text/javascript" src="/cfusion/CFIDE/scripts/cfform.js"></script>
<script type="text/javascript" src="/cfusion/CFIDE/scripts/masks.js"></script>
</head>

<body bgcolor="#0066CC">

<script type="text/javascript" charset='utf-8' src='/cfusion/CFIDE/scripts/cfformhistory.js'></script>
<noscript>
<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'
id='thisform'
codebase=' http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,14,0'
width='100%'
height='500'>
<param name='src' value='/cfusion/CFIDE/gettingstarted/tutorial/1090448777.mxml.cfswf'/>
<param name='wMode' value='Window'/>
<param name='flashVars' value='%5F%5Fthisform%5Fcacheid=4F5630DE%2D1641%2D13BB%2D1D3142A6328A93AB&%5F%5FgridStarsPeople%5Fcacheid=4F5630CE%2D1641%2D13BB%2D1DFAEF128C2EEB89'/>
</object>
</noscript>
<script type="text/javascript" charset='utf-8' src='/CFIDE/scripts/CF_RunActiveContent.js'></script>
<script type="text/javascript" charset='utf-8'>
CF_RunContent('<object id=\'thisform\' classid=\'clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\' codebase=\' http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,14,0\' width=\'100%\' height=\'500\'> \n <param name=\'src\' value=\'/cfusion/CFIDE/gettingstarted/tutorial/1090448777.mxml.cfswf\'/>\n <param name=\'wMode\' value=\'Window\'/>\n <param name=\'flashVars\' value=\'historyUrl=%2Fcfusion%2FCFIDE%2Fscripts%2Fcfformhistory%2Ecfm%3F&lconid=" + lc_id +"&%5F%5Fthisform%5Fcacheid=4F5630DE%2D1641%2D13BB%2D1D3142A6328A93AB&%5F%5FgridStarsPeople%5Fcacheid=4F5630CE%2D1641%2D13BB%2D1DFAEF128C2EEB89\'/>\n</object>\n');
</script>
<script type="text/javascript" charset='utf-8'>
document.write("<br><iframe src='/cfusion/CFIDE/scripts/cfformhistory.cfm' name='_history' frameborder='0' scrolling='no' width='22' height='0'></iframe></br>");
</script>

And Mozilla Firefox's source as the following:
<script type="text/javascript" src="/cfusion/CFIDE/scripts/cfform.js"></script>
<script type="text/javascript" src="/cfusion/CFIDE/scripts/masks.js"></script>
</head>

<body bgcolor="#0066CC">

<script type="text/javascript" charset='utf-8' src='/cfusion/CFIDE/scripts/cfformhistory.js'></script>
<noscript>
<embed pluginspage=' http://www.macromedia.com/go/getflashplayer' id='thisform' src='/cfusion/CFIDE/gettingstarted/tutorial/1090448777.mxml.cfswf' width='100%' height='500' wMode='Window' flashVars='%5F%5Fthisform%5Fcacheid=4F755C3C%2D1641%2D13BB%2D1DEA87E417E9190D&%5F%5FgridStarsPeople%5Fcacheid=4F755C2C%2D1641%2D13BB%2D1D1529AD0BA98286' ></embed>
</noscript>
<script type="text/javascript" charset='utf-8'>
document.write("<embed pluginspage=' http://www.macromedia.com/go/getflashplayer' ");
document.write(" id='thisform' ");
document.write(" src='/cfusion/CFIDE/gettingstarted/tutorial/1090448777.mxml.cfswf' ");
document.write(" width='100%' ");
document.write(" height='500' ");
document.write(" wMode='Window' ");
document.write(" flashVars='historyUrl=%2Fcfusion%2FCFIDE%2Fscripts%2Fcfformhistory%2Ecfm%3F&lconid=" + lc_id +"&%5F%5Fthisform%5Fcacheid=4F755C3C%2D1641%2D13BB%2D1DEA87E417E9190D&%5F%5FgridStarsPeople%5Fcacheid=4F755C2C%2D1641%2D13BB%2D1D1529AD0BA98286' ></embed>");
</script>
<script type="text/javascript" charset='utf-8'>
document.write("<br><iframe src='/cfusion/CFIDE/scripts/cfformhistory.cfm' name='_history' frameborder='0' scrolling='no' width='22' height='0'></iframe></br> ");
</script>
shokuleiAuthor
Participant
December 4, 2006
I just relized there is a javascript error when rendering the Flash Forms Controls.
Error description:
Line: 82
Char: 1
Error: Object expected
Code: 0
URL: http://localhost:8080/cfusion/CFIDE/gettingstarted/tutorial/index.cfm

It could be one of the javascript comes with the ColdFusion does not meet the IE javascription standards.
Inspiring
December 4, 2006
My hunch is that it cannot find the cfapplets.jar file in the /cfide/scripts folder ..maybe needs an alias created?