Solved

cfgrid not functioning after recent security fixes

Posted on 2013-05-15
4
315 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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

PROBLEM: How to add your own buttons to the bottom toolbar with paging info ( result count ). While creating a cfgrid, I ran into an issue where I wanted to embed my own custom buttons where the default ones ( insert / delete / etc… ) are for aes…
This is an updated version of a post made on my blog over 3 years ago. It is unfortunately, still very relevant as we continue to see both SQLi (SQL injection) and XSS (cross site scripting) attacks hitting some of the most recognizable website and …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

751 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