Solved

cfgrid not functioning after recent security fixes

Posted on 2013-05-15
4
317 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 16

Expert Comment

by:Gurpreet Singh Randhawa
ID: 39181043
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

PROBLEM:  How to open a cfwindow or run a function on double click of a cfgrid row. One of my clients wanted to be able to double click on a row item to get more detailed information about a transaction and to be able to modify the line items i…
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 …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

617 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