• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

cfajaxproxy and IE 7

Explorer ,
Jul 02, 2008 Jul 02, 2008

Copy link to clipboard

Copied

I am currently developing a CMS.
I am having a problem sending html code to a CFC using cfajaxproxy in IE7. The code works perfect in Firefox 3
and Safari. The error that I get in IE 7 is the following:

Error: The system cannot locate the resource specified.

The CF8 server is updated with updater 1. I think it is a CF Bug.

Here is a test page broken down to a very simple form:
http://cms.lbcc.edu/testephox.cfm

Here is the code:
<cfajaxproxy cfc="cmsadmin.components.webpage" jsclassname="getpageOBJ">

<html>
<head>
<script language="JavaScript" type="text/javascript">
var submitform = function(){

res = document.testform.ta.value;
var catID = 5;
var editorContent = new getpageOBJ();
editorContent.savepage(catID,res);
}
</script>
</head>
<body>

<form action="" method="post" name="testform">
<textarea name="ta" cols="80" rows="30">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#000000" class="tablestylefooter">
<tr>
<td width="100%" valign="top" colspan="3"><img src=" http://www.lbcc.edu/images/web_temp_images/spacer_top.gif" width="100%" height="10" alt="" /></td>
</tr>
<tr>
<td colspan="3" width="100%">
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td width="33%" align="left" class="footer"><span class="footertext1"><b>test</b></span><br /> <span class="footertext2"> 49asdfdsaf East Carson Street<br /> </span>
</td>
<td valign="top" width="33%" height="46">
<div align="center">
<span class="footertext3"><br />
ads </span><br /><a href=" http://acit.lbcc.edu/webcorner/index.cfm" title="Web Standards" class="linkcolor1">Web Standards</a></div>
</td> <td align="right" class="footer" width="33%" > <div align="right"><span class="footertext1"><b>adsfdsfsaf</b></span><br />
<span class="footertext2"> adsf adsfy<br />
Ladsf, CA 90806</span></div></td>

</tr>
</table>

</textarea>

</form>

<a href="javascript:void(0);" onClick="javascript:submitform();">Save Page</a>
</body>

</html>

-------------------------------------
Any suggestions would be appreciated.

Thanks.

Ron
TOPICS
Advanced techniques

Views

610

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Jul 03, 2008 Jul 03, 2008
Thanks to Raymond Camden I was able to get on the right path.

The cfajaxproxy was sending the editor information using "GET". If you are sending information
through the cfajaxproxy you are limited using "GET". All I had to do is add the following:

var editorContent = new getpageOBJ();
editorContent.setForm('testform');
editorContent.setHTTPMethod('POST');
editorContent.savepage(catID,res);

The setHTTPMethod('POST') worked perfectly!


Ron

Votes

Translate

Translate
Explorer ,
Jul 03, 2008 Jul 03, 2008

Copy link to clipboard

Copied

Thanks to Raymond Camden I was able to get on the right path.

The cfajaxproxy was sending the editor information using "GET". If you are sending information
through the cfajaxproxy you are limited using "GET". All I had to do is add the following:

var editorContent = new getpageOBJ();
editorContent.setForm('testform');
editorContent.setHTTPMethod('POST');
editorContent.savepage(catID,res);

The setHTTPMethod('POST') worked perfectly!


Ron

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 03, 2008 Jul 03, 2008

Copy link to clipboard

Copied

/

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 03, 2008 Jul 03, 2008

Copy link to clipboard

Copied

/

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 03, 2008 Jul 03, 2008

Copy link to clipboard

Copied

LATEST
/

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation