Skip to main content
Participant
August 26, 2010
Question

CFGRID not submitting data with CF 9.0.1

  • August 26, 2010
  • 3 replies
  • 1835 views

I have a CFgrid that was working fine in CF 9.0, but now we have  upgraded to 9.0.1, nothing comes up form (form.#GridName#.#Column1Name#)  after the form is submitted. I made up some test code (below) which i  have tried on a 9.0.1 server, which comes up with empty string in the  form, were as on a 9.0 it somes up with all the info for the selected  row. Any ideas on what the problem is and any fixes for it?

Cheers in advance

DUMP form: <cfdump var="#form#"><br>

<cfform action="#CGI.script_name#" method="post">

<cfset args = structNew()>
<cfset args.name   = "requestGrid">
<cfset args.format   = "html">
<cfset args.stripeRows  = true>
<cfset args.selectmode  = "row">
<cfset args.height   = "150">
<cfset arg.width   = "320">
<cfset args.autowidth  = "yes">
<cfset args.gridLines  = "yes">
<cfgrid attributeCollection="#args#">
<cfgridcolumn name="iRequestProductID"  display="false">
<cfgridcolumn name="iItemID"    display="false">
<cfgridcolumn name="iProductID"   display="false">
<cfgridcolumn name="productName"   header="Requested Product"  width="150" >
<cfgridcolumn name="ItemName"    header="Allocated Item"  width="100" dataAlign="center">
<cfgridcolumn name="sSerialNo"    header="Serial no"    width="100" dataAlign="center">

<cfgridrow data = "1,1,2,test1,aaa,123">
<cfgridrow data = "1,2,2,test2,bbb,234">
<cfgridrow data = "1,3,2,test3,ccc,345">
<cfgridrow data = "1,4,2,test4,ddd,456">
<cfgridrow data = "1,5,2,test5,eee,567">

</cfgrid>

<input type="Submit" name="allocate"  value="Allocate Item" style="color:ff0000" /
>

</cfform>
    This topic has been closed for replies.

    3 replies

    April 25, 2011

    So, I just stumbled upon this myself today when updating to 901.  Even applied the hotfix.

    Same issue.  My HTML cfgrids don't display any of the results of my query, even though the rest of the page operates just fine.

    These posts were back in August.  Any chance this has been addressed?  What to do???

    Participant
    May 4, 2011

    Unfortunetly no fix yet, it will be apparently fixed with a hotfix but havent heard when that will be happening.

    I ended up pulling the grids and putting drop downs in as a stopgap till they are fixed.

    Participant
    August 31, 2010

    From adobe:

    "Typically, in a grid, irrespective  of whether it is static or dynamic, the values of the selected row are preserved  on submit, thereby allowing access to the same in the action page. In 901, to  overcome a “corrupt grid “ error, we chose to assign the dynamic grid an empty  value since interactions in dynamic grid are CFC-driven by nature. It looks like  static grids too have got affected by this. This is a regression and we need to  fix this."

    Waiting to hear back from them about a fix, think they are planning to hotfix this, will post up any fixes/info i get

    Cheers

    S

    Participating Frequently
    August 31, 2010

    Thanks for the update. 

    Participating Frequently
    August 31, 2010

    Same problem here.