From: jl on 1 Jul 2010 15:28 Howdy all, I am trying to use cftextarea but the richtext controls are not showing up. it looks like a big text box. In FF3 the toolbar does not show up but in IE8 at least the toolbar shows up. Any ideas are greatly appreciated. Here are the specs and what I think might be helpful - Windows 2003, IIS 6, Coldfusion 9 multi server install - CF installed in D:\apps\JRun4 - CFIDE is in D:\inetpub\wwwroot - fckeditor resides in D:\Inetpub\wwwroot\CFIDE\scripts\ajax\FCKeditor (and there actually is a mapping to it but I don't think it's required) - Here is the template code, very basic <cfoutput> test cftextarea<br> <cfform action="" method="post" name="inputForm"> <cftextarea name="xyz" enabled="no" richtext="yes" toolbar="Basic" rows="10" cols="90" >xyzzzz</cftextarea> <br> <input type="Submit"> </cfform> </cfoutput> IE8 gives the error "Coldfusion is undefined". FireFox3 gives me the same error but I can click the error to view the offending lines in the file. here is the code I see when clicking on the error link in the FireFox3 error console. Hope it is not too much or too little info. <html> <head><script type="text/javascript">/* <![CDATA[ */ _cf_loadingtexthtml="<img alt=' ' src='/CFIDE/scripts/ajax/resources/ cf/images/loading.gif'/>"; _cf_contextpath=""; _cf_ajaxscriptsrc="/CFIDE/scripts/ajax"; _cf_jsonprefix='//'; _cf_clientid='4748221A7FF1790532A084CA39E58AF7';/* ]]> */</ script><script type="text/javascript" src="/CFIDE/scripts/ajax/ messages/cfmessage.js"></script> <script type="text/javascript" src="/CFIDE/scripts/ajax/package/ cfajax.js"></script> <script type="text/javascript" src="/CFIDE/scripts/ajax/package/ cfrichtexteditor.js"></script> <script type="text/javascript" src="/CFIDE/scripts/ajax/FCKeditor/ fckeditor.js"></script> <script type="text/javascript" src="/CFIDE/scripts/cfform.js"></ script> <script type="text/javascript" src="/CFIDE/scripts/masks.js"></script> <title>test cftextarea</title> <script type="text/javascript">/* <![CDATA[ */ ColdFusion.Ajax.importTag('CFTEXTAREA');/* ]]> */</script> <script type="text/javascript">/* <![CDATA[ */ _cf_richtext_init_1278000684821=function() { ColdFusion.RichText.initialize('cf_textarea1278000684820', 'xyz', 'xyzzzz', '/CFIDE/scripts/ajax/FCKeditor/', null, null, null, null, null, null, false, 'Basic', null, null, 'en'); };ColdFusion.Event.registerOnLoad(_cf_richtext_init_1278000684821); /* ]]> */</script>
From: jl on 2 Jul 2010 15:45 Issue resolved. CFIDE is inC:\xyz\zyx\CFIDE. The website is D:\website. In cf administrator there was a mapping of CFIDE to the correct D:\xyz\zyx \cfide. Adding a mapping in CF administrator for /CFKeditor did not work. I added a virtual directory under the website that pointed D: \website\CFIDE to C:\xyz\zyx\CFIDE. That fixed it.
|
Pages: 1 Prev: Implimenting Akamai CCUAPI either w/ JSP or CF |