Solved

cfgrid not functioning after recent security fixes

Posted on 2013-05-15
4
311 Views
Last Modified: 2013-05-20
I cannot get my cfgrid to pass data along to the submit pages when using firefox or chrome and I can't get the grid to show up at all in IE8.  This all seems to have started after installing all the security patches earlier this month.  The test page I am using looks like this. I am running ColdFusion 9 and IIS7.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<cfform name="form" method="post" action="gridsubmit.cfm">

<cfgrid name="adddata"
           selectmode="edit"
         insert="yes"
             format="applet"
              >
   <cfgridcolumn header="number" name="pnum">
   <cfgridcolumn header="amount" name="pamt">
          </cfgrid>
          <cfinput type="submit" name="Submit" value="Submit">
          </cfform>
</body>
</html>

 and I get nothing on my submit page which is just a cfdump

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
  <cfoutput>
  <cfdump var="#Form#">
</cfoutput>
</body>
</html>
0
Comment
Question by:muellertj
  • 2
4 Comments
 
LVL 36

Accepted Solution

by:
SidFishes earned 500 total points
ID: 39168150
Check if you have multiple cfide directories (which is where the JS for cfgrid resides).  If you do it's possible that the patch updated the wrong one.

YOu also might try format="html" just to see if it makes any difference
0
 

Author Comment

by:muellertj
ID: 39168211
It was in fact the default scriptssrc directory.  After you look at this stuff for so long you sometimes miss the obvious.
0
 
LVL 36

Expert Comment

by:SidFishes
ID: 39168259
been there, done that, writing a book on it ;)

please remember to close the q
0
 
LVL 15

Expert Comment

by:Gurpreet Singh Randhawa
ID: 39181043
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Coldfusion to PHP conversion utility 4 151
cfpdfform and populate 14 63
CFC Lookup - When Not Found 5 65
Sending Text Messages 1 52
Today, I was working on some optimization and spam-stopping techniques when I encountered Ben Nadel's post to reduce spam feature using Math (http://www.bennadel.com/blog/197-How-I-Stop-Spammers-On-My-ColdFusion-Blog.htm). While this method is not o…
Recently while working on a project I got a very annoying cfdocument has no body error message. I had never seen this error before. So I checked the code. The code was pretty simple; it was Just showing me the cfdocumnt tag and inside that tag a …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now