Solved

cfgrid not functioning after recent security fixes

Posted on 2013-05-15
4
308 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:myselfrandhawa
ID: 39181043
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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…
CFGRID Custom Functionality Series -  Part 1 Hi Guys, I was once asked how it is possible to to add a hyperlink in the cfgrid and open the window to show the data. Now this is quite simple, I have to use the EXT JS library for this and I achiev…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

706 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

13 Experts available now in Live!

Get 1:1 Help Now